-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
62 lines (47 loc) · 1.32 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
title: "README for nmdp.asom"
author: "Lisa Rein"
date: "2024-10-15"
output: html_document
---
```{r }
# set working directory to R project for nmdp.asom app
# working directory should be wherever app.R is housed:
mydir <- "Z:/consulting/Logan_Brent/nmdp.asom"
setwd(mydir)
list.files(mydir)
# internal app data, sysdata.rda, should be saved in R subfolder:
list.files(paste0(mydir, "/R"))
```
```{r eval = FALSE}
# To run the app:
# Note the internal app data (includes model objects) is large and the initial load could take a while:
library(shiny)
shiny::runApp()
# you should see a message in the console if the app is successfully loading: 'Loading nmdp.asom'
```
```{r}
# Dependent packages should automatically be installed/loaded but just in case,
# app dependencies (also noted in NAMESPACE):
# export(run_app)
# import(bslib)
# import(flextable)
# import(ggplot2)
# import(nftbart)
# import(shiny)
# import(shinyBS)
# import(shinyjs)
# import(waiter)
# importFrom(golem,activate_js)
# importFrom(golem,add_resource_path)
# importFrom(golem,bundle_resources)
# importFrom(golem,favicon)
# importFrom(golem,with_golem_options)
# importFrom(shiny,HTML)
# importFrom(shiny,NS)
# importFrom(shiny,column)
# importFrom(shiny,shinyApp)
# importFrom(shiny,tagAppendAttributes)
# importFrom(shiny,tagList)
# importFrom(shiny,tags)
```