knitr::opts_chunk$set(message=FALSE, comment="#>")
devtools::load_all(".")

rpkgs

A skeleton for R packages + Docker / Pkgdown / Pages aimed for Bioconductor

.github/workflows/build.yaml

Halp

Having trouble getting your package to build?

Build your Dockerfile locally

docker build --tag montilab/rpkgs:latest .

Does it build successfully?

See if the package is loadable on the image

docker run -i -t montilab/rpkgs:latest /bin/bash
R
library(rpkgs)
data(example)
print(example)

Build your github workflow file slowly and locally

# Install this tool for local testing
brew install nektos/tap/act

# List the actions
act -l

# Run the default (`push`) event:
act

Documentation

Please visit https://montilab.github.io/rpkgs/

Requirements

We recommend the latest version of R (>= 4.0.0) but rpkgs currently requires R (>= 3.6.0) to be installed.

Installation

Install the development version of the package from Github.

devtools::install_github("montilab/rpkgs")

Usage

library(rpkgs)
data(example)
print(example)
cols <- colorize(example)
print(cols)
visualize(cols)
citation("rpkgs")


montilab/rpkgs documentation built on April 8, 2022, 6:03 a.m.