CRAN Package Check Results for Package camcorder

Last updated on 2024-09-13 00:49:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 4.68 71.98 76.66 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.0 4.43 52.51 56.94 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.0 139.68 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 148.81 NOTE
r-devel-windows-x86_64 0.1.0 7.00 96.00 103.00 NOTE
r-patched-linux-x86_64 0.1.0 5.09 69.24 74.33 NOTE
r-release-linux-x86_64 0.1.0 5.08 67.36 72.44 ERROR
r-release-macos-arm64 0.1.0 48.00 NOTE
r-release-macos-x86_64 0.1.0 75.00 NOTE
r-release-windows-x86_64 0.1.0 8.00 96.00 104.00 NOTE
r-oldrel-macos-arm64 0.1.0 49.00 OK
r-oldrel-macos-x86_64 0.1.0 71.00 OK
r-oldrel-windows-x86_64 0.1.0 10.00 109.00 119.00 OK

Check Details

Version: 0.1.0
Check: Rd files
Result: NOTE checkRd: (-1) Recording.Rd:112: Lost braces; missing escapes or markup? 112 | Stop recording images with {camcorder}. | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.1.0
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘ragg’ Flavor: r-release-linux-x86_64

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘camcorder-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: record_polaroid > ### Title: Record Plots - generic > ### Aliases: record_polaroid > > ### ** Examples > > > library(grid) > > gg_record(device = "png", width = 10, height = 8, units = "in", dpi = 320) > > ## make a plot using grobs > grid.draw(rectGrob(width = 2, height = 2, gp = gpar(fill = "green"))) > grid.draw(textGrob("Hello world")) > > record_polaroid() Error in if (tolower(image_ext) %in% c("tiff", "emf", "eps", "ps")) { : argument is of length zero Calls: record_polaroid -> preview_film -> film_cyclotron Execution halted Flavor: r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [10s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(camcorder) > > test_check("camcorder") [ FAIL 1 | WARN 0 | SKIP 3 | PASS 9 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-recording.R:33:3', 'test-recording.R:72:3', 'test-recording.R:146:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-recording.R:94:3'): recording a basic graphic devices works ──── Error in `if (tolower(image_ext) %in% c("tiff", "emf", "eps", "ps")) { temp_image <- tempfile(fileext = ".png") image <- magick::image_read(image_path) converted_image <- magick::image_convert(image, format = "png") magick::image_write(converted_image, path = temp_image) image_path <- temp_image image_ext <- "png" }`: argument is of length zero Backtrace: ▆ 1. └─camcorder::record_polaroid() at test-recording.R:94:3 2. └─camcorder:::preview_film() 3. └─camcorder:::film_cyclotron(...) [ FAIL 1 | WARN 0 | SKIP 3 | PASS 9 ] Deleting unused snapshots: • recording/camcorder_preview_ggplot2.png • recording/camcorder_preview_patchwork.png • recording/camcorder_preview_polaroid.png Error: Test failures Execution halted Flavor: r-release-linux-x86_64