Skip to content

Script Templates

Brendan Casey edited this page Sep 20, 2025 · 2 revisions

Script Templates

Use these templates as a starting point for writing reproducible, well-structured scripts.
They provide a consistent header, sectioning, and commenting style to make code easier to read, review, and reuse.

Templates

  • r_module.R: A template for writing individual R modules.
  • r_function.R: A template for writing well-documented and formatted R functions.
  • javascript_module.js: A template for writing individual JavaScript modules.
  • javascript_function.js: A template for writing well-documented and formatted JavaScript functions.
  • python_module.js: A template for writing individual Python modules.
  • python_function.js: A template for writing well-documented and formatted Python functions.
  • r_project_template: An R project template that provides a structured directory for organizing data, scripts, outputs, and documentation.

Clone this wiki locally