From ef7f5cbe0efe2acee2cf95b42c6451570a844ee8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Grelot?= <frederic.grelot@irstea.fr>
Date: Wed, 15 May 2024 18:46:28 +0200
Subject: [PATCH] MAJ README

---
 README.md | 37 ++++++++-----------------------------
 1 file changed, 8 insertions(+), 29 deletions(-)

diff --git a/README.md b/README.md
index 84226a7..4c12bb9 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**
 
-- 
GitLab