inst/app/README-install.md

Package installation

If you met problem in the one line script, you can run these lines one by one and locate the specific problem.

You may need to restart R session and run them again when met error in package installation.

# restart R session first
remove.packages("ctmm")
if (!require("devtools")) install.packages("devtools")
devtools::install_github("rstudio/shiny")
devtools::install_github("ctmm-initiative/ctmm")

Run specific version of app

# stable version
shiny::runGitHub('ctmm-initiative/ctmm-webapp', ref = "v0.0.6")
# or latest version
shiny::runGitHub('ctmm-initiative/ctmm-webapp')

Run app in local machine without Internet

The method above always download the app before run. You can also download the app and run without Internet.

With R and dependency packages installed:

  1. Download the stable version from releases page, currently v0.0.6, or the latest development version.

  2. Unzip the zip to a folder, then run it with

    r if (!require("devtools")) install.packages("devtools") devtools::install_github("rstudio/shiny") devtools::install_github("ctmm-initiative/ctmm") devtools::install_github("r-lib/crayon") shiny::runApp("<absolute path to your app folder>")

Linux

Known bugs

The error is pretty random and hard to reproduce, but usually you can restart R session and it should dissappear.



xhdong-umd/ctmmweb documentation built on May 29, 2019, 11:59 a.m.