repo2docker/tests/r/simple
YuviPanda 2819a6d1b4 Upgrade simple to a newer r snapshot
2020 had an older version of testthat that ran into issues

> # Error in get(genname, envir = envir) : object 'testthat_print' not found
2022-06-22 08:49:28 -07:00
..
README.rst
install.R
runtime.txt Upgrade simple to a newer r snapshot 2022-06-22 08:49:28 -07:00
verify

README.rst

R environment - install.R
-------------------------

You can install an R, RStudio, and IRKernel environment with the following
two files:

*  A ``runtime.txt`` file with the text::

       r-YYYY-MM-DD

   Where 'YYYY', 'MM' and 'DD' refer to a specific
   date snapshot of https://mran.microsoft.com/timemachine
   from which libraries will be installed.
*  An optional ``install.R`` file that will be executed by an R installation
   at build time. It can be used for installing packages from MRAN or GitHub.

The presence of ``runtime.txt`` is enough to set up R, RStudio, and IRKernel. It
uses the ``r-base`` package from the Ubuntu apt repositories to install
R itself.