You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I used install_tinytex() and had a typo in bundle, e.g., install_tinytex(bundle = "TinyTex-2"), where it should have been install_tinytex(bundle = "TinyTeX-2"). I think that adding the following to the source code for install_tinytex()
force = FALSE, dir = 'auto', version = 'daily',
bundle = c('TinyTeX-1', 'TinyTeX', 'TinyTeX-2', 'TinyTeX-0'),
repository = 'auto',
would help users out quite a bit. I realize this is not necessary and adds code to the repository for you to maintain just so users can be lazy so feel free to close this issue upon reading if you do not think it is a good idea. I am also happy to open a pull request with this feature if you desire help in implementing it. I see it as a benefit to users who read the help files for information because it would clearly list the available input arguments in args(install_tinytex) without you having to list them in the documentation for the input argument or users having to navigate to https://github.com/rstudio/tinytex-releases#releases to see them.
I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('tinytex'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/tinytex').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion! I think this is definitely worth improving! I'll think a little more and let you know. For now I'm not entirely sure if we should use match.arg(), because I guess there is still a tiny chance that we might have TinyTeX-3 or something in future, so I don't want to hard-code the possible bundle names.
It seems you are on Windows (I'll appreciate it if you could report your session info as indicated by the issue guide), and I think this problem only affects Windows users. Anyway, I just made a change to automatically fix the typo regardless of the spelling (i.e., TinyTeX can be case-insensitive in the bundle name). Thanks again!
Recently, I used
install_tinytex()
and had a typo in bundle, e.g.,install_tinytex(bundle = "TinyTex-2")
, where it should have beeninstall_tinytex(bundle = "TinyTeX-2")
. I think that adding the following to the source code forinstall_tinytex()
after changing the following line
tinytex/R/install.R
Line 45 in 584ce05
to something like
would help users out quite a bit. I realize this is not necessary and adds code to the repository for you to maintain just so users can be lazy so feel free to close this issue upon reading if you do not think it is a good idea. I am also happy to open a pull request with this feature if you desire help in implementing it. I see it as a benefit to users who read the help files for information because it would clearly list the available input arguments in
args(install_tinytex)
without you having to list them in the documentation for the input argument or users having to navigate to https://github.com/rstudio/tinytex-releases#releases to see them.Thanks for entertaining the idea.
By filing an issue to this repo, I promise that
xfun::session_info('tinytex')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/tinytex')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: