knitr::opts_chunk$set(echo = TRUE)

We have the following options to store configurations:

We believe a config file is best suited. Use something like reprex:::opts() as default arguements of style_dir()

style_dir(
  path = fallback("."),
  ...,
  style = fallback("tidyverse_style"),
  transformers = style(...),
  filetype = fallback("R"),
  recursive = fallback(TRUE),
  exclude_files = fallback(NULL),
  include_roxygen_examples = fallback(TRUE)
)

There are different options as per how this could be implemented on the config file part.



lorenzwalthert/fallback documentation built on April 19, 2022, 1:51 p.m.