A skeleton for R packages + Docker / Pkgdown / Pages aimed for Bioconductor
Having trouble getting your package to build?
docker build --tag montilab/rpkgs:latest .
Does it build successfully?
docker run -i -t montilab/rpkgs:latest /bin/bash
R
library(rpkgs)
data(example)
print(example)
# Install this tool for local testing
brew install nektos/tap/act
# List the actions
act -l
# Run the default (`push`) event:
act
Please visit https://montilab.github.io/rpkgs/
We recommend the latest version of R (>= 4.0.0) but rpkgs currently requires R (>= 3.6.0) to be installed.
Install the development version of the package from Github.
devtools::install_github("montilab/rpkgs")
library(rpkgs)
data(example)
print(example)
#> [1] 1 2 5 10 25
cols <- colorize(example)
print(cols)
#> [1] "#0D0887FF" "#280592FF" "#5D01A6FF" "#A92395FF" "#F0F921FF"
visualize(cols)
citation("rpkgs")
#>
#> To cite rpkgs in publications use:
#>
#> A Skeleton R Package (2020) Monti Lab.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Article{,
#> title = {A Skeleton R Package},
#> author = {Anthony Federico},
#> journal = {Monti Lab},
#> year = {2020},
#> volume = {1},
#> number = {1},
#> pages = {1-2},
#> url = {https://github.com/montilab/rpkgs},
#> }