Skip to content

Commit

Permalink
Update dev pkgdepends
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Apr 23, 2024
1 parent d6e7881 commit 1612c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/library/pkgdepends/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Config/testthat/edition: 3
Encoding: UTF-8
RoxygenNote: 7.3.1.9000
NeedsCompilation: no
Packaged: 2024-04-05 10:14:55 UTC; gaborcsardi
Packaged: 2024-04-23 21:39:51 UTC; gaborcsardi
Author: Gábor Csárdi [aut, cre],
Posit Software, PBC [cph, fnd]
Maintainer: Gábor Csárdi <[email protected]>
9 changes: 1 addition & 8 deletions src/library/pkgdepends/R/install-plan.R
Original file line number Diff line number Diff line change
Expand Up @@ -358,14 +358,7 @@ make_build_process <- function(path, pkg, tmp_dir, lib, vignettes,
if (is_windows()) {
zip_tool_path <- asNamespace("zip")$get_tool("zip")
rtools <- get_rtools_path()
withr_local_path(
paste0(
dirname(zip_tool_path),
.Platform$path.sep,
if (!is.null(rtools)) paste0(rtools, .Platform$path.sep),
Sys.getenv("PATH")
)
)
withr_local_path(c(dirname(zip_tool_path), rtools))
}
# nocov end

Expand Down

0 comments on commit 1612c46

Please sign in to comment.