analythium / openfaas-rstats-templates

OpenFaaS templates for R
MIT License
20 stars 1 forks source link

Dependency management for rstats faas #5

Closed psolymos closed 4 years ago

psolymos commented 4 years ago

Options:

  1. requirements.txt file. This is recognized as Python dependency by GitHub and is misleading. But the idea (1 dependency per line) is a good one, should be called PACKAGES or DEPENDENCIES
  2. Use DESCRIPTION file instead: this is again misleading, this is not a package, and distinctions such as Depends, Imports, Remotes does not make much sense.

The install.R installs dependencies as specified in, one dependency per line, separator is new line.

CRAN packages can be specified by their names, or as name@version.

Remotes can be defined according to specs in the {remotes} package.

psolymos commented 4 years ago

We will use PACKAGES.