-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check_installed() returns FALSE for the entire vector when a single package is missing #404
Comments
I am not quite sure what happens here. This works for me. tex_package <- c(
"babel", "carlisle", "dvips", "colortbl", "emptypage", "environ", "eso",
"eurosym", "fancyhdr", "footmisc", "grfext", "helvetic", "hyphen-dutch",
"hyphen-french", "inconsolata", "lastpage", "makecell", "marginnote",
"mdframed", "needspace", "oberdiek", "parskip", "pdflscape", "pdfpages",
"placeins", "tabu", "tex", "times", "threeparttable", "threeparttablex",
"titlesec", "tocloft", "trimspaces", "ulem", "upquote", "varwidth",
"wrapfig", "zref"
)
tinytex::check_installed(tex_package)
#> [1] TRUE FALSE TRUE TRUE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE
#> [13] FALSE FALSE TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE
#> [25] FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE FALSE TRUE
#> [37] TRUE FALSE The code is quite simple Lines 160 to 167 in 484d53c
I believe this is because of the
but if it failles, we silently returns Can you check the command in terminal on your side ? Does this happens again or could it have been temporary ? |
This is a bug. I just fixed it. Thanks for the report! |
The
sapply
yield to correct output but is much slower.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: