Skip to content

jgf5013/r-virus

Repository files navigation

R-Virus

Running Locally

You can run the web app locally by installing node and npm, or by using Dev-Containers. Dev-Containers is the recommended approach if you don't already have node and npm set up.

  • Dev Containers (IDE-specific)
    • VS Code
    • Instructions for other IDEs not given :P
  • Install Tools Locally
    • Install nodeJS
    • Run npm install from the root directory
    • Run npm run dev from the root directory
    • I'm probably missing some steps here...

Creating the R Library

  1. Open an R terminal and execute the steps below.

    > install.packages("rwasm")
    > temp_lib <- tempdir()
    > remotes::install_github("r-lib/pak")
    > library(pak) # should not print anything
    > pak::pkg_install("rivm-syso/escape2024", lib = temp_lib)
    > dependencies <- pak::pkg_deps("rivm-syso/escape2024")
    > pak::pkg_install(dependencies, lib = temp_lib) # gives an error?
    > list.files(temp_lib, recursive = TRUE, all.files = TRUE)
  2. Close the terminal - it should prompt you to save the library image

  3. Save the library image - it will create a .RData file

  4. Copy the .RData file into the public/rivm-syso/escape2024 folder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published