Skip to content

Commit

Permalink
base_pkgs(): not using large .libPaths(), just .Library !
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaechler committed May 20, 2022
1 parent cfbf040 commit 197e357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/packages.R
Expand Up @@ -344,7 +344,7 @@ news2md = function(package, ..., output = 'NEWS.md', category = TRUE) {
#' @export
#' @examplesIf interactive()
#' xfun::base_pkgs()
base_pkgs = function() rownames(installed.packages(priority = 'base'))
base_pkgs = function() rownames(installed.packages(.Library, priority = 'base'))

# update one package (from source by default)
pkg_update_one = function(pkg, type = 'source') {
Expand Down

0 comments on commit 197e357

Please sign in to comment.