diff options
Diffstat (limited to 'lib/spack/docs/build_systems/rpackage.rst')
-rw-r--r-- | lib/spack/docs/build_systems/rpackage.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/docs/build_systems/rpackage.rst b/lib/spack/docs/build_systems/rpackage.rst index ebf2270e8e..567b79a863 100644 --- a/lib/spack/docs/build_systems/rpackage.rst +++ b/lib/spack/docs/build_systems/rpackage.rst @@ -193,10 +193,10 @@ Build system dependencies As an extension of the R ecosystem, your package will obviously depend on R to build and run. Normally, we would use ``depends_on`` to express -this, but for R packages, we use ``extends``. ``extends`` is similar to -``depends_on``, but adds an additional feature: the ability to "activate" -the package by symlinking it to the R installation directory. Since -every R package needs this, the ``RPackage`` base class contains: +this, but for R packages, we use ``extends``. This implies a special +dependency on R, which is used to set environment variables such as +``R_LIBS`` uniformly. Since every R package needs this, the ``RPackage`` +base class contains: .. code-block:: python |