Skip to content

Commit

Permalink
begin updating ADRG wtih additional method of pre-compiled app
Browse files Browse the repository at this point in the history
  • Loading branch information
rpodcast committed May 3, 2024
1 parent 4b0f9f8 commit 80c31e9
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions adrg/_adrg.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,22 @@ renv::restore(prompt = FALSE)
Due to certain R packages in the application requiring compilation, the entire package restoration procedure may require at least ten minutes or longer to complete depending on internet bandwidth and your computer's hardware profile.
:::
## Compile Shiny Application
## Prepare Shiny Application
Run the following code to compile the Shiny application source files to the web-assembly format:
This pilot contains two methods for preparing the Shiny application:
### Extract Pre-Compiled Bundle
A pre-compiled version of the application is available inside a compressed zip file archive. Run the following code to extract the archive to a new sub-directory `_site`.
```r
source("utils.R")
extract_app_bundle()
```
### Compile Shiny Application
The second method involves compiling the application in your R environment. Run the following code to compile the Shiny application source files to the web-assembly format:
```r
source("utils.R")
Expand Down

0 comments on commit 80c31e9

Please sign in to comment.