CSHS Webinar: Designing and Sharing R Functions

 In Archived, Uncategorized

CSHS Webinar:

Designing and Sharing R Functions

Date: January 22, 2026

Presenters: Vicenzo Coia (Researcher, Politecnico di Milano; Collaborating Geoscientist, BGC Engineering)

A growing need for reproducible and transferable analytical workflows has highlighted the importance of developing robust, reusable R code for engineering, environmental, and hydrologic applications. This presentation provides an overview of best practices for designing professional R functions, including approaches to improve reliability, adaptability, and code maintainability. The use of Roxygen for function documentation is also demonstrated, with examples showing how clear documentation can support collaboration, reproducibility, and long-term project continuity.