R/load_if_doesnt_exist.R

Defines functions load_if_doesnt_exist

load_if_doesnt_exist <- function(data) {
  if (!exists(data)) {
    source(paste0("data-raw/", data, ".R"))
  }
}
aftonsteps/rdew documentation built on Dec. 18, 2021, 11:21 p.m.