A Logging Utility Focus on Clinical Trial Programming Workflows


[Up] [Top]

Documentation for package ‘logrx’ version 0.1.0

Help Pages

approved Approved packages and functions
approved_functions_init Initialises the logrx.approved option
axecute Create a log and run a file
build_approved Build approved packages and functions tibble
get_file_path Gets full path of file being run
get_library Add libraries to functions
get_logrx_metadata Returns named list of logrx metadata attributes
get_log_element Gets the value of a named element in the log.rx environment
get_masked_functions Returns named list of masked functions
get_session_info Returns Session Info
get_unapproved_use Get unapproved packages and functions used
get_used_functions Get functions used within a file
logrxAddin logrxAddin Code needed to create the miniUI for the Addin
log_cleanup Cleans up log and does checks against elements
log_config Configures the log.rx environment
log_init Initialises the log.rx environment
log_remove Remove the log.rx environment by setting options("log.rx") to NULL
log_write Write the formatted log.rx to a file
loudly Capture errors, warnings, messages, and a stream output from executing R code
run_safely_loudly Safely run an R script and record results, outputs, messages, errors, warnings
set_log_element Adds values to existing named elements in the log.rx environment
set_log_name_path Set the log name and path: 1. As the name and path if specified 2. As the file name and path if specified 3. As logrx_log.log and . if none of the above are specified
write_errors Format errors attribute for writing
write_file_name_path Format file name and path for writing
write_log_element Generic function to format log.rx elements for writing
write_log_header Generic function to format log section headers
write_masked_functions Format masked functions attribute for writing
write_messages Format messages attribute for writing
write_metadata Format log.rx's metadata attributes for writing
write_output Format output attribute for writing
write_result Format result attribute for writing
write_session_info Format log.rx's session info attribute for writing
write_unapproved_functions Format unapproved functions attribute for writing
write_used_functions Format used functions attribute for writing
write_warnings Format warnings attribute for writing