CRAN Package Check Results for Package hexFinder

Last updated on 2023-09-23 05:57:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.0 7.89 71.75 79.64 NOTE
r-devel-linux-x86_64-debian-gcc 0.8.0 6.61 52.96 59.57 NOTE
r-devel-linux-x86_64-fedora-clang 0.8.0 98.57 NOTE
r-devel-linux-x86_64-fedora-gcc 0.8.0 97.48 NOTE
r-devel-windows-x86_64 0.8.0 10.00 75.00 85.00 ERROR
r-patched-linux-x86_64 0.8.0 6.70 62.65 69.35 OK
r-release-linux-x86_64 0.8.0 5.78 66.23 72.01 OK
r-release-macos-arm64 0.8.0 33.00 OK
r-release-macos-x86_64 0.8.0 50.00 OK
r-release-windows-x86_64 0.8.0 11.00 85.00 96.00 ERROR
r-oldrel-macos-arm64 0.8.0 28.00 OK
r-oldrel-macos-x86_64 0.8.0 46.00 OK
r-oldrel-windows-x86_64 0.8.0 13.00 93.00 106.00 ERROR

Check Details

Version: 0.8.0
Check: Rd \usage sections
Result: NOTE
    Documented arguments not in \usage in documentation object 'check_known_repos':
     ‘known_packages’
    
    Functions with \usage entries need to have the appropriate \alias
    entries, and all their arguments documented.
    The \usage entries must correspond to syntactically valid R code.
    See chapter ‘Writing R documentation files’ in the ‘Writing R
    Extensions’ manual.
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

Version: 0.8.0
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(httptest2)
     > library(hexFinder)
     >
     > test_check("hexFinder")
     No github personal access token provided.
     Limited search rates for github will apply.
     Set up github_pat environmental variable if you plan to query multiple repos in a short time
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-gather.R:76:5'): get_best_image ───────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::map(paths, function(entry) {
     info <- magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     dimentions <- sort(c(info$width, info$height))
     (dimentions[2]/dimentions[1])
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/RtmpsXSp0q/magick-FdI6oHmBqxy3XTasR8jTpTUjZ3lbrOos" --export-png="D:/temp/RtmpsXSp0q/magick-zdogLIykm3nMT2hISup-6o-3FTXpxrsI.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/RtmpsXSp0q/magick-DTxsIIjIvRzzwurupKBmkwVixemnGkbW" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:76:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::get_best_image(...)
     5. │ ├─base::unlist(...)
     6. │ └─purrr::map(...)
     7. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─hexFinder (local) .f(.x[[i]], ...)
     12. │ ├─magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     13. │ │ └─magick:::assert_image(image)
     14. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     15. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     16. ├─base::stop(`<Mgck::ED>`)
     17. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     18. └─cli::cli_abort(...)
     19. └─rlang::abort(...)
     ── Error ('test-gather.R:97:5'): keep_good_ratio_images ────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::keep(paths, function(entry) {
     info <- magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     dimentions <- sort(c(info$width, info$height))
     aspect_ratio <- dimentions[2]/dimentions[1]
     if (aspect_ratio > 1.8) {
     return(FALSE)
     }
     if (aspect_ratio > 1.151 && aspect_ratio < 1.154) {
     return(TRUE)
     }
     if (info$width > 1279 || info$height > 1279) {
     return(FALSE)
     }
     return(TRUE)
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/RtmpsXSp0q/magick-kmONZjbeirXOmdf_fxzT47TQe3gugufx" --export-png="D:/temp/RtmpsXSp0q/magick-XuCTzZdIACQTgF3EyyIXdfztdzFg5GpC.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/RtmpsXSp0q/magick-m4q9GyIzJTX5AAr9E2FHONjQ0M3ywOJt" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:97:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::keep_good_ratio_images(...)
     5. │ └─purrr::keep(...)
     6. │ └─purrr:::where_if(.x, .p, ...)
     7. │ └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─purrr (local) .f(.x[[i]], ...)
     12. │ └─hexFinder (local) .fn(...)
     13. │ ├─magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     14. │ │ └─magick:::assert_image(image)
     15. │ ├─magick::image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     16. │ │ └─magick:::assert_image(image)
     17. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     18. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     19. ├─base::stop(`<Mgck::ED>`)
     20. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64

Version: 0.8.0
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(httptest2)
     > library(hexFinder)
     >
     > test_check("hexFinder")
     No github personal access token provided.
     Limited search rates for github will apply.
     Set up github_pat environmental variable if you plan to query multiple repos in a short time
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-gather.R:76:5'): get_best_image ───────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::map(paths, function(entry) {
     info <- magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     dimentions <- sort(c(info$width, info$height))
     (dimentions[2]/dimentions[1])
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/RtmpMHxuVK/magick-tXSBqjsQ94TRqn3mKyNYUdf3k2AwVehV" --export-png="D:/temp/RtmpMHxuVK/magick-6iTjWpFyHX6BrhyBc8v4CK_oO7kfWPZC.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/RtmpMHxuVK/magick-rMzfNoXqrydZHflfh04UbOCGJZaA4bz5" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:76:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::get_best_image(...)
     5. │ ├─base::unlist(...)
     6. │ └─purrr::map(...)
     7. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─hexFinder (local) .f(.x[[i]], ...)
     12. │ ├─magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     13. │ │ └─magick:::assert_image(image)
     14. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     15. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     16. ├─base::stop(`<Mgck::ED>`)
     17. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     18. └─cli::cli_abort(...)
     19. └─rlang::abort(...)
     ── Error ('test-gather.R:97:5'): keep_good_ratio_images ────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::keep(paths, function(entry) {
     info <- magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     dimentions <- sort(c(info$width, info$height))
     aspect_ratio <- dimentions[2]/dimentions[1]
     if (aspect_ratio > 1.8) {
     return(FALSE)
     }
     if (aspect_ratio > 1.151 && aspect_ratio < 1.154) {
     return(TRUE)
     }
     if (info$width > 1279 || info$height > 1279) {
     return(FALSE)
     }
     return(TRUE)
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/RtmpMHxuVK/magick-cgirTxddOtzOXIcxpS7cqC7fGqajjlE2" --export-png="D:/temp/RtmpMHxuVK/magick-2jNNwuYOMYl6NyN42ZT4N3s0C00Nw2Iu.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/RtmpMHxuVK/magick-GPF0AMKwW8HSiK5CIupUr5ITMC9pu7PP" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:97:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::keep_good_ratio_images(...)
     5. │ └─purrr::keep(...)
     6. │ └─purrr:::where_if(.x, .p, ...)
     7. │ └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─purrr (local) .f(.x[[i]], ...)
     12. │ └─hexFinder (local) .fn(...)
     13. │ ├─magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     14. │ │ └─magick:::assert_image(image)
     15. │ ├─magick::image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     16. │ │ └─magick:::assert_image(image)
     17. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     18. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     19. ├─base::stop(`<Mgck::ED>`)
     20. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64

Version: 0.8.0
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(httptest2)
     > library(hexFinder)
     >
     > test_check("hexFinder")
     No github personal access token provided.
     Limited search rates for github will apply.
     Set up github_pat environmental variable if you plan to query multiple repos in a short time
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-gather.R:76:5'): get_best_image ───────────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::map(paths, function(entry) {
     info <- magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     dimentions <- sort(c(info$width, info$height))
     (dimentions[2]/dimentions[1])
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/Rtmp8MqBii/magick-KgdTrSOmIi3gecmQYrQ8OoDtdppmjLN8" --export-png="D:/temp/Rtmp8MqBii/magick-CVcoiH18vRWA8t5KcXaWHPmAgQOjhZv7.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/Rtmp8MqBii/magick-NTWX91bJnhhii7OZWSLuuXSlplrvmdGm" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:76:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::get_best_image(...)
     5. │ ├─base::unlist(...)
     6. │ └─purrr::map(...)
     7. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─hexFinder (local) .f(.x[[i]], ...)
     12. │ ├─magick::image_info(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     13. │ │ └─magick:::assert_image(image)
     14. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     15. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     16. ├─base::stop(`<Mgck::ED>`)
     17. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     18. └─cli::cli_abort(...)
     19. └─rlang::abort(...)
     ── Error ('test-gather.R:97:5'): keep_good_ratio_images ────────────────────────
     <purrr_error_indexed/rlang_error/error/condition>
     Error in `purrr::keep(paths, function(entry) {
     info <- magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     dimentions <- sort(c(info$width, info$height))
     aspect_ratio <- dimentions[2]/dimentions[1]
     if (aspect_ratio > 1.8) {
     return(FALSE)
     }
     if (aspect_ratio > 1.151 && aspect_ratio < 1.154) {
     return(TRUE)
     }
     if (info$width > 1279 || info$height > 1279) {
     return(FALSE)
     }
     return(TRUE)
     })`: i In index: 1.
     Caused by error:
     ! Rterm.exe: FailedToExecuteCommand `"inkscape" "D:/temp/Rtmp8MqBii/magick-EnGeJUhIeDtd_9hQwEc4WydDzpMKY3Y9" --export-png="D:/temp/Rtmp8MqBii/magick-F71vkUtgcILuPNb0ifzDO_TWbAmAgzKR.png" --export-dpi="96" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "D:/temp/Rtmp8MqBii/magick-f9dVD4sfZ-KRK6MPCeJ_cgwwmcT1dFlP" 2>&1' (-1) @ error/delegate.c/ExternalDelegateCommand/514
     Backtrace:
     ▆
     1. ├─testthat::expect_type(...) at test-gather.R:97:4
     2. │ └─testthat::quasi_label(enquo(object), arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─hexFinder:::keep_good_ratio_images(...)
     5. │ └─purrr::keep(...)
     6. │ └─purrr:::where_if(.x, .p, ...)
     7. │ └─purrr:::map_(.x, .p, ..., .type = "logical", .purrr_error_call = .purrr_error_call)
     8. │ ├─purrr:::with_indexed_errors(...)
     9. │ │ └─base::withCallingHandlers(...)
     10. │ ├─purrr:::call_with_cleanup(...)
     11. │ └─purrr (local) .f(.x[[i]], ...)
     12. │ └─hexFinder (local) .fn(...)
     13. │ ├─magick::image_info(image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}"))))
     14. │ │ └─magick:::assert_image(image)
     15. │ ├─magick::image_trim(image_read(glue("{download_endpoint}/{branch}/{entry$path}")))
     16. │ │ └─magick:::assert_image(image)
     17. │ └─magick::image_read(glue("{download_endpoint}/{branch}/{entry$path}"))
     18. │ └─magick:::magick_image_readpath(path, density, depth, strip, defines)
     19. ├─base::stop(`<Mgck::ED>`)
     20. └─purrr (local) `<fn>`(`<Mgck::ED>`)
     21. └─cli::cli_abort(...)
     22. └─rlang::abort(...)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 33 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-x86_64