Skip to content

Commit

Permalink
Simplify installation of R dev deps (#1930)
Browse files Browse the repository at this point in the history
Co-authored-by: Valeriu Predoi <valeriu.predoi@gmail.com>
  • Loading branch information
bouweandela and valeriupredoi committed Jan 12, 2021
1 parent 4f75057 commit 3898ad7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 60 deletions.
11 changes: 3 additions & 8 deletions doc/sphinx/source/community/introduction.rst
Expand Up @@ -52,16 +52,11 @@ To install in development mode, follow these instructions.
are installing behind a proxy that does not trust the usual pip-urls
you can declare them with the option ``--trusted-host``, e.g.
``pip install --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org -e .[develop]``
- If you want to use R diagnostics, run
``esmvaltool install R`` to install the R
dependencies. Note that if you only want to run the lint test for R
scripts you will have to install the ``lintr`` package. You can do
that by running ``Rscript esmvaltool/install/R/setup_devutils.R``.
- If you want to use R diagnostics, run ``esmvaltool install R`` to install
the R dependencies.
- If you want to use Julia diagnostics, first install Julia as
described below in section “Installing Julia”, then run
``esmvaltool install Julia`` to install the Julia
dependencies. Install Julia dependencies after R dependencies if you
plan to use both.
``esmvaltool install Julia`` to install the Julia dependencies.
- Test that your installation was successful by running
``esmvaltool -h``.
- If you log into a cluster or other device via ``ssh`` and your origin
Expand Down
5 changes: 5 additions & 0 deletions environment.yml
Expand Up @@ -23,4 +23,9 @@ dependencies:
# Multi language support:
- ncl>=6.5.0 # this should always install 6.6.0 though
- r-base>=3.5
# R packages needed for development
- r-docopt
- r-lintr
- r-styler
- r-yaml
- r-udunits2 # needed by the docker build
52 changes: 0 additions & 52 deletions esmvaltool/install/R/setup_devutils.R

This file was deleted.

0 comments on commit 3898ad7

Please sign in to comment.