A wrapper around usethis::browse_package()
that aims at identifying the
package website. It looks up for a link in DESCRIPTION.
Usage
browse_pkg(
package = NULL,
open = FALSE,
news_only = FALSE,
ref_only = FALSE,
vignettes_show = TRUE
)
Arguments
- package
Name of package. If
NULL
, the active project is targeted, regardless of whether it's an R package or not. If"<org>/<repo>"
is supplied, will jump to GitHub homepage.- open
Whether to open the pkgdown site in the browser.
- news_only
Should only the news link be shown?
- ref_only
Should only the reference index be show?
- vignettes_show
Should the vignette information be displayed on console?