Proposes values for Remotes field for DESCRIPTION file based on your installation
Character. Packages to test for potential non-CRAN installation
List of all non-CRAN packages and code to add in Remotes field in DESCRIPTION. NULL otherwise.
# 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() ## Not run: # For the current package directory att_from_description() %>% find_remotes() ## End(Not run) # For a specific package name find_remotes("attachment") # Find remotes from all installed packages find_remotes(list.dirs(.libPaths(), full.names = FALSE, recursive = FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.