Skip to content

RMarkdown Template for Developing a Package with Best Practices

For every function, create a RMarkdown Tabset with:

  1. Source code of the function:
R> styler::style(<package>::<function>)
  1. Tests for the function:
R> styler::style(readLines("tests/testthat/<function>_tests.R"))
  1. Function’s Documentation:
R> HTML(readLines("man/<function>.rd"))
  1. Changelog for the Function:

need a way to parse Git Commit history for a specific file using R.

# need a way to parse Git Commit history for a specific file using R.

Backlinks:

list from [[RMarkdown Template for Developing a Package with Best Practices]] AND -"Changelog"