From 9fb9f57f15bb6796f36b0a5a0ae28486ae2c1358 Mon Sep 17 00:00:00 2001 From: Joseph Tran <joseph.tran@inrae.fr> Date: Mon, 25 Mar 2024 16:18:19 +0100 Subject: [PATCH 1/2] fall back to R version 4.2.2 and install all R packages --- environment.yml | 8 -------- install.R | 4 ++++ runtime.txt | 1 + 3 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 environment.yml create mode 100644 install.R create mode 100644 runtime.txt diff --git a/environment.yml b/environment.yml deleted file mode 100644 index 1ab0701..0000000 --- a/environment.yml +++ /dev/null @@ -1,8 +0,0 @@ -channels: - - conda-forge -dependencies: - - r-base=3.6 - - r-shinydashboard - - r-learnr - - r-rmarkdown - - r-dt diff --git a/install.R b/install.R new file mode 100644 index 0000000..4a07ce4 --- /dev/null +++ b/install.R @@ -0,0 +1,4 @@ +install.packages("learnr") +install.packages("shinydashboard") +install.packages("rmarkdown") +install.packages("DT") \ No newline at end of file diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..12827bc --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +r-4.2.2-2022-11-01 \ No newline at end of file -- GitLab From 85b4ec48e03063e257c1d71c4c948f8f59092a68 Mon Sep 17 00:00:00 2001 From: Joseph Tran <joseph.tran@inrae.fr> Date: Mon, 25 Mar 2024 21:41:35 +0100 Subject: [PATCH 2/2] use rstudio --- README.md | 2 +- shiny_tutorial/shiny_tutorial.Rmd => shiny_tutorial.Rmd | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename shiny_tutorial/shiny_tutorial.Rmd => shiny_tutorial.Rmd (100%) diff --git a/README.md b/README.md index 2b259b9..97b0d56 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,6 @@ You need to follow some extra-steps: Click on the following badge to run the tutorial on binder, it will open a new tab in your browser and you can start the tutorial from there: -[](https://mybinder.org/v2/gh/jos4uke/shiny_tutorial.git/main?urlpath=shiny_tutorial/) +[](https://mybinder.org/v2/gh/jos4uke/shiny_tutorial.git/main?urlpath=rstudio) Be patient, it could take a while to deploy the tutorial code on mybinder.org. diff --git a/shiny_tutorial/shiny_tutorial.Rmd b/shiny_tutorial.Rmd similarity index 100% rename from shiny_tutorial/shiny_tutorial.Rmd rename to shiny_tutorial.Rmd -- GitLab