Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco De Lucia
RedModRphree
Commits
3d961987
Commit
3d961987
authored
Feb 21, 2020
by
Marco De Lucia
Browse files
Update README.md for installation with devtools::install_gitlab()
parent
aec2b4e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3d961987
...
@@ -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_git
lab("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_git
lab("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:
```
```
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment