CRAN Package Check Results for Package hoardr

Last updated on 2024-12-28 02:49:35 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.4 3.67 22.99 26.66 NOTE
r-devel-linux-x86_64-debian-gcc 0.5.4 2.40 18.78 21.18 NOTE
r-devel-linux-x86_64-fedora-clang 0.5.4 46.82 OK
r-devel-linux-x86_64-fedora-gcc 0.5.4 55.42 OK
r-devel-windows-x86_64 0.5.4 4.00 48.00 52.00 ERROR
r-patched-linux-x86_64 0.5.4 3.58 22.31 25.89 OK
r-release-linux-x86_64 0.5.4 3.10 22.22 25.32 OK
r-release-macos-arm64 0.5.4 25.00 OK
r-release-macos-x86_64 0.5.4 45.00 OK
r-release-windows-x86_64 0.5.4 5.00 46.00 51.00 ERROR
r-oldrel-macos-arm64 0.5.4 29.00 OK
r-oldrel-macos-x86_64 0.5.4 75.00 OK
r-oldrel-windows-x86_64 0.5.4 4.00 48.00 52.00 ERROR

Check Details

Version: 0.5.4
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: hoard.Rd: rappdirs Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Version: 0.5.4
Check: examples
Result: ERROR Running examples in 'hoardr-Ex.R' failed The error most likely occurred in: > ### Name: hoard > ### Title: hoardr class > ### Aliases: hoard > > ### ** Examples > > (x <- hoard()) <hoard> path: cache path: > x$cache_path_set(path = "foobar", type = 'tempdir') [1] "D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/R/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_22_01_50_00_26287\RtmpWAP9EJ/R/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/R/foobar" > > # Or you can set the full path directly with `full_path` > mydir <- file.path(tempdir(), "foobar") > x$cache_path_set(full_path = mydir) [1] "D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_22_01_50_00_26287\RtmpWAP9EJ/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar" > > # make the directory if doesn't exist already > x$mkdir() > > # list files in dir > x$list() character(0) > cat(1:10000L, file = file.path(x$cache_path_get(), "foo.txt")) > x$list() [1] "D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo.txt" > > # add more files > cat(letters, file = file.path(x$cache_path_get(), "foo2.txt")) > cat(LETTERS, file = file.path(x$cache_path_get(), "foo3.txt")) > > # see if files exist > x$exists("foo.txt") # exists files exists 1 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo.txt TRUE > x$exists(c("foo.txt", "foo3.txt")) # both exist files exists 1 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo3.txt TRUE > x$exists(c("foo.txt", "foo3.txt", "stuff.txt")) # one doesn't exist files exists 1 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/foo3.txt TRUE 3 D:\\temp\\2024_12_22_01_50_00_26287\\RtmpWAP9EJ/foobar/stuff.txt FALSE > > # cache details > x$details() <cached files> directory: D:\temp\2024_12_22_01_50_00_26287\RtmpWAP9EJ/foobar Warning in sub(attr(x, "cpath"), "", x[[i]]$file) : TRE pattern compilation error 'Invalid back reference' Error in sub(attr(x, "cpath"), "", x[[i]]$file) : invalid regular expression 'D:\temp\2024_12_22_01_50_00_26287\RtmpWAP9EJ/foobar', reason 'Invalid back reference' Calls: <Anonymous> -> print.cache_info -> cat -> paste0 -> sub Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.4
Check: tests
Result: ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("hoardr") > test_check("hoardr") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-HoardClient.R:155:3'): HoardClient works when files exist ────── Error in `sub(attr(x, "cpath"), "", x[[i]]$file)`: invalid regular expression 'D:\temp\2024_12_22_01_50_00_26287\Rtmp8eE0xV/R/test456', reason 'Invalid back reference' Backtrace: ▆ 1. ├─testthat::expect_output(print(deets1), "<cached files>") at test-HoardClient.R:155:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::print(deets1) 11. └─hoardr:::print.cache_info(deets1) 12. ├─base::cat(...) 13. ├─base::paste0(" file: ", sub(attr(x, "cpath"), "", x[[i]]$file)) 14. └─base::sub(attr(x, "cpath"), "", x[[i]]$file) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'hoardr_vignette.Rmd' using rmarkdown Quitting from lines 91-92 [unnamed-chunk-10] (hoardr_vignette.Rmd) Error: processing vignette 'hoardr_vignette.Rmd' failed with diagnostics: invalid regular expression 'D:\temp\2024_12_22_01_50_00_26287\Rtmpu2Ympp/R/foobar', reason 'Invalid back reference' --- failed re-building 'hoardr_vignette.Rmd' SUMMARY: processing the following file failed: 'hoardr_vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.5.4
Check: examples
Result: ERROR Running examples in 'hoardr-Ex.R' failed The error most likely occurred in: > ### Name: hoard > ### Title: hoardr class > ### Aliases: hoard > > ### ** Examples > > (x <- hoard()) <hoard> path: cache path: > x$cache_path_set(path = "foobar", type = 'tempdir') [1] "D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/R/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_21_01_50_00_6285\RtmpwbIwFd/R/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/R/foobar" > > # Or you can set the full path directly with `full_path` > mydir <- file.path(tempdir(), "foobar") > x$cache_path_set(full_path = mydir) [1] "D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_21_01_50_00_6285\RtmpwbIwFd/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar" > > # make the directory if doesn't exist already > x$mkdir() > > # list files in dir > x$list() character(0) > cat(1:10000L, file = file.path(x$cache_path_get(), "foo.txt")) > x$list() [1] "D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo.txt" > > # add more files > cat(letters, file = file.path(x$cache_path_get(), "foo2.txt")) > cat(LETTERS, file = file.path(x$cache_path_get(), "foo3.txt")) > > # see if files exist > x$exists("foo.txt") # exists files exists 1 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo.txt TRUE > x$exists(c("foo.txt", "foo3.txt")) # both exist files exists 1 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo3.txt TRUE > x$exists(c("foo.txt", "foo3.txt", "stuff.txt")) # one doesn't exist files exists 1 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/foo3.txt TRUE 3 D:\\temp\\2024_12_21_01_50_00_6285\\RtmpwbIwFd/foobar/stuff.txt FALSE > > # cache details > x$details() <cached files> directory: D:\temp\2024_12_21_01_50_00_6285\RtmpwbIwFd/foobar Warning in sub(attr(x, "cpath"), "", x[[i]]$file) : TRE pattern compilation error 'Invalid back reference' Error in sub(attr(x, "cpath"), "", x[[i]]$file) : invalid regular expression 'D:\temp\2024_12_21_01_50_00_6285\RtmpwbIwFd/foobar', reason 'Invalid back reference' Calls: <Anonymous> -> print.cache_info -> cat -> paste0 -> sub Execution halted Flavor: r-release-windows-x86_64

Version: 0.5.4
Check: tests
Result: ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("hoardr") > test_check("hoardr") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-HoardClient.R:155:3'): HoardClient works when files exist ────── Error in `sub(attr(x, "cpath"), "", x[[i]]$file)`: invalid regular expression 'D:\temp\2024_12_21_01_50_00_6285\Rtmp8Qx5aW/R/test456', reason 'Invalid back reference' Backtrace: ▆ 1. ├─testthat::expect_output(print(deets1), "<cached files>") at test-HoardClient.R:155:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::print(deets1) 11. └─hoardr:::print.cache_info(deets1) 12. ├─base::cat(...) 13. ├─base::paste0(" file: ", sub(attr(x, "cpath"), "", x[[i]]$file)) 14. └─base::sub(attr(x, "cpath"), "", x[[i]]$file) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.5.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'hoardr_vignette.Rmd' using rmarkdown Quitting from lines 91-92 [unnamed-chunk-10] (hoardr_vignette.Rmd) Error: processing vignette 'hoardr_vignette.Rmd' failed with diagnostics: invalid regular expression 'D:\temp\2024_12_21_01_50_00_6285\RtmpcFxZ50/R/foobar', reason 'Invalid back reference' --- failed re-building 'hoardr_vignette.Rmd' SUMMARY: processing the following file failed: 'hoardr_vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-release-windows-x86_64

Version: 0.5.4
Check: examples
Result: ERROR Running examples in 'hoardr-Ex.R' failed The error most likely occurred in: > ### Name: hoard > ### Title: hoardr class > ### Aliases: hoard > > ### ** Examples > > (x <- hoard()) <hoard> path: cache path: > x$cache_path_set(path = "foobar", type = 'tempdir') [1] "D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/R/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_25_01_50_00_20757\RtmpY1sdNV/R/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/R/foobar" > > # Or you can set the full path directly with `full_path` > mydir <- file.path(tempdir(), "foobar") > x$cache_path_set(full_path = mydir) [1] "D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar" > x <hoard> path: foobar cache path: D:\temp\2024_12_25_01_50_00_20757\RtmpY1sdNV/foobar > x$path [1] "foobar" > x$cache_path_get() [1] "D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar" > > # make the directory if doesn't exist already > x$mkdir() > > # list files in dir > x$list() character(0) > cat(1:10000L, file = file.path(x$cache_path_get(), "foo.txt")) > x$list() [1] "D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo.txt" > > # add more files > cat(letters, file = file.path(x$cache_path_get(), "foo2.txt")) > cat(LETTERS, file = file.path(x$cache_path_get(), "foo3.txt")) > > # see if files exist > x$exists("foo.txt") # exists files exists 1 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo.txt TRUE > x$exists(c("foo.txt", "foo3.txt")) # both exist files exists 1 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo3.txt TRUE > x$exists(c("foo.txt", "foo3.txt", "stuff.txt")) # one doesn't exist files exists 1 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo.txt TRUE 2 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/foo3.txt TRUE 3 D:\\temp\\2024_12_25_01_50_00_20757\\RtmpY1sdNV/foobar/stuff.txt FALSE > > # cache details > x$details() <cached files> directory: D:\temp\2024_12_25_01_50_00_20757\RtmpY1sdNV/foobar Warning in sub(attr(x, "cpath"), "", x[[i]]$file) : TRE pattern compilation error 'Invalid back reference' Error in sub(attr(x, "cpath"), "", x[[i]]$file) : invalid regular expression 'D:\temp\2024_12_25_01_50_00_20757\RtmpY1sdNV/foobar', reason 'Invalid back reference' Calls: <Anonymous> -> print.cache_info -> cat -> paste0 -> sub Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.5.4
Check: tests
Result: ERROR Running 'testthat.R' [3s] Running the tests in 'tests/testthat.R' failed. Complete output: > library("testthat") > library("hoardr") > test_check("hoardr") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-HoardClient.R:155:3'): HoardClient works when files exist ────── Error in `sub(attr(x, "cpath"), "", x[[i]]$file)`: invalid regular expression 'D:\temp\2024_12_25_01_50_00_20757\Rtmpe0vlVH/R/test456', reason 'Invalid back reference' Backtrace: ▆ 1. ├─testthat::expect_output(print(deets1), "<cached files>") at test-HoardClient.R:155:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─testthat::capture_output_lines(code, print, width = width) 5. │ │ └─testthat:::eval_with_output(code, print = print, width = width) 6. │ │ ├─withr::with_output_sink(path, withVisible(code)) 7. │ │ │ └─base::force(code) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. ├─base::print(deets1) 11. └─hoardr:::print.cache_info(deets1) 12. ├─base::cat(...) 13. ├─base::paste0(" file: ", sub(attr(x, "cpath"), "", x[[i]]$file)) 14. └─base::sub(attr(x, "cpath"), "", x[[i]]$file) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 84 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Version: 0.5.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'hoardr_vignette.Rmd' using rmarkdown Quitting from lines 91-92 [unnamed-chunk-10] (hoardr_vignette.Rmd) Error: processing vignette 'hoardr_vignette.Rmd' failed with diagnostics: invalid regular expression 'D:\temp\2024_12_25_01_50_00_20757\RtmpWMA3En/R/foobar', reason 'Invalid back reference' --- failed re-building 'hoardr_vignette.Rmd' SUMMARY: processing the following file failed: 'hoardr_vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64