Skip to content

Commit

Permalink
new tinyverse badhe url
Browse files Browse the repository at this point in the history
  • Loading branch information
Polkas committed Sep 8, 2024
1 parent abf71c1 commit bda0066
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 22 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pacs
Title: Supplementary Tools for R Packages Developers
Version: 0.5.1
Version: 0.5.1.9000
Authors@R:
person(given = "Maciej",
family = "Nasinski",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# pacs 0.5.1.9000

* update the tinyverse vignette with a new badge url.

# pacs 0.5.1

* due to instability issues with "crandb", the lifeduration and timemachine functions have been adjusted to fetch data directly from CRAN by default.
Expand Down
42 changes: 21 additions & 21 deletions vignettes/tinyverse.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ Summing up, each badge constraint:

`https://tinyverse.netlify.app/`

`https://tinyverse.netlify.com/badge/<package>`
`https://tinyverse.netlify.app/badge/<package>`

Examples:

dplyr:
[![](https://tinyverse.netlify.com/badge/dplyr)](https://CRAN.R-project.org/package=dplyr)
[![](https://tinyverse.netlify.app/badge/dplyr)](https://CRAN.R-project.org/package=dplyr)

miceFast:
[![](https://tinyverse.netlify.com/badge/miceFast)](https://CRAN.R-project.org/package=miceFast)
[![](https://tinyverse.netlify.app/badge/miceFast)](https://CRAN.R-project.org/package=miceFast)

* badges are reevaluated daily.

Expand All @@ -70,22 +70,22 @@ Even `tidyverse` looks to go toward `tinyverse` if we check their lower-level pa

The core `tidyverse` packages:

`ggplot2`: [![](https://tinyverse.netlify.com/badge/ggplot2)](https://CRAN.R-project.org/package=ggplot2)
`tibble`: [![](https://tinyverse.netlify.com/badge/tibble)](https://CRAN.R-project.org/package=tibble)
`tidyr`: [![](https://tinyverse.netlify.com/badge/tidyr)](https://CRAN.R-project.org/package=tidyr)
`readr`: [![](https://tinyverse.netlify.com/badge/readr)](https://CRAN.R-project.org/package=readr)
`purrr`: [![](https://tinyverse.netlify.com/badge/purrr)](https://CRAN.R-project.org/package=purrr)
`dplyr`: [![](https://tinyverse.netlify.com/badge/dplyr)](https://CRAN.R-project.org/package=dplyr)
`stringr`: [![](https://tinyverse.netlify.com/badge/stringr)](https://CRAN.R-project.org/package=stringr)
`forcats`: [![](https://tinyverse.netlify.com/badge/forcats)](https://CRAN.R-project.org/package=forcats)
`ggplot2`: [![](https://tinyverse.netlify.app/badge/ggplot2)](https://CRAN.R-project.org/package=ggplot2)
`tibble`: [![](https://tinyverse.netlify.app/badge/tibble)](https://CRAN.R-project.org/package=tibble)
`tidyr`: [![](https://tinyverse.netlify.app/badge/tidyr)](https://CRAN.R-project.org/package=tidyr)
`readr`: [![](https://tinyverse.netlify.app/badge/readr)](https://CRAN.R-project.org/package=readr)
`purrr`: [![](https://tinyverse.netlify.app/badge/purrr)](https://CRAN.R-project.org/package=purrr)
`dplyr`: [![](https://tinyverse.netlify.app/badge/dplyr)](https://CRAN.R-project.org/package=dplyr)
`stringr`: [![](https://tinyverse.netlify.app/badge/stringr)](https://CRAN.R-project.org/package=stringr)
`forcats`: [![](https://tinyverse.netlify.app/badge/forcats)](https://CRAN.R-project.org/package=forcats)

Examples of random `tinyverse` packages, bright green or green badges:

`Rcpp`: [![](https://tinyverse.netlify.com/badge/Rcpp)](https://CRAN.R-project.org/package=Rcpp)
`rlang`: [![](https://tinyverse.netlify.com/badge/rlang)](https://CRAN.R-project.org/package=rlang)
`renv`: [![](https://tinyverse.netlify.com/badge/renv)](https://CRAN.R-project.org/package=renv)
`cat2cat`: [![](https://tinyverse.netlify.com/badge/cat2cat)](https://CRAN.R-project.org/package=cat2cat)
`runner`: [![](https://tinyverse.netlify.com/badge/runner)](https://CRAN.R-project.org/package=runner)
`Rcpp`: [![](https://tinyverse.netlify.app/badge/Rcpp)](https://CRAN.R-project.org/package=Rcpp)
`rlang`: [![](https://tinyverse.netlify.app/badge/rlang)](https://CRAN.R-project.org/package=rlang)
`renv`: [![](https://tinyverse.netlify.app/badge/renv)](https://CRAN.R-project.org/package=renv)
`cat2cat`: [![](https://tinyverse.netlify.app/badge/cat2cat)](https://CRAN.R-project.org/package=cat2cat)
`runner`: [![](https://tinyverse.netlify.app/badge/runner)](https://CRAN.R-project.org/package=runner)

## R package Dependencies

Expand Down Expand Up @@ -170,10 +170,10 @@ When `tinytest` and `testthat` are in the Suggests field of another package (e.g
Dependencies from the end user perspective:

`tinytest`:
[![](https://tinyverse.netlify.com/badge/tinytest)](https://CRAN.R-project.org/package=tinytest)
[![](https://tinyverse.netlify.app/badge/tinytest)](https://CRAN.R-project.org/package=tinytest)

`testthat`:
[![](https://tinyverse.netlify.com/badge/testthat)](https://CRAN.R-project.org/package=testthat)
[![](https://tinyverse.netlify.app/badge/testthat)](https://CRAN.R-project.org/package=testthat)

## How to reduce the number of dependencies

Expand All @@ -199,10 +199,10 @@ func <- function() {
```

`parsnip`:
[![](https://tinyverse.netlify.com/badge/parsnip)](https://CRAN.R-project.org/package=parsnip)
[![](https://tinyverse.netlify.app/badge/parsnip)](https://CRAN.R-project.org/package=parsnip)

`caret`:
[![](https://tinyverse.netlify.com/badge/testthat)](https://CRAN.R-project.org/package=testthat)
[![](https://tinyverse.netlify.app/badge/testthat)](https://CRAN.R-project.org/package=testthat)

`parsnip` and `caret` packages are examples that apply this strategy.
It could be quickly confirmed by looking for `requireNamespace` phrase with github search, from each repo.
Expand Down Expand Up @@ -257,7 +257,7 @@ cat(pacs::pac_true_size("devtools", exclude_joint = 1L) / 10**6, "MB", "\n")

It is crucial to check the number of dependencies too:

[![](https://tinyverse.netlify.com/badge/devtools)](https://CRAN.R-project.org/package=devtools)
[![](https://tinyverse.netlify.app/badge/devtools)](https://CRAN.R-project.org/package=devtools)

```r
# 70 recursive dependencies
Expand Down

0 comments on commit bda0066

Please sign in to comment.