Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Polkas/pacs
Supplementary R packages utils
https://github.com/Polkas/pacs
bioconductor cran dependencies library lifeduration r r-package renv shiny tools utils
Last synced: 3 months ago
JSON representation
Supplementary R packages utils
- Host: GitHub
- URL: https://github.com/Polkas/pacs
- Owner: Polkas
- License: gpl-3.0
- Created: 2021-06-25T22:40:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-18T20:54:27.000Z (about 1 year ago)
- Last Synced: 2024-07-27T15:46:31.536Z (3 months ago)
- Topics: bioconductor, cran, dependencies, library, lifeduration, r, r-package, renv, shiny, tools, utils
- Language: R
- Homepage: https://polkas.github.io/pacs
- Size: 8.77 MB
- Stars: 25
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - Polkas/pacs - Supplementary R packages utils (R)
README
# pacs
[![R build status](https://github.com/polkas/pacs/workflows/R-CMD-check/badge.svg)](https://github.com/polkas/pacs/actions)
[![CRAN](https://www.r-pkg.org/badges/version/pacs)](https://cran.r-project.org/package=pacs)
[![codecov](https://codecov.io/gh/Polkas/pacs/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Polkas/pacs)[**For more information please visit the pacs website**](https://polkas.github.io/pacs/).
[**Functions Reference**](https://polkas.github.io/pacs/reference/index.html)
A set of tools that make life easier for developers and maintainers of R packages.
- Validating the library, packages and `renv` lock files.
- Exploring complexity of a certain package like evaluating its size in bytes with dependencies.
- The shiny app complexity could be explored too.
- Assessing the life duration of a specific package version.
- Checking a CRAN package check page status for any errors and warnings.
- Retrieving a DESCRIPTION or NAMESPACE file for any package version.
- Comparing DESCRIPTION or NAMESPACE files between different package versions.
- Getting a list of all releases for a specific package.
- The Bioconductor is partly supported.**An Internet connection is required to take full advantage of most of the features.**
**Almost all calls which requiring an Internet connection are cached (for 30 minutes) by the `memoise` package, so the second invocation of the same command (and arguments) is immediate. Restart the R session if you want to clear cached data.**
## Installation
Development version:
```r
# install.packages("remotes")
remotes::install_github("polkas/pacs")
```CRAN:
```r
install.packages("pacs")
```## Examples
For more examples with descriptions please visit [**the walk-through vignette**](https://polkas.github.io/pacs/articles/GettingStarted.html).
Validate the library:
```r
pacs::lib_validate(
checkred = list(
scope = c("ERROR", "FAIL"),
# by default all flavors
flavors = NULL
)
)
```All package check statuses for all CRAN servers:
```r
pacs::checked_packages()
```All CRAN releases of a package:
```r
pacs::pac_timemachine("dplyr")
```Compare package DESCRIPTION file dependencies between versions:
```r
pacs::pac_compare_versions("shiny", "1.0.0", "1.5.0")
```Looking for heavy dependencies:
```r
pacs::pac_deps_heavy("caret")
```