Package: formods 0.1.7

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.7.tar.gz
formods_0.1.7.zip(r-4.5)formods_0.1.7.zip(r-4.4)formods_0.1.7.zip(r-4.3)
formods_0.1.7.tgz(r-4.4-any)formods_0.1.7.tgz(r-4.3-any)
formods_0.1.7.tar.gz(r-4.5-noble)formods_0.1.7.tar.gz(r-4.4-noble)
formods_0.1.7.tgz(r-4.4-emscripten)formods_0.1.7.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:

86 exports 8 stars 2.61 score 104 dependencies 1 dependents 76 scripts 212 downloads

Last updated 16 days agofrom:30cb7b6b2a. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winOKSep 02 2024
R-4.5-linuxOKSep 02 2024
R-4.4-winOKSep 02 2024
R-4.4-macOKSep 02 2024
R-4.3-winOKSep 02 2024
R-4.3-macOKSep 02 2024

Exports:ASM_fetch_codeASM_fetch_dlfnASM_fetch_stateASM_init_stateASM_onloadASM_ServerASM_test_mksessionASM_write_stateautocastDW_add_wrangling_elementDW_append_reportDW_attach_dsdw_eval_elementDW_fetch_codeDW_fetch_current_viewDW_fetch_dsDW_fetch_stateDW_init_stateDW_new_viewDW_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_new_figFG_ServerFG_set_current_figFG_test_mksessionFG_update_checksumFM_add_ui_tooltipFM_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_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_holdset_holdUD_attach_dsUD_ds_readUD_fetch_codeUD_fetch_dsUD_fetch_stateUD_init_stateUD_ServerUD_test_mksessionunfactoruse_formods

Dependencies:anytimeaskpassbase64encBHbitbit64bslibcachemcellrangerclicliprcolorspacecommonmarkcpp11crayondata.tabledigestdplyrevaluatefansifarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggforceggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeofficeronbrandopensslpillarpkgconfigpolyclipprettyunitsprogresspromisesR6raggrappdirsRColorBrewerRcppRcppEigenreadrreadxlrematchrhandsontablerlangrmarkdownsassscalesshinyshinyAceshinyWidgetssourcetoolsstringistringrsyssystemfontstextshapingtibbletidyselecttinytextweenrtzdbutf8uuidvctrsviridisLitevroomwithrwritexlxfunxml2xtableyamlzip

Included Modules

Rendered fromincluded_modules.Rmdusingknitr::rmarkdownon Sep 02 2024.

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

Making Modules

Rendered frommaking_modules.Rmdusingknitr::rmarkdownon Sep 02 2024.

Last update: 2024-04-15
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
Updates ASM After State LoadASM_onload
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
Initialize DW Module StateDW_init_state
New Data Wrangling ViewDW_new_view
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
Initialize New FigureFG_new_fig
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
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
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
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
Data Upload ServerUD_Server
Populate Session Data for Module TestingUD_test_mksession
Remove Factor From Objectunfactor
Create Module Templates in a Package Repositoryuse_formods