-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I don't know if this is directly related to {magick}, but I've gotten an email from CRAN around some tests on some linux distributions failing. I can't for the life of me figure out what might be going on, as everything on local machines and GHA runners succeed. Something related to path parsing / reading is failing on a couple of CRAN linux distributions. If anyone has any tips on what might be the problem / solution, I would love to know.
Details
Check Details
Version: 0.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/1s]
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(figpatch)
>
> test_check("figpatch")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fig.R:2:3'): Test Reading ──────────────────────────────────────
<Magick::ErrorMissingDelegate/C++Error/error/condition>
Error: R: no decode delegate for this image format `' @ error/constitute.c/ReadImage/746
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-fig.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─figpatch::fig("brokenlink")
8. └─magick::image_read(path = path)
9. ├─base::withCallingHandlers(...)
10. └─magick:::magick_image_readpath(path, density, depth, strip, defines)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: [r-devel-linux-x86_64-debian-clang](https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/figpatch-00check.html)
Version: 0.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(figpatch)
>
> test_check("figpatch")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-fig.R:2:3'): Test Reading ──────────────────────────────────────
<Magick::ErrorMissingDelegate/C++Error/error/condition>
Error: R: no decode delegate for this image format `' @ error/constitute.c/ReadImage/746
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-fig.R:2:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─figpatch::fig("brokenlink")
8. └─magick::image_read(path = path)
9. ├─base::withCallingHandlers(...)
10. └─magick:::magick_image_readpath(path, density, depth, strip, defines)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Metadata
Metadata
Assignees
Labels
No labels