cranlike(7) — dynamic R package server

SYNOPSIS

GET
  /man
  /src/contrib
  /bin/windows/contrib
  /bin/macosx/contrib

GET
  /stats/checks
  /stats/descriptions
  /stats/maintainers
  /stats/sysdeps

GET, PUT*, DELETE*
  /packages/<package>/<version>/<type>

* may require authentication

DESCRIPTION

cranlike is a package server providing a simple API for storing R packages and hosting cran-like repositories.

Packages are published in the repository of a particular user or organization, and the server automatically generates the required repository index files from the database. This allows R users to install packages from a particular author or organization using only the repo parameter in install.packages().

The implementation is designed to be fast and extensible, with the potential expose additional filters or services, and scale up to large repositories. The cranlike server itself does not handle auth, you have to configure this in your web server.

API

EXAMPLES

# install a package from 'ropensci' universe
install.packages("gert", repos = "https://ropensci.r-universe.dev")