Proposes values for Remotes field for DESCRIPTION file based on your installation

find_remotes(pkg)

Arguments

pkg

Character. Packages to test for potential non-CRAN installation

Value

List of non-CRAN packages and code to add in Remotes field in DESCRIPTION

Examples

head(find_remotes(installed.packages()[,1]))
#> $attachment #> local maybe ? #> NA #> #> $thinkrtemplate #> [1] "thinkr-open/thinkrtemplate" #>
if (FALSE) { find_remotes(pkg = c("attachment", "desc", "golem")) # Find from Description att_from_description() %>% find_remotes() }