CRAN Package Check Results for Package precommit

Last updated on 2022-05-23 06:49:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 4.36 189.93 194.29 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 3.40 173.36 176.76 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 284.36 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.0 268.62 NOTE
r-devel-windows-x86_64 0.3.0 60.00 307.00 367.00 OK
r-patched-linux-x86_64 0.3.0 4.50 223.55 228.05 OK
r-release-linux-x86_64 0.3.0 OK
r-release-macos-arm64 0.3.0 113.00 NOTE
r-release-macos-x86_64 0.3.0 143.00 NOTE
r-release-windows-x86_64 0.2.2 351.00 386.00 737.00 ERROR
r-oldrel-macos-arm64 0.3.0 115.00 NOTE
r-oldrel-macos-x86_64 0.3.0 138.00 NOTE
r-oldrel-windows-ix86+x86_64 0.3.0 25.00 278.00 303.00 OK

Check Details

Version: 0.2.2
Check: tests
Result: ERROR
     Running 'testthat.R' [98s/129s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(precommit)
     > test_check("precommit")
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 127 ]
    
     == Skipped tests ===============================================================
     * !is_windows() is TRUE (1)
     * On CRAN (3)
     * not_conda() is TRUE (1)
    
     == Failed tests ================================================================
     -- Failure (test-hook-roxygenize.R:95:3): roxygenize works in general ----------
     `roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))` produced no output
     -- Failure (test-hook-roxygenize.R:163:3): warns if there is any other warning --
     `roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))` produced unexpected warnings.
     Expected match: Missing name
     Actual values:
     * [blur.R:4] Block must have a @name
     i Either document an existing object or manually specify with @name
     -- Failure (test-hooks.R:293:1): (code run outside of `test_that()`) -----------
     paste(contents, collapse = "\n") does not match "Writing flie.Rd".
     Actual value: ""
     Backtrace:
     x
     1. \-precommit:::run_test(...) at test-hooks.R:293:0
     2. \-precommit:::run_test_impl(...)
     3. \-precommit:::hook_state_assert(...)
     4. \-purrr::map2(...)
     5. \-precommit .f(.x[[1L]], .y[[1L]], ...)
     6. \-testthat::expect_match(...)
     7. \-testthat:::expect_match_(...)
    
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 127 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘here’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.2.2
Check: tests
Result: ERROR
     Running 'testthat.R' [197s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(precommit)
     > test_check("precommit")
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 127 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
     • not_conda() is TRUE (1)
     • on_cran() is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-hook-roxygenize.R:95:3): roxygenize works in general ──────────
     `roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))` produced no output
     ── Failure (test-hook-roxygenize.R:163:3): warns if there is any other warning ──
     `roxygenize_with_cache(list(getwd()), dirs = dirs_R.cache("roxygenize"))` produced unexpected warnings.
     Expected match: Missing name
     Actual values:
     * [blur.R:4] Block must have a @name
     ℹ Either document an existing object or manually specify with @name
     ── Failure (test-hooks.R:293:1): (code run outside of `test_that()`) ───────────
     paste(contents, collapse = "\n") does not match "Writing flie.Rd".
     Actual value: ""
     Backtrace:
     ▆
     1. └─precommit:::run_test(...) at test-hooks.R:293:0
     2. └─precommit:::run_test_impl(...)
     3. └─precommit:::hook_state_assert(...)
     4. └─purrr::map2(...)
     5. └─precommit .f(.x[[1L]], .y[[1L]], ...)
     6. └─testthat::expect_match(...)
     7. └─testthat:::expect_match_(...)
    
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 127 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64