Skip to content

Commit

Permalink
Check suggested packages in devtools rather than pkgload
Browse files Browse the repository at this point in the history
Previously the default was checking them in pkgload, which doesn't
really make sense 🙈

Fixes r-lib#1603, r-lib#1604
  • Loading branch information
jimhester committed Sep 5, 2017
1 parent c9ca63a commit a0c8d73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 4 additions & 1 deletion R/pkgload.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ load_all <- function(path = ".", reset = TRUE, recompile = FALSE,
pkgload::unload

#' @importFrom pkgload check_suggested
pkgload::check_suggested
# This is just check_suggested from pkgload with a different default path
check_suggested <- function(package, version = NULL, compare = NA, path = pkgload::inst("devtools")) {
pkgload::check_suggested(package = package, version = version, compare = compare, path = path)
}
4 changes: 1 addition & 3 deletions man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0c8d73

Please sign in to comment.