tests/testthat/examples/depends-params/depends-params.R

pars <- orderly::orderly_parameters(a = NULL)
orderly::orderly_dependency("parameters", "latest", c(input.rds = "data.rds"))
orderly::orderly_artefact("result.rds", description = "Processed data")
d <- readRDS("input.rds")
saveRDS(lapply(d, function(x) x * 2), "result.rds")

Try the orderly package in your browser

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

orderly documentation built on Jan. 24, 2026, 1:07 a.m.