CRAN Package Check Results for Package precommit

Last updated on 2021-10-17 22:48:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.3 3.49 97.17 100.66 OK
r-devel-linux-x86_64-debian-gcc 0.1.3 2.48 74.32 76.80 OK
r-devel-linux-x86_64-fedora-clang 0.1.3 134.75 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.3 126.98 NOTE
r-devel-windows-x86_64 0.1.3 18.00 167.00 185.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.3 ERROR
r-patched-linux-x86_64 0.1.3 3.52 94.55 98.07 OK
r-patched-solaris-x86 0.1.3 175.90 NOTE
r-release-linux-x86_64 0.1.3 3.52 93.84 97.36 OK
r-release-macos-arm64 0.1.3 NOTE
r-release-macos-x86_64 0.1.3 NOTE
r-release-windows-ix86+x86_64 0.1.3 18.00 162.00 180.00 OK
r-oldrel-macos-x86_64 0.1.3 NOTE
r-oldrel-windows-ix86+x86_64 0.1.3 27.00 168.00 195.00 OK

Check Details

Version: 0.1.3
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘R.cache’ ‘docopt’ ‘here’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.3
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(precommit)
     > test_check("precommit")
     Styling 1 files:
     style-files-success.R v
     ----------------------------------------
     Status Count Legend
     v 1 File unchanged.
     i 0 File changed.
     x 0 Styling threw an error.
     ----------------------------------------
     Styling 1 files:
     style-files-fail-changed.R i
     ----------------------------------------
     Status Count Legend
     v 0 File unchanged.
     i 1 File changed.
     x 0 Styling threw an error.
     ----------------------------------------
     Please review the changes carefully!
     Styling 1 files:
     style-files-fail-parse.R Styling 1 files:
     style-files-cmd-success.R v
     ----------------------------------------
     Status Count Legend
     v 1 File unchanged.
     i 0 File changed.
     x 0 Styling threw an error.
     ----------------------------------------
     Styling 1 files:
     style-files-cmd-fail.R i
     ----------------------------------------
     Status Count Legend
     v 0 File unchanged.
     i 1 File changed.
     x 0 Styling threw an error.
     ----------------------------------------
     Please review the changes carefully!
     The following spelling errors were found:
     WORD FOUND IN
     fsssile spell-check-fail.md:3
     All spelling errors found were copied to inst/WORDLIST assuming they were not spelling errors and will be ignored in the future. Please review the above list and for each word that is an actual typo:
     - fix it in the source code.
     - remove it again manually from inst/WORDLIST to make sure it's not
     ignored in the future.
     Then, try committing again.
     Not all packages used in your code are listed in DESCRIPTION. The following are missing in file `deps-in-desc-fail.R`: xzywdj.
     You can add them with `usethis::use_package()` or `usethis::use_dev_package()`.
     You should not call any function with `:::` unless it's a function you define yourself in this package. The following files have such function calls: deps-in-desc-dot3-fail.RFile `lintr-fail.R` is not lint free
     C:\r_packages\pkgcheck\CRAN\precommit\tmp\RtmpOyiKGp\lintr-fail.R:1:7: style: Commas should always have a space after.
     sum(1,2)
     ^
     File `lintr-fail.R` is not lint free
     C:\r_packages\pkgcheck\CRAN\precommit\tmp\RtmpOyiKGp\lintr-fail.R:1:7: style: Commas should always have a space after.
     sum(1,2)
     ^
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
     • not_conda() is TRUE (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-hook-roxygenize.R:7:3): roxygen runs are done if necessary ────
     extract_diff_root(".") not equal to add_trailing_linebreak(text2).
     2/2 mismatches
     x[1]: "x <- function()\r\n"
     y[1]: "x <- function()\n"
    
     x[2]: " NULL\r\n"
     y[2]: " NULL\n"
     Backtrace:
     █
     1. ├─withr::with_dir(...) test-hook-roxygenize.R:7:2
     2. │ └─base::force(code)
     3. └─testthat::expect_equal(extract_diff_root("."), add_trailing_linebreak(text2)) test-hook-roxygenize.R:31:6
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 55 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT