Package: formods 0.1.8

formods: 'Shiny' Modules for General Tasks

'Shiny' apps can often make use of the same key elements, this package provides modules for common tasks (data upload, wrangling data, figure generation and saving the app state), and also a framework for developing. These modules can react and interact as well as generate code to create reproducible analyses.

Authors:John Harrold [aut, cre]

formods_0.1.8.tar.gz
formods_0.1.8.zip(r-4.5)formods_0.1.8.zip(r-4.4)formods_0.1.8.zip(r-4.3)
formods_0.1.8.tgz(r-4.4-any)formods_0.1.8.tgz(r-4.3-any)
formods_0.1.8.tar.gz(r-4.5-noble)formods_0.1.8.tar.gz(r-4.4-noble)
formods_0.1.8.tgz(r-4.4-emscripten)formods_0.1.8.tgz(r-4.3-emscripten)
formods.pdf |formods.html
formods/json (API)
NEWS

# Install 'formods' in R:
install.packages('formods', repos = c('https://john-harrold.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/john-harrold/formods/issues

On CRAN:

7.72 score 8 stars 1 packages 103 scripts 241 downloads 99 exports 102 dependencies

Last updated 2 days agofrom:3cb8acffe6. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winERRORNov 20 2024
R-4.5-linuxERRORNov 20 2024
R-4.4-winERRORNov 20 2024
R-4.4-macERRORNov 20 2024
R-4.3-winERRORNov 20 2024
R-4.3-macERRORNov 20 2024

Exports:ASM_fetch_codeASM_fetch_dlfnASM_fetch_stateASM_init_stateASM_mk_preloadASM_onloadASM_preloadASM_read_app_stateASM_ServerASM_test_mksessionASM_write_stateautocastDW_add_wrangling_elementDW_append_reportDW_attach_dsdw_eval_elementDW_fetch_codeDW_fetch_current_viewDW_fetch_dsDW_fetch_stateDW_hasdsDW_init_stateDW_mk_preloadDW_new_viewDW_preloadDW_ServerDW_set_current_viewDW_test_mksessionDW_update_checksumdwrs_builderfers_builderfetch_holdfetch_package_versionFG_append_reportFG_buildFG_extract_pageFG_fetch_codeFG_fetch_current_figFG_fetch_stateFG_init_stateFG_mk_preloadFG_new_figFG_preloadFG_ServerFG_set_current_figFG_test_mksessionFG_update_checksumFM_add_ui_tooltipFM_app_preloadFM_build_commentFM_fetch_app_codeFM_fetch_app_infoFM_fetch_app_stateFM_fetch_current_modsFM_fetch_data_formatFM_fetch_depsFM_fetch_dsFM_fetch_log_pathFM_fetch_mdlFM_fetch_mod_stateFM_fetch_user_files_pathFM_generate_reportFM_init_stateFM_leFM_messageFM_mk_app_preloadFM_mk_error_figFM_notifyFM_pause_screenFM_pretty_sortFM_proc_includeFM_resume_screenFM_set_app_stateFM_set_mod_stateFM_set_notificationFM_set_ui_msgFM_tcformods_checkhas_changedhas_updatedicon_linkis_installedlinspacenew_module_templateremove_holdrender_strset_holdUD_attach_dsUD_ds_readUD_fetch_codeUD_fetch_dsUD_fetch_stateUD_init_stateUD_mk_preloadUD_preloadUD_ServerUD_test_mksessionunfactoruse_formods

Dependencies:askpassbase64encbitbit64bslibcachemcellrangerclicliprcolorspacecommonmarkcpp11crayondata.tabledigestdplyrevaluatefansifarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggforceggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeofficeronbrandopensslpillarpkgconfigpolyclipprettyunitsprogresspromisesR6raggrappdirsRColorBrewerRcppRcppEigenreadrreadxlrematchrhandsontablerlangrmarkdownsassscalesshinyshinyAceshinyWidgetssourcetoolsstringistringrsyssystemfontstextshapingtibbletidyselecttinytextweenrtzdbutf8uuidvctrsviridisLitevroomwithrwritexlxfunxml2xtableyamlzip

Included Modules

Rendered fromincluded_modules.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2023-09-04
Started: 2022-08-04

Making Modules

Rendered frommaking_modules.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-11-16
Started: 2022-07-31

Readme and manuals

Help Manual

Help pageTopics
Fetch Module CodeASM_fetch_code
Fetch Download File NameASM_fetch_dlfn
Fetch State Manager StateASM_fetch_state
Initialize ASM Module StateASM_init_state
Make List of Current ASM StateASM_mk_preload
Updates ASM After State LoadASM_onload
Preload Data for ASM ModuleASM_preload
Read App State From Yaml FilesASM_read_app_state
Save State ServerASM_Server
Populate Session Data for Module TestingASM_test_mksession
Write State to File for SavingASM_write_state
Automatically Cast UI Input Variableautocast
Adding Wrangling Element to Current Data ViewDW_add_wrangling_element
Append Report ElementsDW_append_report
Attach Data Set to DW StateDW_attach_ds
Evaluates Data Wrangling Generated Codedw_eval_element
Fetch Module CodeDW_fetch_code
Fetches Current Data ViewDW_fetch_current_view
Fetch Module DatasetsDW_fetch_ds
Fetch Data Wrangling StateDW_fetch_state
Check DW State For DatasetsDW_hasds
Initialize DW Module StateDW_init_state
Make List of Current DW StateDW_mk_preload
New Data Wrangling ViewDW_new_view
Preload Data for DW ModuleDW_preload
Data Wrangling ServerDW_Server
Sets Current Data ViewDW_set_current_view
Populate Session Data for Module TestingDW_test_mksession
Updates DW Module ChecksumDW_update_checksum
Builds a Data Wrangling R Statement From ui Elements:dwrs_builder
Builds a Figure Element R Statement From UI Elements:fers_builder
Fetches the Hold Status UI Element Suppliedfetch_hold
Fetches the Current Version of Pacakgefetch_package_version
Append Report ElementsFG_append_report
Evaluates Figure Generation CodeFG_build
Extracts Specific Page from Paginated FigureFG_extract_page
Fetch Module CodeFG_fetch_code
Fetches Current FigureFG_fetch_current_fig
Fetch Figure Generation StateFG_fetch_state
Initialize FG Module StateFG_init_state
Make List of Current FG StateFG_mk_preload
Initialize New FigureFG_new_fig
Preload Data for FG ModuleFG_preload
Figure Generation ServerFG_Server
Sets Current FigureFG_set_current_fig
Populate Session Data for Module TestingFG_test_mksession
Updates FG Module ChecksumFG_update_checksum
Add Tooltip to UI ElementFM_add_ui_tooltip
Preload Data Into AppFM_app_preload
Create RStudio Formatted CommentsFM_build_comment
Fetches the Code to Reproduce AnalysisFM_fetch_app_code
Fetches Informaiton About the AppFM_fetch_app_info
Fetches the App StateFM_fetch_app_state
Fetches Details About Current ModulesFM_fetch_current_mods
Creates Formatting Information for DatasetsFM_fetch_data_format
Fetches Dependency InformationFM_fetch_deps
Fetches Datasets from Modules in the AppFM_fetch_ds
Fetches the Path to the Log FileFM_fetch_log_path
Fetches Models from Modules in the AppFM_fetch_mdl
Fetch the Module StateFM_fetch_mod_state
Fetches the Path to the User FilesFM_fetch_user_files_path
Generate ReportFM_generate_report
Initialize a formods State ObjectFM_init_state
Adds Message to Log File and Displays it to the ConsoleFM_le
Show Message to UserFM_message
Preload Data Into AppFM_mk_app_preload
Generates `ggplot` Object with Error MessageFM_mk_error_fig
Shiny NotificationFM_notify
Starts Modal Screen PauseFM_pause_screen
Centralized Sorting FunctionFM_pretty_sort
Sets Message in State from UI ProcessingFM_proc_include
Stops Modal Screen PauseFM_resume_screen
Set the App StateFM_set_app_state
Set the Module StateFM_set_mod_state
Shiny NotificationFM_set_notification
Sets Message in State from UI ProcessingFM_set_ui_msg
Run Try/Catch and Process ResultsFM_tc
formods: Shiny modules for common tasks.formods-package formods
Checks `formods` Dependenciesformods_check
Depreciated: Detect if a UI element has changedhas_changed
Detect if a UI element has updatedhas_updated
Creates Icon Linkicon_link
Determines if a Package is Installedis_installed
Implementation of the 'linspace' Function from Matlablinspace
Makes Template Files for formods New Modulenew_module_template
Removes Hold on UI Elementremove_hold
Evaluate R Code in Stringrender_str
Sets Hold on One or All UI Elementsset_hold
Attach Data Set to UD StateUD_attach_ds
Generate Code and Load DSUD_ds_read
Fetch Module CodeUD_fetch_code
Fetch Module DatasetsUD_fetch_ds
Fetch Upload Data StateUD_fetch_state
Initialize UD Module StateUD_init_state
Make List of Current ASM StateUD_mk_preload
Preload Data for UD ModuleUD_preload
Data Upload ServerUD_Server
Populate Session Data for Module TestingUD_test_mksession
Remove Factor From Objectunfactor
Create Module Templates in a Package Repositoryuse_formods