Skip to content

Commit

Permalink
sysreqs_fix_installed() returns result invisibly
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 29, 2023
1 parent b02fdfb commit 38c049c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pak (development version)

* pak now required R >= 3.5.0.
* pak now requires R >= 3.5.0.

* Many improvements in system requirements support:
- New functions:
Expand Down
4 changes: 2 additions & 2 deletions R/sysreqs.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ sysreqs_check_installed <- function(packages = NULL,
sysreqs_fix_installed <- function(packages = NULL,
library = .libPaths()[1]) {
load_extra("pillar")
remote(
invisible(remote(
function(...) {
ret <- pkgdepends::sysreqs_fix_installed(...)
asNamespace("pak")$pak_preformat(ret)
},
list(packages = packages, library = library)
)
))
}

#' Calculate system requirements of one of more packages
Expand Down

0 comments on commit 38c049c

Please sign in to comment.