Skip to content

Commit

Permalink
add good and bad examples for new file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Jan 24, 2024
1 parent b5c3290 commit e9871a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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")
3 changes: 3 additions & 0 deletions tests/testthat/examples/bad-ex-two-orderly-files/orderly.R
Original file line number Diff line number Diff line change
@@ -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")
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit e9871a7

Please sign in to comment.