| Title: | Supporting Tools for Tada Science |
| Version: | 2024.1.0 |
| Description: | Suite of tools to support the practice of tada science. It includes an engaging package roulette that is designed to facilitate learning about new packages. |
| License: | MIT + file LICENSE |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.3.1.9000 |
| Imports: | cli, grDevices, purrr, utils |
| URL: | https://github.com/tadascience/tada, https://tada.tada.science/ |
| BugReports: | https://github.com/tadascience/tada/issues |
| NeedsCompilation: | no |
| Packaged: | 2024-01-31 07:50:14 UTC; romainfrancois |
| Author: | Romain François [aut, cre, cph] |
| Maintainer: | Romain François <romain@tada.science> |
| Repository: | CRAN |
| Date/Publication: | 2024-02-02 12:10:02 UTC |
package roulette
Description
Runs a packages roulette
Usage
pkg_roulette(
time = 4,
n = 100,
pkgs,
cols = sample(colors(), n, replace = TRUE)
)
Arguments
time |
How long in seconds the roulette runs. It will increasingly speed up. |
n |
number of packages in the roulette, packages are selected with |
pkgs |
Packages to show in the roulette. |
cols |
colors. The default is to pick |
Value
the last package, invisibly
Examples
pkg_roulette(
time = 2,
pkgs = sample(c("dplyr", "ggplot2", "data.table", "Rcpp", "arrow", "duckdb"))
)
## Not run:
# roulette of 100 available CRAN packages
pkg_roulette(time = 4, n = 100)
## End(Not run)