https://github.com/sellorm/cranalysis
CRAN dependency extraction tool
https://github.com/sellorm/cranalysis
cran r rpackage rstats
Last synced: over 1 year ago
JSON representation
CRAN dependency extraction tool
- Host: GitHub
- URL: https://github.com/sellorm/cranalysis
- Owner: sellorm
- License: other
- Created: 2019-03-19T01:02:27.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-11-05T10:36:16.000Z (over 4 years ago)
- Last Synced: 2025-01-05T12:12:38.451Z (over 1 year ago)
- Topics: cran, r, rpackage, rstats
- Language: R
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cranalysis
[](https://www.tidyverse.org/lifecycle/#experimental)
## Overview
The goal of cranalysis is to provide a few handy functions to analyse CRAN's PACKAGES file. Initially this is focused on providing a list of package dependencies for a given list of packages. This was hastily thrown together and needs quite a lot more work to make it robust and introduce some tests etc.
## Installation
You can install the development version of cranalysis from GitHub with:
``` r
# install.packages("devtools")
devtools::install_github("sellorm/cranalysis")
```
## Example
Update the cached PACKAGES.rds file:
``` r
update_cache()
```
Then get a list of imports for a given list of packages:
``` r
get_imports(c("plumber", "rmarkdown", "shiny"))
```