Package 'codewhere'

Title: Find the Location of an R Package's Code
Description: Find the location of the code for an R package based on the package's name or string representation. Checks on CRAN based on information in the URL field or BioConductor and GitHub based on constructing a URL, and verifies all paths via testing for a successful response. This can be useful when automating static code analysis based on a list of package names, and similar tasks.
Authors: Nic Crane [aut, cre, cph]
Maintainer: Nic Crane <[email protected]>
License: MIT + file LICENSE
Version: 0.1.1.9000
Built: 2024-11-02 04:27:21 UTC
Source: https://github.com/thisisnic/codewhere

Help Index


Find a package's code

Description

Find a package's code

Usage

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")