Skip to content

Commit

Permalink
don't try to automatically install missing packages by default when t…
Browse files Browse the repository at this point in the history
…he LaTeX distribution is not TinyTeX
  • Loading branch information
yihui committed Jul 18, 2024
1 parent 17ec9cc commit 7b59d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: tinytex
Type: Package
Title: Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents
Version: 0.51.1
Version: 0.51.2
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre", "cph"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
person(given = "Posit Software, PBC", role = c("cph", "fnd")),
Expand Down
2 changes: 1 addition & 1 deletion R/tlmgr.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ need_add_path = function() {

is_writable = function(p) file.access(p, 2) == 0

tlmgr_writable = function() is_writable(Sys.which('tlmgr'))
tlmgr_writable = function() is_tinytex() && is_writable(Sys.which('tlmgr'))

#' Check if certain LaTeX packages are installed
#'
Expand Down

0 comments on commit 7b59d8f

Please sign in to comment.