diff --git a/README.md b/README.md index 84226a7d84ef5562bef6c68af698f3a52cf35f3b..4c12bb9a5ae22fd09667880bd98d8255c0a9b6c5 100644 --- a/README.md +++ b/README.md @@ -37,36 +37,15 @@ In this context, the development of **floodam.data** has received the support of You can download and install it from this archive: [www.floodam.org/library/floodam.data_0.9.43.0.tar.gz](http://www.floodam.org/library/floodam.data_0.9.43.0.tar.gz). -For instance, in a linux environment, you can use those bash instructions: - -``` -# without devtools -wget www.floodam.org/library/floodam.data_0.9.43.0.tar.gz -R -e "install.packages(pkgs = 'floodam.data_0.9.43.0.tar.gz', type = 'source', repos = NULL, dependencies = TRUE)" -rm floodam.data_0.9.43.0.tar.gz - -# with devtools -R -e "devtools::install_url('www.floodam.org/library/floodam.data_0.9.43.0.tar.gz')" -``` - -In case you are not using a linux environment, you can do the same within a R session: - +For instance, from a terminal, the command you can use is: + +```{.bash filename="terminal"} +R -e "install.packages( + pkgs = 'http://www.floodam.org/library/floodam.data_0.9.43.0.tar.gz', + type = 'source', + repos = NULL, + dependencies = TRUE)" ``` -# without devtools -archive = "floodam.data_0.9.43.0.tar.gz" -url = file.path("www.floodam.org/library", archive) -download.file(url = url, destfile = archive) -install.packages(pkgs = archive, type = 'source', repos = NULL, dependencies = TRUE) -unlink(archive) - -# with devtools -devtools::install_url('www.floodam.org/library/floodam.data_0.9.43.0.tar.gz') -``` - - -## How to get **floodam.data** ? - -For the moment, ask us. It will be public soon. ## How to help for the development of **floodam.data**