Most of the tesselle packages are distributed on CRAN. Development versions can be installed from GitHub using remotes
:
## Install a package from GitHub
# install.packages("remotes")
::install_github("tesselle/tabula") remotes
Thanks to the R-universe project powered by rOpenSci, tesselle has its own CRAN-like repository: tesselle.r-universe.dev. This repository allows to install all versions and non-CRAN packages (e.g. WIP packages and large data packages).
Install from the repository
If you want to download and install a package from the tesselle universe, simply use install.packages()
with the additional repository:
## Install a package from the 'tesselle' universe
install.packages("tabula", repos = "https://tesselle.r-universe.dev")
## Enable the repository globally
options(repos = c(tesselle = "https://tesselle.r-universe.dev",
CRAN = "https://cloud.r-project.org"))
## Install some packages
install.packages(c("tabula", "kairos"))
Use the repository
You can use this repository in your R package (if available, CRAN releases must be regarded as the preferred source). To do so, prepare the DESCRIPTION
file of your R package:
- List the package under
Suggests:
- Add the line
Additional_repositories: https://tesselle.r-universe.dev
- Test your package with
R CMD check --as-cran
Reuse
Citation
@online{frerebeau2021,
author = {Frerebeau, Nicolas},
title = {The Tesselle Universe},
date = {2021-08-15},
url = {https://www.tesselle.org/learn/universe},
langid = {en}
}