Skip to contents

Step 1: Install Dependencies

Ensure all necessary R packages are installed by running the following script. If you encounter missing dependencies, refer to the CRAN Package Repository for manual installation.

if (!require("pacman")) install.packages("pacman", repos='https://cran.r-project.org/')
pacman::p_load(
    "shiny", 
    "jsonlite", 
    "rpact", 
    "shinyjs", 
    "testthat", 
    "httr", 
    "writexl", 
    "fresh", 
    "bs4Dash", 
    "R6", 
    "rhandsontable", 
    "ggplot2", 
    "plotly", 
    "knitr", 
    "markdown", 
    "rmarkdown", 
    "DT", 
    "digest", 
    "htmltools", 
    "chron", 
    "cli", 
    "dplyr", 
    "fontawesome", 
    "purrr", 
    "shinybusy", 
    "uuid", 
    "yaml", 
    "withr", 
    "shinycssloaders", 
    "config",
    "chromote",
    "shinytest2",
    "mockery",
    "curl",
    "here",
    "blastula",
    "mime",
    "glue",
    "devtools",
    "flextable",
    "rvest",
    update = FALSE # TRUE: update all out of date packages
)

Step 2: Install the App from GitHub

Install the app using devtools and your GitHub personal access token (PAT):

devtools::install_github(
    "rpact-com/rpact.cloud", 
    auth_token = "my_github_pat")

Please replace the value "my_github_pat" by the auth_token stored in the inst/config.yml in the field github_auth_token.

Step 3: Start the App

Before launching the app, restart your R session to ensure all dependencies are correctly loaded. Then, start the app with the following command:

rpact.cloud::launchApp()