Skip to content

Commit

Permalink
switched R package installtion to renv workflow only
Browse files Browse the repository at this point in the history
  • Loading branch information
thho authored Nov 15, 2021
1 parent 2f607e3 commit bc77568
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Download R https://cran.r-project.org/bin/windows/base/ and run the ```.exe```

Download RStudio https://rstudio.com/products/rstudio/download/#download and run the ```.exe```

### Installation with renv (recommended)
### R package installation with renv

Since version 3.0 StaMPS-Visualizer is managed as a *Rproject* with ```renv```. ```renv``` [is a tool to create reproducible environments of R packages](https://rstudio.github.io/renv/index.html).

Expand All @@ -52,26 +52,6 @@ Since version 3.0 StaMPS-Visualizer is managed as a *Rproject* with ```renv```.
* go to File --> Open File... and open ```ui.R```
* click on **Run App** in the upper left panel in the upper right corner

### Manual installation of all packages

To run the application locally, following packages are requiered:

```{r install-packages eval=FALSE}
install.packages("leaflet")
install.packages("lubridate")
install.packages("shiny")
install.packages("shinycssloaders")
install.packages("shinyalert")
install.packages("shinydashboard")
install.packages("colorRamps")
install.packages("rgdal")
install.packages("data.table")
```

Copy paste the code to your R console, or run the R script *install_packages.R*

in order to start the Visualizer, open the ```ui.R``` script in RStudio and click on **Run App** in the upper left panel in the upper right corner.

## License

The StaMPS-Visualizer is licensed under a [creative commons attribution license](https://github.com/thho/StaMPS_Visualizer/blob/master/LICENSE.md)
Expand Down

0 comments on commit bc77568

Please sign in to comment.