Last updated on 2021-11-01 00:49:48 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.3 | 3.47 | 96.36 | 99.83 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.3 | 2.64 | 76.06 | 78.70 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.3 | 131.83 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 131.07 | NOTE | |||
r-devel-windows-x86_64 | 0.1.3 | 15.00 | 125.00 | 140.00 | OK | |
r-devel-windows-x86_64-gcc10-UCRT | 0.1.3 | ERROR | ||||
r-patched-linux-x86_64 | 0.1.3 | 3.49 | 94.08 | 97.57 | OK | |
r-patched-solaris-x86 | 0.1.3 | 165.60 | NOTE | |||
r-release-linux-x86_64 | 0.1.3 | 2.97 | 96.71 | 99.68 | 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 | 19.00 | 119.00 | 138.00 | OK | |
r-oldrel-macos-x86_64 | 0.1.3 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.3 | 21.00 | 151.00 | 172.00 | OK |
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\RtmpEXzZkF\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\RtmpEXzZkF\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