diff --git a/tests/testthat/examples/bad-ex-two-orderly-files/bad-ex-two-orderly-files.R b/tests/testthat/examples/bad-ex-two-orderly-files/bad-ex-two-orderly-files.R new file mode 100644 index 00000000..c7a6add5 --- /dev/null +++ b/tests/testthat/examples/bad-ex-two-orderly-files/bad-ex-two-orderly-files.R @@ -0,0 +1,3 @@ +orderly2::orderly_artefact("Some data", "data.rds") +d <- data.frame(a = 1:10, x = runif(10), y = 1:10 + runif(10)) +saveRDS(d, "data.rds") diff --git a/tests/testthat/examples/bad-ex-two-orderly-files/orderly.R b/tests/testthat/examples/bad-ex-two-orderly-files/orderly.R new file mode 100644 index 00000000..c7a6add5 --- /dev/null +++ b/tests/testthat/examples/bad-ex-two-orderly-files/orderly.R @@ -0,0 +1,3 @@ +orderly2::orderly_artefact("Some data", "data.rds") +d <- data.frame(a = 1:10, x = runif(10), y = 1:10 + runif(10)) +saveRDS(d, "data.rds") diff --git a/tests/testthat/examples/reportname-orderly-file/reportname-orderly-file.R b/tests/testthat/examples/reportname-orderly-file/reportname-orderly-file.R new file mode 100644 index 00000000..c7a6add5 --- /dev/null +++ b/tests/testthat/examples/reportname-orderly-file/reportname-orderly-file.R @@ -0,0 +1,3 @@ +orderly2::orderly_artefact("Some data", "data.rds") +d <- data.frame(a = 1:10, x = runif(10), y = 1:10 + runif(10)) +saveRDS(d, "data.rds")