source_data_raw: Source all .R files under data-raw/

Description Usage Arguments Value Examples

View source: R/source_data_raw.R

Description

Usually we work on one dataset only, and don't know if our change impacted other datasets. This function helps "refresh" all datasets at once. It may be used interactively while developing the package, or in CI to regularly check we can reproduce all datasets we export, and that the result is consistent with our regression tests.

Usage

1
source_data_raw(path = "data-raw")

Arguments

path

String. Path in the working directory.

Value

invisible(path), as it's called for its side effect.

Examples

1

2DegreesInvesting/r2dii.usethis documentation built on Feb. 22, 2022, 9:47 a.m.