Skip to content
/ laims.analysis Public template

A template for robust, reproducible, analyses in R (allowing for remote data reading/writing)

Notifications You must be signed in to change notification settings

UBESP-DCTV/laims.analysis

Repository files navigation

laims.analysis

Lifecycle: experimental Codecov test coverage R-CMD-check lint

This project would represent the template for the analyses conducted within the Laboratory of Artificial Intelligence from the Medical Sciences (LAIMS) at the Unit of Biostatistics, Epidemiology, and Public health (UBEP) within the Department of Cardiac, Thoracic, Vascular Sciences, and Public Health (DSCTVPH) of the University of Padova (UniPD).

The aim is to provide a ready-to-use robust, reproducible infrastructure for complex to quick analyses.

When you create a new project based on this template, name it (i.e., it’s folder) accordingly with your project’s name (possibly without spaces). Next, you can open the 01-FIRST_RUN.Rscript, and execute the code and instructions within it. There, you will have the opportunity to set the very first and basic pieces of information for your project, and activate all its functionalities. After that, you can start to develop your project, defining its targets (i.e., it’s main object outputs) in the _targets.R file, which define the concept DAG of your project tracking all it’s dependencies.

In the dev/ folder, you will find also the 02-dev_cycle.R and the 03-run_cycle.R helping you across the development and execution/update of the project.

Functionalities

  • A dedicated packages’ project-level library powered by {renv}
  • All the documentation for functions and the project itself powered by {roxygen2}
  • A test-driven environment powered by {testthat}, {checkmate}, and {covr}.
  • Systems for grammar and static code checking powered by {spelling} and {lintr}, respectively
  • Continuous Integration and Development is activated and powered by GitHub actions, automating linters and checks execution, and coverage assessment.
  • A full environment enforcing reproducibility by the execution, caching and invalidation of a structured project’s pipeline powered by {targets} and {tarchetypes} in conjunction and synergy with Rmarkdown scientifically flavored documents powered by {distill} (with options for connections with Zotero as citation manager, linked with local or remote libraries)

Code of Conduct

Please note that the laims.analysis project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

A template for robust, reproducible, analyses in R (allowing for remote data reading/writing)

Resources

Code of conduct

Stars

Watchers

Forks