Find a package's code

code_where(package_name, package_type = "cran")

Arguments

package_name

The name of the package

package_type

One of "cran", "bioc", or "github"

Value

Path to where code can be found or NULL

Examples

code_where("dplyr")
#> [1] "https://github.com/tidyverse/dplyr"