Commit 3d961987 authored by Marco De Lucia's avatar Marco De Lucia
Browse files

Update README.md for installation with devtools::install_gitlab()

parent aec2b4e3
...@@ -10,10 +10,8 @@ install RedModRphree directly from this repository: ...@@ -10,10 +10,8 @@ install RedModRphree directly from this repository:
``` ```
library(devtools) library(devtools)
devtools::install_git("https://gitext.gfz-potsdam.de/delucia/RedModRphree.git") install_gitlab("delucia/RedModRphree", host="https://gitext.gfz-potsdam.de")
``` ```
To install in a specific directory (which R must know about, e.g., To install in a specific directory (which R must know about, e.g.,
specifying the variable R_LIBS_USER in the file `$HOME/.Renviron`: specifying the variable R_LIBS_USER in the file `$HOME/.Renviron`:
...@@ -22,13 +20,12 @@ R_LIBS_USER="~/MyRPackageDir" ...@@ -22,13 +20,12 @@ R_LIBS_USER="~/MyRPackageDir"
``` ```
then: then:
``` ```
devtools::install_git("https://gitext.gfz-potsdam.de/delucia/RedModRphree.git", lib="~/MyRPackageDir") devtools::install_gitlab("delucia/RedModRphree", host="https://gitext.gfz-potsdam.de", lib="~/MyRPackageDir")
``` ```
This should (hopefully) take care of all dependencies. This should (hopefully) take care of all dependencies.
### Usage ### ### Usage ###
In your R session, just type: In your R session, just type:
``` ```
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment