knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "tools/readme/README-"
)

lifecycle Travis build status codecov

knitr::opts_chunk$set(echo = TRUE)

The goal of pkginspector is to inspect and better understand the internal structure of an R package, with focus on facilitating package reviews and rOpenSci onboarding.

Installation

You can install pkginspector from GitHub with:

# install.packages("devtools")
devtools::install_github("ropenscilabs/pkginspector")

Example

The inspected package must be stored locally and installed.

library(pkginspector)

path <- pkginspector_example("viridisLite")
knitr::kable(rev_fn_summary(path))
rev_args(path)

corrplot::corrplot(rev_args(path)$arg_map, method = 'square', cl.pos = "n")

Information



ropenscilabs/pkginspector documentation built on May 15, 2022, 5:30 a.m.