utilscognigen provides utility functions for R and RStudio at the Clinical Pharmacology and Pharmacometrics (CPP) business unit of Simulations Plus, Inc. This package facilitates creation, execution, and review of R files. This package also provides an interface for interacting with the CPP file system and sponsor directory structure.
Load it with:
record_input() and record_output() store IO information in a dedicated environment.recorded_io().scanlogs(), which is run automatically after rcb() and render().get_recorded_io().check_standards().logfile().path argument in this package. Generally, the open file in RStudio will be used when no other path is provided. See get_source_file().path_to_unix() and path_to_windows().
browse_project_email() and browse_project_sharepoint().path_sponsor(), path_drug(), and path_project().browse_shared_code(), list_files_shared_code(), and Rcopy_shared_code().set_rstudio_snippets().file_snapshots(), diff_snapshot(), and restore_snapshot().