Package: assertHE 1.0.1.9000

Robert Smith

assertHE: Visualisation and Verification of Health Economic Decision Models

Designed to help health economic modellers when building and reviewing models. The visualisation functions allow users to more easily review the network of functions in a project, and get lay summaries of them. The asserts included are intended to check for common errors, thereby freeing up time for modellers to focus on tests specific to the individual model in development or review. For more details see Smith and colleagues (2024)<doi:10.12688/wellcomeopenres.23180.1>.

Authors:Robert Smith [aut, cre, cph], Wael Mohammed [aut], Jack Smith [aut], Oliver Dolin [aut], Dark Peak Analytics Ltd [cph, fnd]

assertHE_1.0.1.9000.tar.gz
assertHE_1.0.1.9000.zip(r-4.7)assertHE_1.0.1.9000.zip(r-4.6)assertHE_1.0.1.9000.zip(r-4.5)
assertHE_1.0.1.9000.tgz(r-4.6-any)assertHE_1.0.1.9000.tgz(r-4.5-any)
assertHE_1.0.1.9000.tar.gz(r-4.7-any)assertHE_1.0.1.9000.tar.gz(r-4.6-any)
assertHE_1.0.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
assertHE/json (API)
NEWS

# Install 'assertHE' in R:
install.packages('assertHE', repos = c('https://dark-peak-analytics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/dark-peak-analytics/asserthe/issues

Pkgdown/docs site:https://dark-peak-analytics.github.io

On CRAN:

Conda:

4.68 score 11 stars 11 scripts 244 downloads 31 exports 97 dependencies

Last updated from:e3f7ad1396. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK171
source / vignettesOK212
linux-release-x86_64OK186
macos-release-arm64OK128
macos-oldrel-arm64OK142
windows-develOK116
windows-releaseOK108
windows-oldrelOK116
wasm-releaseOK135

Exports:assertHE_examplecheck_initcheck_markov_tracecheck_trans_prob_arraycheck_trans_prob_matcreate_promptextract_function_namefind_filesfind_folder_function_definitionsfind_function_calls_in_filefind_function_calls_in_folderfind_function_definitionsfind_next_vector_elementfind_previous_vector_elementget_active_functionsget_file_cheers_classificationsget_folder_cheers_classificationsget_foo_coverageget_function_dataget_roxygen_descriptionidentify_dependencieslocate_funcsplot_PSA_stabilityplotNetworksource_funcssource_linessummarise_function_from_arguments_and_bodysummarise_function_with_LLMsummarise_modelvisualise_projectwrap_string

Dependencies:askpassassertthatbase64encbrewbslibcachemcallrclicommonmarkcovrcpp11curldata.tabledescdigestdplyrevaluatefarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvhttrigraphisobandjquerylibjsonliteknitrlabelinglaterlatticelifecyclemagrittrMatrixmemoisemimeofficeropensslotelpillarpkgbuildpkgconfigpkgloadprocessxpromisespspurrrR6raggrappdirsRColorBrewerRcpprexrlangrmarkdownroxygen2rprojrootrstudioapiS7sassscalesshinyshinyjssourcetoolsstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttinytexutf8uuidvctrsviridisLitevisNetworkwaiterwithrxfunxml2xtableyamlzip

Readme and manuals

Help Manual

Help pageTopics
Called By.called_by
Parse Function.parse_function
Get path to assertHE exampleassertHE_example
Check and initialize a vectorcheck_init
Check Markov Tracecheck_markov_trace
Check Transition Probability Arraycheck_trans_prob_array
Check Transition Probability Matrixcheck_trans_prob_mat
Create a prompt for a LLMcreate_prompt
Create Shiny app server logicdefine_app_server
Create Shiny app UIdefine_app_ui
Extract function name from a stringextract_function_name
find_filesfind_files
Creates summary of R files in folder with functions defined within and locations.find_folder_function_definitions
Find all function calls in filefind_function_calls_in_file
Find specific function calls in a folderfind_function_calls_in_folder
Parses an R source file, returns function names defined within.find_function_definitions
Find the next element of the vector after a valuefind_next_vector_element
Find the previous element of the vector before a valuefind_previous_vector_element
get all active functions that exist in the global environmentget_active_functions
Get cheers classification tags from a given fileget_file_cheers_classifications
Get cheers classification tags from a given folderget_folder_cheers_classifications
Get coverage by functionget_foo_coverage
Retrieve Function data to a listget_function_data
Extract function line in file pathget_function_line
Remove artefacts from file pathget_function_path
Get Isolated Functionsget_isolated_foo
Get Title and Description from Parsed Listget_roxygen_description
Get roxygen title and description from functionget_roxygen_description_from_foo
Identify Dependenciesidentify_dependencies
locate_funcslocate_funcs
Create closable shiny tabmake_closable_tab
Plot cumulative mean Probabilistic Sensitivity Analysis resultsplot_PSA_stability
Plot NetworkplotNetwork
Process NodesprocessNodes
Extract the content from the output of the LLMreturn_message
Run a Shiny app to host a network visualizationrun_shiny_app
source_funcssource_funcs
source_linessource_lines
Summarise a function from its arguments and bodysummarise_function_from_arguments_and_body
Summarize a function using a Large Language Modelsummarise_function_with_LLM
Summarise the model functions in a single folder.summarise_model
Visualize Projectvisualise_project
Wrap a string to lines of a specified widthwrap_string