inst/migrate/0.5.5.R

migrate <- function(data, path, config) {
  if (!is.null(data$meta$connection)) {
    return(migration_result(FALSE, data))
  }
  d <- orderly_recipe$new(basename(path), config, path = path)
  data$meta$connection <- !is.null(d$connection)
  migration_result(TRUE, data)
}

Try the orderly package in your browser

Any scripts or data that you put into this service are public.

orderly documentation built on Sept. 22, 2021, 5:09 p.m.