From c4ec7135228716f487a85ed69fc6bec20883e4d7 Mon Sep 17 00:00:00 2001 From: LTLA Date: Mon, 25 Nov 2024 20:27:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Artifact?= =?UTF-8?q?DB/SewerRat-R@40056926baa080b6214426ace6f6016b7720a267=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- LICENSE-text.html | 2 +- articles/index.html | 2 +- articles/userguide.html | 54 +++---- authors.html | 6 +- index.html | 2 +- pkgdown.yml | 2 +- reference/deregister.html | 8 +- reference/index.html | 2 +- reference/listFiles.html | 2 +- reference/listRegisteredDirectories.html | 18 +-- reference/query.html | 190 ++++++++++++----------- reference/register.html | 18 +-- reference/retrieveDirectory.html | 6 +- reference/retrieveFile.html | 6 +- reference/retrieveMetadata.html | 10 +- reference/startSewerRat.html | 2 +- 17 files changed, 173 insertions(+), 159 deletions(-) diff --git a/404.html b/404.html index 66d2612..ee580bb 100644 --- a/404.html +++ b/404.html @@ -32,7 +32,7 @@ SewerRat - 0.3.1 + 0.3.2 diff --git a/LICENSE-text.html b/LICENSE-text.html index 59dfb74..7cd879d 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2 diff --git a/articles/index.html b/articles/index.html index 70ecd6d..0d798aa 100644 --- a/articles/index.html +++ b/articles/index.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2 diff --git a/articles/userguide.html b/articles/userguide.html index 2cb9dcc..90c02a4 100644 --- a/articles/userguide.html +++ b/articles/userguide.html @@ -32,7 +32,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -134,55 +134,55 @@

Searching the index
 lapply(query("foo", url=info$url), function(x) x$path)
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"
 lapply(query("bar*", url=info$url), function(x) x$path) # partial match to 'bar...'
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"
 ## 
 ## [[2]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"
 lapply(query("bar* AND foo", url=info$url), function(x) x$path) # boolean operations
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"
 lapply(query("food:bar*", url=info$url), function(x) x$path) # match in the 'food' field
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"

We can also search on the user, path components, and time of creation:

 lapply(query(user=Sys.info()["user"], url=info$url), function(x) x$path) # created by myself
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"
 ## 
 ## [[2]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"
 lapply(query(path="stuff", url=info$url), function(x) x$path) # path has 'stuff' in it
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"
 lapply(query(from=Sys.time() - 3600, url=info$url), function(x) x$path) # created less than 1 hour ago
## [[1]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"
 ## 
 ## [[2]]
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"

Or indeed, any combination of these fields, which are treated as a boolean AND in the query:

 query("barramundi", path="stuff", url=info$url)
## [[1]]
 ## [[1]]$path
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/stuff/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/stuff/metadata.json"
 ## 
 ## [[1]]$user
 ## [1] "root"
 ## 
 ## [[1]]$time
-## [1] 1730920566
+## [1] 1732566455
 ## 
 ## [[1]]$metadata
 ## [[1]]$metadata$food
@@ -215,13 +215,13 @@ 

Retrieving files
 retrieveMetadata(file.path(mydir, "metadata.json"), url=info$url)
## $path
-## [1] "/tmp/RtmpEuLVJd/file3682f39648f/metadata.json"
+## [1] "/tmp/RtmpbGWTjV/file3517637b5a4/metadata.json"
 ## 
 ## $user
 ## [1] "root"
 ## 
 ## $time
-## [1] 1730920566
+## [1] 1732566455
 ## 
 ## $metadata
 ## $metadata$name
@@ -235,13 +235,13 @@ 

Session information
 sessionInfo()
-
## R version 4.4.1 (2024-06-14)
+
## R Under development (unstable) (2024-11-20 r87352)
 ## Platform: x86_64-pc-linux-gnu
-## Running under: Ubuntu 22.04.5 LTS
+## Running under: Ubuntu 24.04.1 LTS
 ## 
 ## Matrix products: default
 ## BLAS:   /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 
-## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so;  LAPACK version 3.10.0
+## LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so;  LAPACK version 3.12.0
 ## 
 ## locale:
 ##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
@@ -258,19 +258,19 @@ 

Session information## [1] stats graphics grDevices utils datasets methods base ## ## other attached packages: -## [1] SewerRat_0.3.1 BiocStyle_2.34.0 +## [1] SewerRat_0.3.2 BiocStyle_2.35.0 ## ## loaded via a namespace (and not attached): -## [1] cli_3.6.3 knitr_1.48 rlang_1.1.4 -## [4] xfun_0.48 textshaping_0.4.0 jsonlite_1.8.9 +## [1] cli_3.6.3 knitr_1.49 rlang_1.1.4 +## [4] xfun_0.49 textshaping_0.4.0 jsonlite_1.8.9 ## [7] glue_1.8.0 htmltools_0.5.8.1 ragg_1.3.3 -## [10] sass_0.4.9 rappdirs_0.3.3 rmarkdown_2.28 +## [10] sass_0.4.9 rappdirs_0.3.3 rmarkdown_2.29 ## [13] evaluate_1.0.1 jquerylib_0.1.4 fastmap_1.2.0 -## [16] yaml_2.3.10 lifecycle_1.0.4 httr2_1.0.5 -## [19] bookdown_0.41 BiocManager_1.30.25 compiler_4.4.1 -## [22] fs_1.6.4 htmlwidgets_1.6.4 systemfonts_1.1.0 -## [25] digest_0.6.37 R6_2.5.1 curl_5.2.3 -## [28] magrittr_2.0.3 bslib_0.8.0 tools_4.4.1 +## [16] yaml_2.3.10 lifecycle_1.0.4 httr2_1.0.6 +## [19] bookdown_0.41 BiocManager_1.30.25 compiler_4.5.0 +## [22] fs_1.6.5 htmlwidgets_1.6.4 systemfonts_1.1.0 +## [25] digest_0.6.37 R6_2.5.1 curl_6.0.1 +## [28] magrittr_2.0.3 bslib_0.8.0 tools_4.5.0 ## [31] pkgdown_2.1.1 cachem_1.1.0 desc_1.4.3

diff --git a/authors.html b/authors.html index c1f96f9..d0b42c6 100644 --- a/authors.html +++ b/authors.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -64,13 +64,13 @@

Citation

Lun A (2024). SewerRat: Client for the SewerRat API. -R package version 0.3.1. +R package version 0.3.2.

@Manual{,
   title = {SewerRat: Client for the SewerRat API},
   author = {Aaron Lun},
   year = {2024},
-  note = {R package version 0.3.1},
+  note = {R package version 0.3.2},
 }
diff --git a/index.html b/index.html index 183be85..07aaa80 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,7 @@ SewerRat - 0.3.1 + 0.3.2 diff --git a/pkgdown.yml b/pkgdown.yml index 0c5626d..1e801fe 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -3,4 +3,4 @@ pkgdown: 2.1.1 pkgdown_sha: ~ articles: userguide: userguide.html -last_built: 2024-11-06T19:15Z +last_built: 2024-11-25T20:27Z diff --git a/reference/deregister.html b/reference/deregister.html index 1cac45c..292ca1b 100644 --- a/reference/deregister.html +++ b/reference/deregister.html @@ -19,7 +19,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -91,7 +91,7 @@

Author

Examples

# Start up an example SewerRat service:
 info <- startSewerRat()
-#> Warning: cannot rename file '/tmp/RtmpNH4jgs/file2557a06e0a4' to '/github/home/.local/share/R/SewerRat/SewerRat-linux-amd641.1.0', reason 'Invalid cross-device link'
+#> Warning: cannot rename file '/tmp/Rtmpb0Ds7P/file23d2a13784a' to '/github/home/.local/share/R/SewerRat/SewerRat-linux-amd641.1.0', reason 'Invalid cross-device link'
 
 tmp <- tempfile()
 dir.create(tmp)
@@ -100,13 +100,13 @@ 

Examples

query("bar", url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file2557f75f2d0/whee.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d5e389b8e/whee.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[1]]$metadata #> [[1]]$metadata$foo diff --git a/reference/index.html b/reference/index.html index f7d8440..0de7c69 100644 --- a/reference/index.html +++ b/reference/index.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2
diff --git a/reference/listFiles.html b/reference/listFiles.html index 6567de2..9c50f15 100644 --- a/reference/listFiles.html +++ b/reference/listFiles.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2 diff --git a/reference/listRegisteredDirectories.html b/reference/listRegisteredDirectories.html index d1fe701..e8b27ab 100644 --- a/reference/listRegisteredDirectories.html +++ b/reference/listRegisteredDirectories.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -113,13 +113,13 @@

Examples

listRegisteredDirectories(url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[1]]$names #> [[1]]$names[[1]] @@ -129,13 +129,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$names #> [[2]]$names[[1]] @@ -146,13 +146,13 @@

Examples

listRegisteredDirectories(url=info$url, user=TRUE) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[1]]$names #> [[1]]$names[[1]] @@ -162,13 +162,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$names #> [[2]]$names[[1]] diff --git a/reference/query.html b/reference/query.html index 82ed2bd..6ec6eaa 100644 --- a/reference/query.html +++ b/reference/query.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -56,7 +56,16 @@

Query metadata

-
query(text, user, path, from, until, url, number = 100)
+    
query(
+  text,
+  user,
+  path,
+  from,
+  until,
+  url,
+  number = 100,
+  on.truncation = c("message", "warning", "none")
+)
 
 formatQueryResults(results)
@@ -98,6 +107,11 @@

Arguments

Integer specifying the maximum number of results to return.

+
on.truncation
+

String specifying what to do when the number of results exceeds number. +Either "warning", "message", or "none".

+ +
results

List containing the output of query.

@@ -160,13 +174,13 @@

Examples

query("aaron", url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$first @@ -179,13 +193,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$first @@ -198,13 +212,13 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[3]]$metadata #> [[3]]$metadata$first @@ -218,13 +232,13 @@

Examples

query("lun*", url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$first @@ -237,13 +251,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/diet/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$meal @@ -256,51 +270,51 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/diet/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[3]]$metadata -#> [[3]]$metadata$first -#> [1] "Aaron" +#> [[3]]$metadata$meal +#> [1] "lunch" #> -#> [[3]]$metadata$last -#> [1] "Lun" +#> [[3]]$metadata$ingredients +#> [1] "water" #> #> #> #> [[4]] #> [[4]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[4]]$user #> [1] "root" #> #> [[4]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[4]]$metadata -#> [[4]]$metadata$meal -#> [1] "lunch" +#> [[4]]$metadata$first +#> [1] "Aaron" #> -#> [[4]]$metadata$ingredients -#> [1] "water" +#> [[4]]$metadata$last +#> [1] "Lun" #> #> #> #> [[5]] #> [[5]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[5]]$user #> [1] "root" #> #> [[5]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[5]]$metadata #> [[5]]$metadata$first @@ -313,13 +327,13 @@

Examples

#> #> [[6]] #> [[6]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/diet/metadata.json" #> #> [[6]]$user #> [1] "root" #> #> [[6]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[6]]$metadata #> [[6]]$metadata$meal @@ -333,13 +347,13 @@

Examples

query("lun* AND aaron", url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$first @@ -352,13 +366,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$first @@ -371,13 +385,13 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[3]]$metadata #> [[3]]$metadata$first @@ -394,13 +408,13 @@

Examples

query(path="diet/", url=info$url) # has 'diet/' in the path #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/diet/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$meal @@ -413,13 +427,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/diet/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$meal @@ -432,13 +446,13 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/diet/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[3]]$metadata #> [[3]]$metadata$meal @@ -452,13 +466,13 @@

Examples

query(user=Sys.info()["user"], url=info$url) # created by the current user #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$first @@ -471,13 +485,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/diet/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$meal @@ -490,51 +504,51 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/diet/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[3]]$metadata -#> [[3]]$metadata$first -#> [1] "Aaron" +#> [[3]]$metadata$meal +#> [1] "lunch" #> -#> [[3]]$metadata$last -#> [1] "Lun" +#> [[3]]$metadata$ingredients +#> [1] "water" #> #> #> #> [[4]] #> [[4]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[4]]$user #> [1] "root" #> #> [[4]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[4]]$metadata -#> [[4]]$metadata$meal -#> [1] "lunch" +#> [[4]]$metadata$first +#> [1] "Aaron" #> -#> [[4]]$metadata$ingredients -#> [1] "water" +#> [[4]]$metadata$last +#> [1] "Lun" #> #> #> #> [[5]] #> [[5]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[5]]$user #> [1] "root" #> #> [[5]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[5]]$metadata #> [[5]]$metadata$first @@ -547,13 +561,13 @@

Examples

#> #> [[6]] #> [[6]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/diet/metadata.json" #> #> [[6]]$user #> [1] "root" #> #> [[6]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[6]]$metadata #> [[6]]$metadata$meal @@ -567,13 +581,13 @@

Examples

query(from=Sys.time() - 60, url=info$url) # no more than 1 minute old #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$first @@ -586,13 +600,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/diet/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$meal @@ -605,51 +619,51 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/diet/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[3]]$metadata -#> [[3]]$metadata$first -#> [1] "Aaron" +#> [[3]]$metadata$meal +#> [1] "lunch" #> -#> [[3]]$metadata$last -#> [1] "Lun" +#> [[3]]$metadata$ingredients +#> [1] "water" #> #> #> #> [[4]] #> [[4]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[4]]$user #> [1] "root" #> #> [[4]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[4]]$metadata -#> [[4]]$metadata$meal -#> [1] "lunch" +#> [[4]]$metadata$first +#> [1] "Aaron" #> -#> [[4]]$metadata$ingredients -#> [1] "water" +#> [[4]]$metadata$last +#> [1] "Lun" #> #> #> #> [[5]] #> [[5]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[5]]$user #> [1] "root" #> #> [[5]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[5]]$metadata #> [[5]]$metadata$first @@ -662,13 +676,13 @@

Examples

#> #> [[6]] #> [[6]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/diet/metadata.json" #> #> [[6]]$user #> [1] "root" #> #> [[6]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[6]]$metadata #> [[6]]$metadata$meal @@ -683,17 +697,17 @@

Examples

q <- query("lun*", url=info$url) formatQueryResults(q) #> path user time -#> 1 /tmp/RtmpNH4jgs/file255169629c1/metadata.json root 2024-11-06 19:15:59 -#> 2 /tmp/RtmpNH4jgs/file255169629c1/diet/metadata.json root 2024-11-06 19:15:59 -#> 3 /tmp/RtmpNH4jgs/file25560e4a910/metadata.json root 2024-11-06 19:15:59 -#> 4 /tmp/RtmpNH4jgs/file25560e4a910/diet/metadata.json root 2024-11-06 19:15:59 -#> 5 /tmp/RtmpNH4jgs/file2555972c0b4/metadata.json root 2024-11-06 19:15:59 -#> 6 /tmp/RtmpNH4jgs/file2555972c0b4/diet/metadata.json root 2024-11-06 19:15:59 +#> 1 /tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json root 2024-11-25 20:27:29 +#> 2 /tmp/Rtmpb0Ds7P/file23d4c657c66/diet/metadata.json root 2024-11-25 20:27:29 +#> 3 /tmp/Rtmpb0Ds7P/file23d1673dfee/diet/metadata.json root 2024-11-25 20:27:29 +#> 4 /tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json root 2024-11-25 20:27:29 +#> 5 /tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json root 2024-11-25 20:27:28 +#> 6 /tmp/Rtmpb0Ds7P/file23d2419322d/diet/metadata.json root 2024-11-25 20:27:28 #> metadata #> 1 Aaron, Lun #> 2 lunch, water -#> 3 Aaron, Lun -#> 4 lunch, water +#> 3 lunch, water +#> 4 Aaron, Lun #> 5 Aaron, Lun #> 6 lunch, water
diff --git a/reference/register.html b/reference/register.html index 6bc83b9..403a100 100644 --- a/reference/register.html +++ b/reference/register.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -105,13 +105,13 @@

Examples

query("Aaron", url=info$url) #> [[1]] #> [[1]]$path -#> [1] "/tmp/RtmpNH4jgs/file2557cfe5b92/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d41649383/metadata.json" #> #> [[1]]$user #> [1] "root" #> #> [[1]]$time -#> [1] 1730920560 +#> [1] 1732566449 #> #> [[1]]$metadata #> [[1]]$metadata$name @@ -121,13 +121,13 @@

Examples

#> #> [[2]] #> [[2]]$path -#> [1] "/tmp/RtmpNH4jgs/file255169629c1/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d4c657c66/metadata.json" #> #> [[2]]$user #> [1] "root" #> #> [[2]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[2]]$metadata #> [[2]]$metadata$first @@ -140,13 +140,13 @@

Examples

#> #> [[3]] #> [[3]]$path -#> [1] "/tmp/RtmpNH4jgs/file25560e4a910/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d1673dfee/metadata.json" #> #> [[3]]$user #> [1] "root" #> #> [[3]]$time -#> [1] 1730920559 +#> [1] 1732566449 #> #> [[3]]$metadata #> [[3]]$metadata$first @@ -159,13 +159,13 @@

Examples

#> #> [[4]] #> [[4]]$path -#> [1] "/tmp/RtmpNH4jgs/file2555972c0b4/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d2419322d/metadata.json" #> #> [[4]]$user #> [1] "root" #> #> [[4]]$time -#> [1] 1730920559 +#> [1] 1732566448 #> #> [[4]]$metadata #> [[4]]$metadata$first diff --git a/reference/retrieveDirectory.html b/reference/retrieveDirectory.html index 2af96a6..35f3d32 100644 --- a/reference/retrieveDirectory.html +++ b/reference/retrieveDirectory.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -142,9 +142,9 @@

Examples

# Fetching it, either directly or via the API. retrieveDirectory(mydir, url=info$url) -#> [1] "/tmp/RtmpNH4jgs/file2554e51e557" +#> [1] "/tmp/Rtmpb0Ds7P/file23d51193ea5" retrieveDirectory(paste0(mydir, "/diet"), url=info$url, forceRemote=TRUE) -#> [1] "/github/home/.local/share/R/SewerRat/http%3A%2F%2F0.0.0.0%3A5114/LOCAL//tmp/RtmpNH4jgs/file2554e51e557/diet" +#> [1] "/github/home/.local/share/R/SewerRat/http%3A%2F%2F0.0.0.0%3A5114/LOCAL//tmp/Rtmpb0Ds7P/file23d51193ea5/diet"

diff --git a/reference/retrieveFile.html b/reference/retrieveFile.html index 1b09260..b1a0dc9 100644 --- a/reference/retrieveFile.html +++ b/reference/retrieveFile.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -119,9 +119,9 @@

Examples

# Fetching it, either directly or via the API. retrieveFile(paste0(mydir, "/foo"), url=info$url) -#> [1] "/tmp/RtmpNH4jgs/file25576b34650/foo" +#> [1] "/tmp/Rtmpb0Ds7P/file23d251a7e90/foo" retrieveFile(paste0(mydir, "/diet/bar"), url=info$url, forceRemote=TRUE) -#> [1] "/github/home/.local/share/R/SewerRat/http%3A%2F%2F0.0.0.0%3A5114/LOCAL//tmp/RtmpNH4jgs/file25576b34650/diet/bar" +#> [1] "/github/home/.local/share/R/SewerRat/http%3A%2F%2F0.0.0.0%3A5114/LOCAL//tmp/Rtmpb0Ds7P/file23d251a7e90/diet/bar"
diff --git a/reference/retrieveMetadata.html b/reference/retrieveMetadata.html index 27b1f41..0601f93 100644 --- a/reference/retrieveMetadata.html +++ b/reference/retrieveMetadata.html @@ -17,7 +17,7 @@ SewerRat - 0.3.1 + 0.3.2 @@ -98,13 +98,13 @@

Examples

retrieveMetadata(paste0(mydir, "/metadata.json"), url=info$url) #> $path -#> [1] "/tmp/RtmpNH4jgs/file2556f2c3d77/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d7d273e17/metadata.json" #> #> $user #> [1] "root" #> #> $time -#> [1] 1730920560 +#> [1] 1732566450 #> #> $metadata #> $metadata$first @@ -116,13 +116,13 @@

Examples

#> retrieveMetadata(paste0(mydir, "/diet/metadata.json"), url=info$url) #> $path -#> [1] "/tmp/RtmpNH4jgs/file2556f2c3d77/diet/metadata.json" +#> [1] "/tmp/Rtmpb0Ds7P/file23d7d273e17/diet/metadata.json" #> #> $user #> [1] "root" #> #> $time -#> [1] 1730920560 +#> [1] 1732566450 #> #> $metadata #> $metadata$meal diff --git a/reference/startSewerRat.html b/reference/startSewerRat.html index 5411d9a..5326bdb 100644 --- a/reference/startSewerRat.html +++ b/reference/startSewerRat.html @@ -18,7 +18,7 @@ SewerRat - 0.3.1 + 0.3.2