# Find from vector of packages
find_remotes(pkg = c("attachment", "desc", "glue"))
# Find from Description file
dummypackage <- system.file("dummypackage", package = "attachment")
att_from_description(
path = file.path(dummypackage, "DESCRIPTION")) %>%
find_remotes()
if (FALSE) {
# For the current package directory
att_from_description() %>% find_remotes()
}
# \donttest{
# For a specific package name
find_remotes("attachment")
# Find remotes from all installed packages
find_remotes(list.dirs(.libPaths(), full.names = FALSE, recursive = FALSE))
# }
Run the code above in your browser using DataLab