diff --git a/R/formods.R b/R/formods.R index 4c8febd..e444d3d 100644 --- a/R/formods.R +++ b/R/formods.R @@ -20,9 +20,8 @@ # Checking for rxpackages # If all the suggested packages are found this will be true: suggested_found = TRUE - mr = FM_message("Loading formods", entry_type="h1") - - mr = FM_message("Checking for suggested packages", entry_type="h2") +# mr = FM_message("Loading formods", entry_type="h1") +# mr = FM_message("Checking for suggested packages", entry_type="h2") pkgs = c( "clipr", "devtools", "DT", @@ -31,9 +30,9 @@ "prompter", "shinybusy", "shinydashboard") for(pkg in pkgs){ if(!requireNamespace(pkg, quietly=TRUE)){ - mr = FM_message(paste0("missing ", pkg), entry_type="danger") +# mr = FM_message(paste0("missing ", pkg), entry_type="danger") } else { - mr = FM_message(paste0("found ", pkg), entry_type="success") +# mr = FM_message(paste0("found ", pkg), entry_type="success") } } } @@ -2448,8 +2447,8 @@ nmr} #' \itemize{ #' \item{label:} Text label for the model. #' \item{object :} Name of the object that contains the compiled rxode2 model. -#' \item{MOD_TYPE:} Type of {'formods'} module the model came from. -#' \item{id:} Source {'formods'} Module ID. +#' \item{MOD_TYPE:} Type of 'formods' module the model came from. +#' \item{id:} Source 'formods' Module ID. #' \item{checksum:} Checksum of the module where the model came from. #' \item{MDLchecksum:} Checksum of the model. #' \item{code:} Code to generate the model. diff --git a/docs/articles/included_modules.html b/docs/articles/included_modules.html index cb2abd1..e45d1c9 100644 --- a/docs/articles/included_modules.html +++ b/docs/articles/included_modules.html @@ -131,38 +131,38 @@

Avialable modules - - + +
- - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + +

Module

SN

htmlOutput

Other Outputs

Module

SN

htmlOutput

Other Outputs

App State Mangement

ASM

ui_asm_save_name, ui_asm_save_button, ui_asm_load_state

ui_asm_msg, ui_asm_ace_code

App State Mangement

ASM

ui_asm_save_name, ui_asm_save_button, ui_asm_load_state

ui_asm_msg, ui_asm_ace_code

Upload Data

UD

ui_ud_load_data, ui_ud_select_sheets, ui_ud_text_load_result, ui_ud_data_preview

ui_ud_ace_code

Upload Data

UD

ui_ud_load_data, ui_ud_select_sheets, ui_ud_text_load_result, ui_ud_data_preview

ui_ud_ace_code

Data Wrangling

DW

ui_dw_views, ui_dw_key, ui_dw_new_view, ui_dw_save_view, ui_dw_del_view, ui_dw_copy_view, ui_dw_add_element_button, ui_dw_select, ui_dw_new_element_row

hot_dw_elements, hot_data_preview, ui_dw_msg, ui_dw_code

Data Wrangling

DW

ui_dw_views, ui_dw_key, ui_dw_new_view, ui_dw_save_view, ui_dw_del_view, ui_dw_copy_view, ui_dw_add_element_button, ui_dw_select, ui_dw_new_element_row

hot_dw_elements, hot_data_preview, ui_dw_msg, ui_dw_code

Figure Generation

FG

ui_fg_curr_views, ui_fg_curr_figs, ui_fg_new_fig, ui_fg_save_fig, ui_fg_del_fig, ui_fg_copy_fig, ui_fg_fig_name, ui_fg_fig_notes, ui_fg_add_element_button, ui_fg_select, ui_fg_new_element_row, ui_fg_msg, ui_fg_slider_page

hot_fg_elements, ui_fg_preview_ggplot, ui_fg_msg, ui_fg_code

Figure Generation

FG

ui_fg_curr_views, ui_fg_curr_figs, ui_fg_new_fig, ui_fg_save_fig, ui_fg_del_fig, ui_fg_copy_fig, ui_fg_fig_name, ui_fg_fig_notes, ui_fg_add_element_button, ui_fg_select, ui_fg_new_element_row, ui_fg_msg, ui_fg_slider_page

hot_fg_elements, ui_fg_preview_ggplot, ui_fg_msg, ui_fg_code

diff --git a/docs/articles/making_modules.html b/docs/articles/making_modules.html index 83efc70..95bcdeb 100644 --- a/docs/articles/making_modules.html +++ b/docs/articles/making_modules.html @@ -438,23 +438,6 @@

Helper functions in formods
 library(formods)
-#> 
-#> ── Loading formods ─────────────────────────────────────────────────────────────
-#> 
-#> ── Checking for suggested packages ──
-#> 
-#>  found clipr
-#>  found devtools
-#>  found DT
-#>  found flextable
-#>  found ggpubr
-#>  found gtools
-#>  found here
-#>  found janitor
-#>  found plotly
-#>  found prompter
-#>  found shinybusy
-#>  found shinydashboard
 # This creates the state and session objects
 sess_res = UD_test_mksession(session=list())
 #> → UD: including file
@@ -558,8 +541,8 @@ 

Dataframe formatting information colHeaders = as.vector(unlist(hfmt[["col_heads"]])), rowHeaders = NULL )

-
-

To add subtext to a selection widget in Shiny you need to use the +

+

To add subtext to a selection widget in Shiny you need to use the shinyWidgets package.

 sel_subtext = as.vector(unlist( hfmt[["col_subtext"]]))
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index 2c637a4..6f8ed1d 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -4,5 +4,5 @@ pkgdown_sha: ~
 articles:
   included_modules: included_modules.html
   making_modules: making_modules.html
-last_built: 2024-03-12T03:11Z
+last_built: 2024-03-12T14:10Z
 
diff --git a/docs/reference/ASM_fetch_code.html b/docs/reference/ASM_fetch_code.html
index de466e5..de9ccec 100644
--- a/docs/reference/ASM_fetch_code.html
+++ b/docs/reference/ASM_fetch_code.html
@@ -156,9 +156,9 @@ 

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") diff --git a/docs/reference/ASM_fetch_dlfn.html b/docs/reference/ASM_fetch_dlfn.html index 70b302f..c565377 100644 --- a/docs/reference/ASM_fetch_dlfn.html +++ b/docs/reference/ASM_fetch_dlfn.html @@ -163,9 +163,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") diff --git a/docs/reference/ASM_fetch_state.html b/docs/reference/ASM_fetch_state.html index c72ea7d..0540dfa 100644 --- a/docs/reference/ASM_fetch_state.html +++ b/docs/reference/ASM_fetch_state.html @@ -183,9 +183,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") @@ -623,10 +623,10 @@

Examples#> [1] "ASM" #> #> $FM_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/formods.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/formods.yaml" #> #> $MOD_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/ASM.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/ASM.yaml" #> #> $shiny_token #> [1] "non_shiny" diff --git a/docs/reference/ASM_init_state.html b/docs/reference/ASM_init_state.html index 3c0fe00..c09ea93 100644 --- a/docs/reference/ASM_init_state.html +++ b/docs/reference/ASM_init_state.html @@ -169,9 +169,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") @@ -593,10 +593,10 @@

Examples#> [1] "ASM" #> #> $FM_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/formods.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/formods.yaml" #> #> $MOD_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/ASM.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/ASM.yaml" #> #> $shiny_token #> [1] "non_shiny" diff --git a/docs/reference/ASM_test_mksession.html b/docs/reference/ASM_test_mksession.html index 0f9688e..ff58ce2 100644 --- a/docs/reference/ASM_test_mksession.html +++ b/docs/reference/ASM_test_mksession.html @@ -186,9 +186,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") diff --git a/docs/reference/ASM_write_state.html b/docs/reference/ASM_write_state.html index d09d259..7d488e4 100644 --- a/docs/reference/ASM_write_state.html +++ b/docs/reference/ASM_write_state.html @@ -173,9 +173,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 #> → ASM: including file #> → ASM: source: file.path(system.file(package="onbrand"), "templates", "report.docx") #> → ASM: dest: file.path("config","report.docx") @@ -206,7 +206,7 @@

Examples file = tempfile(fileext=".zip"), mod_ids = c("UD")) #> → ASM: writing app state to file on server: -#> → ASM: /var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T//Rtmp8IyGJP/file102f249da1819.zip +#> → ASM: /var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T//Rtmp7AJyXS/file111302d9a808.zip #> → ASM: Generating reports (code only) #> → ASM: Generating report: xlsx #> → ASM: appending report for module:DW id:DW priority:1 diff --git a/docs/reference/DW_init_state.html b/docs/reference/DW_init_state.html index e1600d9..b762ae7 100644 --- a/docs/reference/DW_init_state.html +++ b/docs/reference/DW_init_state.html @@ -1011,10 +1011,10 @@

Examples#> [1] "UD" #> #> $FM_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/formods.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/formods.yaml" #> #> $MOD_yaml_file -#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpcPZo7o/temp_libpath1020a40ae7852/formods/templates/DW.yaml" +#> [1] "/private/var/folders/l9/6pm7xq5j1hn6l00zrs22j6mc0000gn/T/RtmpmmUNHY/temp_libpath1103c4581ccd0/formods/templates/DW.yaml" #> #> $shiny_token #> [1] "non_shiny" diff --git a/docs/reference/FG_append_report.html b/docs/reference/FG_append_report.html index 9fa4fbb..428c15f 100644 --- a/docs/reference/FG_append_report.html +++ b/docs/reference/FG_append_report.html @@ -177,9 +177,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 state = sess_res$state # This will read in the default PowerPoint report template rpt = diff --git a/docs/reference/FG_build.html b/docs/reference/FG_build.html index 435f4f1..ee7f052 100644 --- a/docs/reference/FG_build.html +++ b/docs/reference/FG_build.html @@ -189,9 +189,9 @@

Examples#> → FG: dest: file.path("config","report.yaml") #> → FG: State initialized #> → FG: module checksum updated:49305b1f42ca13ff15881186db5740a2 -#> → FG: module checksum updated:655360d1de1a8c907c7f10611abd5c3a -#> → FG: module checksum updated:448cd8b060ef548bc9e29b702c282eb4 -#> → FG: module checksum updated:902845a4f6cf5d312327cbe3bec53261 +#> → FG: module checksum updated:569e517694d2b4f35ddb004141c37597 +#> → FG: module checksum updated:2c034cfa5098469e4e58f39ae91174a6 +#> → FG: module checksum updated:82b9b5ab42c94f7437b0c055f11be5c8 session = sess_res$session input = sess_res$input @@ -218,11 +218,11 @@

Examples# If you made any changes to the actual figure, this will # force a rebuild of the current figure: state = FG_build( state=state, del_row = NULL, cmd = NULL) -#> → FG: module checksum updated:89b10c0837b85656238636d4e29cd81c +#> → FG: module checksum updated:43f973779fa3fd548d7033188ad2f913 # To create a new empty figure you can do this: state = FG_new_fig(state) -#> → FG: module checksum updated:ab3e56c39cd9b48bc3e5eeb25620f99a +#> → FG: module checksum updated:5e253686510424b0d12d459e760eca2b