diff --git a/404.html b/404.html index 4699134a..7b18fece 100644 --- a/404.html +++ b/404.html @@ -20,7 +20,7 @@ orderly2 - 1.99.24 + 1.99.25
Create an orderly store with a file store and a complete tree. See
orderly2::orderly_init()
for more details.
id1 <- orderly2::orderly_run("data")
-## ℹ Starting packet 'data' `20240718-133330-fe77da64` at 2024-07-18 13:33:31.000691
+## ℹ Starting packet 'data' `20240726-145447-701d0b2c` at 2024-07-26 14:54:47.440489
## > d <- read.csv("data.csv")
## > d$z <- resid(lm(y ~ x, d))
## > saveRDS(d, "data.rds")
## ✔ Finished running data.R
-## ℹ Finished 20240718-133330-fe77da64 at 2024-07-18 13:33:31.03567 (0.03497887 secs)
+## ℹ Finished 20240726-145447-701d0b2c at 2024-07-26 14:54:47.478953 (0.03846478 secs)
id2 <- orderly2::orderly_run("analysis")
-## ℹ Starting packet 'analysis' `20240718-133331-10197fe9` at 2024-07-18 13:33:31.069129
+## ℹ Starting packet 'analysis' `20240726-145447-81801ea1` at 2024-07-26 14:54:47.508242
## > orderly2::orderly_dependency("data", "latest()", "data.rds")
-## ℹ Depending on data @ `20240718-133330-fe77da64` (via latest(name == "data"))
+## ℹ Depending on data @ `20240726-145447-701d0b2c` (via latest(name == "data"))
## > d <- readRDS("data.rds")
## > png("analysis.png")
## > plot(y ~ x, d)
@@ -155,14 +155,14 @@ Basic use## agg_png
## 2
## ✔ Finished running analysis.R
-## ℹ Finished 20240718-133331-10197fe9 at 2024-07-18 13:33:31.21579 (0.1466606 secs)
When we look at the metadata for the packet created from the
analysis
report, we can see it has used
-20240718-133330-fe77da64
as its dependency:
20240726-145447-701d0b2c
as its dependency:
orderly2::orderly_metadata(id2)$depends
## packet query files
-## 1 20240718-133330-fe77da64 latest(name == "data") data.rds....
(indeed it had to, there is only one copy of the data
packet to pick from).
cyl
:
orderly2::orderly_run("data", list(cyl = 4))
-## ℹ Starting packet 'data' `20240718-133331-95984079` at 2024-07-18 13:33:31.587493
+## ℹ Starting packet 'data' `20240726-145447-fd49e8bf` at 2024-07-26 14:54:47.991906
## ℹ Parameters:
## • cyl: 4
## > orderly2::orderly_parameters(cyl = NULL)
## > d <- mtcars[mtcars$cyl == cyl, ]
## > saveRDS(d, "data.rds")
## ✔ Finished running data.R
-## ℹ Finished 20240718-133331-95984079 at 2024-07-18 13:33:31.619198 (0.03170514 secs)
-## [1] "20240718-133331-95984079"
+## ℹ Finished 20240726-145447-fd49e8bf at 2024-07-26 14:54:48.023564 (0.03165841 secs)
+## [1] "20240726-145447-fd49e8bf"
orderly2::orderly_run("data", list(cyl = 6))
-## ℹ Starting packet 'data' `20240718-133331-a30be989` at 2024-07-18 13:33:31.639894
+## ℹ Starting packet 'data' `20240726-145448-0aa5f849` at 2024-07-26 14:54:48.043933
## ℹ Parameters:
## • cyl: 6
## > orderly2::orderly_parameters(cyl = NULL)
## > d <- mtcars[mtcars$cyl == cyl, ]
## > saveRDS(d, "data.rds")
## ✔ Finished running data.R
-## ℹ Finished 20240718-133331-a30be989 at 2024-07-18 13:33:31.667991 (0.02809715 secs)
-## [1] "20240718-133331-a30be989"
+## ℹ Finished 20240726-145448-0aa5f849 at 2024-07-26 14:54:48.073031 (0.02909851 secs)
+## [1] "20240726-145448-0aa5f849"
orderly2::orderly_run("data", list(cyl = 8))
-## ℹ Starting packet 'data' `20240718-133331-b017c856` at 2024-07-18 13:33:31.690793
+## ℹ Starting packet 'data' `20240726-145448-17f52df9` at 2024-07-26 14:54:48.096001
## ℹ Parameters:
## • cyl: 8
## > orderly2::orderly_parameters(cyl = NULL)
## > d <- mtcars[mtcars$cyl == cyl, ]
## > saveRDS(d, "data.rds")
## ✔ Finished running data.R
-## ℹ Finished 20240718-133331-b017c856 at 2024-07-18 13:33:31.716294 (0.02550149 secs)
-## [1] "20240718-133331-b017c856"
Our follow-on analysis contains:
orderly2::orderly_parameters(cyl = NULL) @@ -233,7 +233,7 @@
).Filtering candidates by parametersthis:cyl
+## ℹ Finished 20240726-145448-45ff1ffa at 2024-07-26 14:54:48.328701 (0.05278039 secs) +## [1] "20240726-145448-45ff1ffa"orderly2::orderly_run("analysis", list(cyl = 4)) -## ℹ Starting packet 'analysis' `20240718-133331-ddbd4f29` at 2024-07-18 13:33:31.869287 +## ℹ Starting packet 'analysis' `20240726-145448-45ff1ffa` at 2024-07-26 14:54:48.27592 ## ℹ Parameters: ## • cyl: 4 ## > orderly2::orderly_parameters(cyl = NULL) @@ -241,7 +241,7 @@
Filtering candidates by parameters## + "data", ## + "latest(parameter:cyl == this:cyl)", ## + "data.rds") -## ℹ Depending on data @ `20240718-133331-95984079` (via latest(parameter:cyl == this:cyl && name == "data")) +## ℹ Depending on data @ `20240726-145447-fd49e8bf` (via latest(parameter:cyl == this:cyl && name == "data")) ## > d <- readRDS("data.rds") ## > png("analysis.png") ## > plot(mpg ~ disp, d) @@ -249,8 +249,8 @@
Filtering candidates by parameters## agg_png ## 2 ## ✔ Finished running analysis.R -## ℹ Finished 20240718-133331-ddbd4f29 at 2024-07-18 13:33:31.921513 (0.05222631 secs) -## [1] "20240718-133331-ddbd4f29"
orderly2::orderly_run("analysis", list(cyl = 9000))
-## ℹ Starting packet 'analysis' `20240718-133332-006f473c` at 2024-07-18 13:33:32.004744
+## ℹ Starting packet 'analysis' `20240726-145448-68fad9a6` at 2024-07-26 14:54:48.412499
## ℹ Parameters:
## • cyl: 9000
## > orderly2::orderly_parameters(cyl = NULL)
@@ -267,7 +267,7 @@ Interpreting errors## + "latest(parameter:cyl == this:cyl)",
## + "data.rds")
## ✖ Error running analysis.R
-## ℹ Finished 20240718-133332-006f473c at 2024-07-18 13:33:32.065523 (0.06077886 secs)
+## ℹ Finished 20240726-145448-68fad9a6 at 2024-07-26 14:54:48.474903 (0.06240368 secs)
## Error in `orderly2::orderly_run()`:
## ! Failed to run report
## Caused by error in `outpack_packet_use_dependency()`:
@@ -324,8 +324,8 @@ Interpreting errors## [1] 3
##
## $found
-## [1] "20240718-133331-95984079" "20240718-133331-a30be989"
-## [3] "20240718-133331-b017c856"
(this would have worked with
rlang::last_error()$explanation$parts$A
too).
You can also use orderly2::orderly_metadata_extract
to
@@ -335,9 +335,9 @@
cyl
took in the evaluating environment.
Instead of a query, you can provide a single id (e.g,
-20240718-133331-ddbd4f29
), which would mean that even as
+20240726-145448-45ff1ffa
), which would mean that even as
new copies of the data
packet are created, this dependency
will always resolve to the same value.
You can chain together logical operations with
diff --git a/articles/index.html b/articles/index.html
index a1af62bd..35368c8d 100644
--- a/articles/index.html
+++ b/articles/index.html
@@ -7,7 +7,7 @@
orderly2
- 1.99.24
+ 1.99.25
Creating an empty orderly reposito
path <- tempfile() # we'll use a temporary directory here - see note below
orderly2::orderly_init(path)
-## ✔ Created orderly root at '/tmp/RtmpQOM7dW/file1ab319d5b3b'
which creates a few files:
## . ## ├── .outpack @@ -169,14 +169,14 @@
:Creating your first orderly reportorderly2::orderly_run()
+## [1] "20240726-145451-ad223b34"id <- orderly2::orderly_run("incoming_data") -## ℹ Starting packet 'incoming_data' `20240718-133335-3dbe5d00` at 2024-07-18 13:33:35.246068 +## ℹ Starting packet 'incoming_data' `20240726-145451-ad223b34` at 2024-07-26 14:54:51.680461 ## > d <- read.csv("data.csv") ## > d$z <- resid(lm(y ~ x, d)) ## > saveRDS(d, "data.rds") ## ✔ Finished running incoming_data.R -## ℹ Finished 20240718-133335-3dbe5d00 at 2024-07-18 13:33:35.309015 (0.06294656 secs) +## ℹ Finished 20240726-145451-ad223b34 at 2024-07-26 14:54:51.743696 (0.06323576 secs) id -## [1] "20240718-133335-3dbe5d00"
The id
that is created is a new identifier for the
packet that will be both unique among all packets (within reason) and
chronologically sortable. A packet that has an id that sorts after
@@ -185,7 +185,7 @@
## .
## ├── archive
## │ └── incoming_data
-## │ └── 20240718-133335-3dbe5d00
+## │ └── 20240726-145451-ad223b34
## │ ├── data.csv
## │ ├── data.rds
## │ └── incoming_data.R
@@ -198,7 +198,7 @@ Creating your first orderly report## └── incoming_data.R
A few things have changed here:
orderly2::orderly_run()
:
id <- orderly2::orderly_run("analysis")
-## ℹ Starting packet 'analysis' `20240718-133335-c1572e39` at 2024-07-18 13:33:35.758348
+## ℹ Starting packet 'analysis' `20240726-145452-3024d97b` at 2024-07-26 14:54:52.190497
## > orderly2::orderly_dependency("incoming_data", "latest()",
## + c("incoming.rds" = "data.rds"))
-## ℹ Depending on incoming_data @ `20240718-133335-3dbe5d00` (via latest(name == "incoming_data"))
+## ℹ Depending on incoming_data @ `20240726-145451-ad223b34` (via latest(name == "incoming_data"))
## > d <- readRDS("incoming.rds")
## > png("analysis.png")
## > plot(y ~ x, d)
@@ -281,7 +281,7 @@ Depending on packets from anot
## agg_png
## 2
## ✔ Finished running analysis.R
-## ℹ Finished 20240718-133335-c1572e39 at 2024-07-18 13:33:35.838919 (0.08057094 secs)
For more information on dependencies, see
vignette("dependencies")
.
id <- orderly2::orderly_run("incoming_data")
-## ℹ Starting packet 'incoming_data' `20240718-133336-0d2cd851` at 2024-07-18 13:33:36.05651
+## ℹ Starting packet 'incoming_data' `20240726-145452-7b200533` at 2024-07-26 14:54:52.48266
## > orderly2::orderly_strict_mode()
## > orderly2::orderly_resource("data.csv")
## > orderly2::orderly_artefact("Processed data", "data.rds")
@@ -372,7 +372,7 @@ Available in-report orderly comman
## future versions of orderly, we will change the order of the arguments to
## 'orderly_artefact()' so that 'files' comes first. If you name your calls to
## 'description' then you will be compatible when we make this change.
-## ℹ Finished 20240718-133336-0d2cd851 at 2024-07-18 13:33:36.098441 (0.04193115 secs)
id <- orderly2::orderly_run("random", list(n_samples = 15))
-## ℹ Starting packet 'random' `20240718-133336-51286d26` at 2024-07-18 13:33:36.320196
+## ℹ Starting packet 'random' `20240726-145452-be6013ac` at 2024-07-26 14:54:52.746183
## ℹ Parameters:
## • n_samples: 15
## > orderly2::orderly_parameters(n_samples = 10)
@@ -422,7 +422,7 @@ Parameterised reports## > d <- data.frame(x = x, y = x + rnorm(n_samples))
## > saveRDS(d, "data.rds")
## ✔ Finished running random.R
-## ℹ Finished 20240718-133336-51286d26 at 2024-07-18 13:33:36.346863 (0.02666688 secs)
Our resulting file has 15 rows, as the parameter we passed in affected the report:
@@ -449,11 +449,11 @@Parameterised reports
+## [1] "20240726-145452-be6013ac"orderly2::orderly_search('latest(name == "random")') -## [1] "20240718-133336-51286d26"
But we can also pass in parameter queries here:
orderly2::orderly_search('latest(name == "random" && parameter:n_samples > 10)')
-## [1] "20240718-133336-51286d26"
These can be used within orderly2::orderly_dependency()
(the name == "random"
part is implied by the first
name
argument), for example
## .
## ├── archive
## │ ├── analysis
-## │ │ └── 20240718-133335-c1572e39
+## │ │ └── 20240726-145452-3024d97b
## │ │ ├── analysis.R
## │ │ ├── analysis.png
## │ │ └── incoming.rds
## │ ├── incoming_data
-## │ │ ├── 20240718-133335-3dbe5d00
+## │ │ ├── 20240726-145451-ad223b34
## │ │ │ ├── data.csv
## │ │ │ ├── data.rds
## │ │ │ └── incoming_data.R
-## │ │ └── 20240718-133336-0d2cd851
+## │ │ └── 20240726-145452-7b200533
## │ │ ├── data.csv
## │ │ ├── data.rds
## │ │ └── incoming_data.R
## │ └── random
-## │ └── 20240718-133336-51286d26
+## │ └── 20240726-145452-be6013ac
## │ ├── data.rds
## │ └── random.R
## ├── draft
@@ -530,7 +530,7 @@ Shared resourcesWe can run this:
id <- orderly2::orderly_run("use_shared")
-## ℹ Starting packet 'use_shared' `20240718-133336-cdd42d56` at 2024-07-18 13:33:36.807196
+## ℹ Starting packet 'use_shared' `20240726-145453-40c3a98b` at 2024-07-26 14:54:53.255516
## > orderly2::orderly_shared_resource("data.csv")
## > orderly2::orderly_artefact("analysis", "analysis.png")
## Warning: Please use a named argument for the description in 'orderly_artefact()'
@@ -549,11 +549,11 @@ Shared resources## future versions of orderly, we will change the order of the arguments to
## 'orderly_artefact()' so that 'files' comes first. If you name your calls to
## 'description' then you will be compatible when we make this change.
-## ℹ Finished 20240718-133336-cdd42d56 at 2024-07-18 13:33:36.854831 (0.04763579 secs)
+## ℹ Finished 20240726-145453-40c3a98b at 2024-07-26 14:54:53.300935 (0.04541826 secs)
In the resulting archive, the file that was used from the shared directory is present:
## archive/use_shared
-## └── 20240718-133336-cdd42d56
+## └── 20240726-145453-40c3a98b
## ├── analysis.png
## ├── data.csv
## └── use_shared.R
@@ -647,49 +647,49 @@ When we run the analysis
task, it will pull in the most
-recent version (20240718-133336-0d2cd851
). However, if you
+recent version (20240726-145452-7b200533
). However, if you
had deleted this manually (e.g., to save space or accidentally) or
corrupted it (e.g., by opening some output in Excel and letting it save
changes) it will not be able to be included, and running
analysis
will fail:
orderly2::orderly_run("analysis")
-## ℹ Starting packet 'analysis' `20240718-133337-715edc9c` at 2024-07-18 13:33:37.445934
+## ℹ Starting packet 'analysis' `20240726-145453-e3240a24` at 2024-07-26 14:54:53.889705
## > orderly2::orderly_dependency("incoming_data", "latest()",
## + c("incoming.rds" = "data.rds"))
## ✖ Error running analysis.R
-## ℹ Finished 20240718-133337-715edc9c at 2024-07-18 13:33:37.525619 (0.07968497 secs)
+## ℹ Finished 20240726-145453-e3240a24 at 2024-07-26 14:54:53.965524 (0.07581878 secs)
## Error in `orderly2::orderly_run()`:
## ! Failed to run report
## Caused by error in `orderly_copy_files()`:
-## ! Unable to copy files, due to deleted packet 20240718-133336-0d2cd851
-## ℹ Consider 'orderly2::orderly_validate_archive("20240718-133336-0d2cd851",
+## ! Unable to copy files, due to deleted packet 20240726-145452-7b200533
+## ℹ Consider 'orderly2::orderly_validate_archive("20240726-145452-7b200533",
## action = "orphan")' to remove this packet from consideration
## Caused by error:
## ! File not found in archive
## ✖ data.rds
The error here tries to be fairly informative, telling us that we
failed because when copying files from
-20240718-133336-0d2cd851
we found that the packet was
+20240726-145452-7b200533
we found that the packet was
corrupt, because the file data.rds
was not found in the
archive. It also suggests a fix; we can tell orderly2
that
-20240718-133336-0d2cd851
is “orphaned” and should not be
+20240726-145452-7b200533
is “orphaned” and should not be
considered for inclusion when we look for dependencies.
We can carry out the suggestion and just validate this packet by running
-orderly2::orderly_validate_archive("20240718-133336-0d2cd851", action = "orphan")
orderly2::orderly_validate_archive("20240726-145452-7b200533", action = "orphan")
or we can validate all the packets we have:
orderly2::orderly_validate_archive(action = "orphan")
-## ✔ 20240718-133335-3dbe5d00 (incoming_data) is valid
-## ✔ 20240718-133335-c1572e39 (analysis) is valid
-## ✖ 20240718-133336-0d2cd851 (incoming_data) is invalid due to its files
-## ✔ 20240718-133336-51286d26 (random) is valid
-## ✔ 20240718-133336-cdd42d56 (use_shared) is valid
If we had the option core.require_complete_tree
enabled,
then this process would also look for any packets that used our
now-deleted packet and orphan those too, as we no longer have a complete
@@ -776,16 +776,16 @@
As can be perhaps inferred from the filenames, the files
.outpack/metadata/<packet-id>
are the metadata for
each packet as it has been run. The files
@@ -825,16 +825,16 @@
The files under Our plugin is called subsequent calls will not display the warning: The rest of this section discusses how you might permanently fix the
issue. FitzJohn R, Ashton R, Hill A (2024).
orderly2: Orderly Next Generation.
-R package version 1.99.24, https://github.com/mrc-ide/orderly2.
+R package version 1.99.25, https://github.com/mrc-ide/orderly2.
.outpack/files/
should never be modified
or deleted. This approach to storage naturally deduplicates the file
archive, so that a large file used in many places is only ever stored
diff --git a/articles/metadata.html b/articles/metadata.html
index d8f1879c..ce6039c0 100644
--- a/articles/metadata.html
+++ b/articles/metadata.html
@@ -20,7 +20,7 @@
orderly2
- 1.99.24
+ 1.99.25
An example
+ path: /tmp/RtmplhCj0H/file1bd01989bc51
minimum_orderly_version: 1.99.0
plugins:
example.db:
- path: /tmp/RtmpjmQZOJ/file1ba4106ca4ff
example.db
and is listed within the
plugins
section, along with its configuration; in this case
indicating the path where the SQLite file can be loaded from.Trying it out
+## ℹ Finished 20240726-145502-18d0d258 at 2024-07-26 14:55:02.29404 (0.1932282 secs)
+## [1] "20240726-145502-18d0d258"
orderly2::orderly_run("example", root = path_root)
-## ℹ Starting packet 'example' `20240718-133345-a9977653` at 2024-07-18 13:33:45.667021
+## ℹ Starting packet 'example' `20240726-145502-18d0d258` at 2024-07-26 14:55:02.100811
## > dat <- example.db::query("SELECT * FROM mtcars WHERE cyl == 4")
## > orderly2::orderly_artefact("Summary of data", "data.rds")
## Warning: Please use a named argument for the description in 'orderly_artefact()'
@@ -303,8 +303,8 @@
Trying it out## future versions of orderly, we will change the order of the arguments to
## 'orderly_artefact()' so that 'files' comes first. If you name your calls to
## 'description' then you will be compatible when we make this change.
-## ℹ Finished 20240718-133345-a9977653 at 2024-07-18 13:33:45.866017 (0.1989961 secs)
-## [1] "20240718-133345-a9977653"
Saving metadata about what th
## .
## ├── archive
## │ └── example
-## │ └── 20240718-133345-a9977653
+## │ └── 20240726-145502-18d0d258
## │ ├── data.rds
## │ └── example.R
## ├── draft
@@ -496,7 +496,7 @@
Saving metadata about what th
several).
id <- orderly2::orderly_run("example", root = path_root)
-## ℹ Starting packet 'example' `20240718-133346-befa94de` at 2024-07-18 13:33:46.749205
+## ℹ Starting packet 'example' `20240726-145503-29bb435f` at 2024-07-26 14:55:03.165551
## > dat <- example.db::query("SELECT * FROM mtcars WHERE cyl == 4")
## > orderly2::orderly_artefact("Summary of data", "data.rds")
## Warning: Please use a named argument for the description in 'orderly_artefact()'
@@ -510,7 +510,7 @@
Saving metadata about what th
## future versions of orderly, we will change the order of the arguments to
## 'orderly_artefact()' so that 'files' comes first. If you name your calls to
## 'description' then you will be compatible when we make this change.
-## ℹ Finished 20240718-133346-befa94de at 2024-07-18 13:33:46.80404 (0.05483508 secs)
+## ℹ Finished 20240726-145503-29bb435f at 2024-07-26 14:55:03.220458 (0.05490756 secs)
meta <- orderly2::orderly_metadata(id, root = path_root)
meta$custom$example.db
## sql rows cols
diff --git a/articles/query.html b/articles/query.html
index f21509ea..76e37248 100644
--- a/articles/query.html
+++ b/articles/query.html
@@ -20,7 +20,7 @@
orderly2
- 1.99.24
+ 1.99.25
Outpack files accidentally
## <https://mrc-ide.github.io/orderly2/articles/troubleshooting.html>
## This warning is displayed once per session.
-## ✔ Wrote '.gitignore'
+## ℹ Starting packet 'data' `20240718-133352-f9d964d9` at 2024-07-18 13:33:52.979093
## ℹ Starting packet 'data' `20240726-145509-f93b7529` at 2024-07-26 14:55:09.97605
## > orderly2::orderly_artefact("data.rds", description = "Final data")
## > saveRDS(mtcars, "data.rds")
-## ✔ Finished running data.R
-## ℹ Finished 20240718-133352-f9d964d9 at 2024-07-18 13:33:53.015726 (0.03663349 secs)
+## [1] "20240718-133352-f9d964d9"
+## ℹ Finished 20240726-145509-f93b7529 at 2024-07-26 14:55:10.015431 (0.03938103 secs)
## [1] "20240726-145509-f93b7529"
orderly2::orderly_run("data")
+## ℹ Starting packet 'data' `20240718-133353-19d3e58c` at 2024-07-18 13:33:53.104033
## ℹ Starting packet 'data' `20240726-145510-1abe1604` at 2024-07-26 14:55:10.106986
## > orderly2::orderly_artefact("data.rds", description = "Final data")
## > saveRDS(mtcars, "data.rds")
-## ✔ Finished running data.R
-## ℹ Finished 20240718-133353-19d3e58c at 2024-07-18 13:33:53.125872 (0.02183962 secs)
+## [1] "20240718-133353-19d3e58c"
+## ℹ Finished 20240726-145510-1abe1604 at 2024-07-26 14:55:10.129324 (0.02233839 secs)
## [1] "20240726-145510-1abe1604"
Citation
@Manual{,
title = {orderly2: Orderly Next Generation},
author = {Rich FitzJohn and Robert Ashton and Alex Hill},
year = {2024},
- note = {R package version 1.99.24},
+ note = {R package version 1.99.25},
url = {https://github.com/mrc-ide/orderly2},
}
Notes for user of orderly1Examples
# Create a simple example:
path <- orderly2::orderly_example("default")
-#> ✔ Created orderly root at '/tmp/RtmpcQu8K3/file16cb77a4c75c'
+#> ✔ Created orderly root at '/tmp/RtmpwVBAvz/file16f559b0d628'
# We simulate running a packet interactively by using 'source';
# you might have run this line-by-line, or with the "Source"
# button in Rstudio.
source(file.path(path, "src/data/data.R"), chdir = TRUE)
-#> Warning: cannot open file '/tmp/RtmpcQu8K3/file16cb77a4c75c/src/data/data.R': No such file or directory
+#> Warning: cannot open file '/tmp/RtmpwVBAvz/file16f559b0d628/src/data/data.R': No such file or directory
#> Error in file(filename, "r", encoding = encoding): cannot open the connection
# Having run this, the output of the report is present in the
# source directory:
fs::dir_tree(path)
-#> Error: [ENOENT] Failed to search directory '/tmp/RtmpcQu8K3/file16cb77a4c75c': no such file or directory
+#> Error: [ENOENT] Failed to search directory '/tmp/RtmpwVBAvz/file16f559b0d628': no such file or directory
# We can detect what might want cleaning up by running
# "orderly_cleanup_status":
orderly2::orderly_cleanup_status("data", root = path)
-#> Error: Directory does not exist: '/tmp/RtmpcQu8K3/file16cb77a4c75c'
+#> Error: Directory does not exist: '/tmp/RtmpwVBAvz/file16f559b0d628'
# Soon this will print more nicely to the screen, but for now you
# can see that the status of "data.rds" is "derived", which means
@@ -161,7 +161,7 @@
Examples
# Do the actual deletion:
orderly2::orderly_cleanup("data", root = path)
-#> Error: Directory does not exist: '/tmp/RtmpcQu8K3/file16cb77a4c75c'
+#> Error: Directory does not exist: '/tmp/RtmpwVBAvz/file16f559b0d628'