tests/testthat/code_extra_deps.R

## This version hardcodes the filename in.  It's not ideal practice,
## but might happen if the name is generated somehow, or if these
## files aren't really under the control of remake.
process_data_hardcoded <- function() {
  x <- read.csv("data.csv")
  x$kmpl <- x$mpg * 1.6 / 3.9
  x
}
richfitz/remake documentation built on May 27, 2019, 8:27 a.m.