ascribe scans R projects for package and function use. Other packages can use the results to generate citations without maintaining their own parser.
You can install the development version of ascribe from GitHub with:
# install.packages("pak")
pak::pak("VisruthSK/ascribe")
Build a package universe, then cite the code that uses it:
library(ascribe)
universe <- build_universe_data("stats")
usage <- scan_usage(path, universe)
cite_usage(usage)
lapply(x, mean) and purrr::map(x, sd).{r}. Plain fenced blocks with an r info string are skipped.library() does not establish attachment state for another file.package_citations for packages that are unavailable locally.