Skip to content

Commit

Permalink
Allow 'standard' and 'any' remote types
Browse files Browse the repository at this point in the history
In package2remote when scanning the installed packages.
pak creates these remote types.
  • Loading branch information
gaborcsardi committed Mar 17, 2024
1 parent c023eda commit b687aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/install-remote.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ package2remote <- function(name, lib = .libPaths(), repos = getOption("repos"),
sha = NA_character_))
}

if (is.null(x$RemoteType) || x$RemoteType == "cran") {
if (is.null(x$RemoteType) || x$RemoteType %in% c("cran", "standard", "any")) {

# Packages installed with install.packages() or locally without remotes
return(remote("cran",
Expand Down

0 comments on commit b687aa2

Please sign in to comment.