Skip to content

Commit a59cfb2

Browse files
committed
minor changes
1 parent 77bb06f commit a59cfb2

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

R/fct_check_data2.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
fct_check_data2 <- function(.usr, .time, .ad, .cs){
3434

3535
## !! FOR TESTING ONLY
36-
# cs <- read_xlsx(path = path, sheet = "c_stocks", na = "NA")
37-
# ad <- read_xlsx(path = path, sheet = "AD_lu_transitions", na = "NA")
38-
# usr <- read_xlsx(path = path, sheet = "user_inputs", na = "NA")
39-
# time <- read_xlsx(path = path, sheet = "time_periods", na = "NA")
4036
# .usr <- usr
4137
# .time <- time
4238
# .ad <- ad
4339
# .cs <- cs
40+
# .usr = rv$inputs$usr
41+
# .time = rv$inputs$time
42+
# .ad = rv$inputs$ad
43+
# .cs = rv$inputs$cs
4444
## !!
4545

4646
## Build checklist

R/mod_tool_server.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ mod_tool_server <- function(id, rv) {
8383
# rv$mcs <- list()
8484
# path <- system.file("extdata/example1-4pools.xlsx", package = "mocaredd")
8585
# path <- system.file("extdata/example2-with-sims.xlsx", package = "mocaredd")
86+
# path <- "/Users/gaelsola/Documents/FAO-2025/missions/2025-12-COG-ZMB NFI and Uncertainty/Uncertainty WS/KEN-2025-UNFCCC-mocaredd-2017-2023.xlsx"
8687
# .cs <- rv$inputs$cs <- readxl::read_xlsx(path = path, sheet = "c_stocks", na = "NA")
8788
# .ad <- rv$inputs$ad <- readxl::read_xlsx(path = path, sheet = "AD_lu_transitions", na = "NA")
8889
# .usr <- rv$inputs$usr <- readxl::read_xlsx(path = path, sheet = "user_inputs", na = "NA")

R/shiny_run_mocaredd.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ shiny_run_mocaredd <- function(...) {
147147
shinyjs::useShinyjs(),
148148
shinyWidgets::useSweetAlert(),
149149
shiny.i18n::usei18n(i18n),
150+
tags$head(HTML(
151+
'<!-- 100% privacy-first analytics -->
152+
<script data-collect-dnt="true" async src="https://scripts.simpleanalyticscdn.com/latest.js"></script>'
153+
)),
150154
tags$head(includeHTML("plausible.html")),
151155
tags$head(
152156
## Load Plausible tracker

0 commit comments

Comments
 (0)