Last updated on 2024-07-27 17:58:22 CEST.
Package | ERROR | OK |
---|---|---|
precommit | 3 | 10 |
styler | 13 |
Current CRAN status: ERROR: 3, OK: 10
Version: 0.4.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [188s/145s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(precommit)
> test_check("precommit")
Starting 2 test processes
[ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• !is_windows() is TRUE (1): 'test-exec.R:23:3'
• On CRAN (11): 'test-conda.R:207:3', 'test-config.R:15:3',
'test-impl-hook-roxygenize.R:2:3', 'test-impl-hook-roxygenize.R:46:3',
'test-impl-hook-roxygenize.R:82:3', 'test-impl-hook-roxygenize.R:95:3',
'test-impl-hook-roxygenize.R:114:3', 'test-impl-hook-roxygenize.R:127:3',
'test-impl-hook-roxygenize.R:143:3', 'test-impl-hook-roxygenize.R:155:3',
'test-zzz.R:2:3'
• not_conda() is TRUE (1): 'test-impl-hooks-regex-exclude.R:2:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-hook-pkgdown.R:2:1'): (code run outside of `test_that()`) ──────
<purrr_error_indexed/rlang_error/error/condition>
Error in `purrr::map2(path_candidate, path_candidate_temp, hook_state_assert_one,
tempdir = tempdir, file_transformer = file_transformer, path_stdout = path_stdout,
path_stderr = path_stderr, expect_success = expect_success,
std_err = std_err, std_out = std_out, exit_status = exit_status)`: ℹ In index: 1.
ℹ With name: man/autoudpate.Rd.
Caused by error:
! Expected: No error. Found:
Error in `check_pkgdown()`:
! In _pkgdown.yml, url is missing.
ℹ See details in `vignette(pkgdown::metadata)`.
Backtrace:
▆
1. └─pkgdown::check_pkgdown()
2. └─pkgdown:::check_urls(pkg)
3. └─pkgdown:::config_abort(...)
4. └─cli::cli_abort(message, ..., call = call, .envir = .envir)
5. └─rlang::abort(...)
Execution halted
[ FAIL 1 | WARN 0 | SKIP 13 | PASS 177 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.4.3
Check: running R code from vignettes
Result: ERROR
Errors in running code in vignettes:
when running code in ‘FAQ.Rmd’
...
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (precommit)
> precommit::install_precommit()
ℹ Installing pre-commit into the conda environment `r-precommit `.
When sourcing ‘FAQ.R’:
Error: Unable to find conda binary. Is Anaconda installed?
Execution halted
when running code in ‘precommit.Rmd’
...
> knitr::opts_chunk$set(eval = FALSE)
> install.packages("precommit")
Installing package into ‘/Volumes/Builds/packages/big-sur-arm64/results/4.3/precommit.Rcheck’
(as ‘lib’ is unspecified)
When sourcing ‘precommit.R’:
Error: trying to use CRAN without setting a mirror
Execution halted
‘FAQ.Rmd’ using ‘UTF-8’... failed
‘available-hooks.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘ci.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘hook-order.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘precommit.Rmd’ using ‘UTF-8’... failed
‘testing.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘why-use-hooks.Rmd’ using ‘UTF-8’... [0s/0s] OK
Flavor: r-oldrel-macos-arm64
Version: 0.4.3
Check: running R code from vignettes
Result: ERROR
Errors in running code in vignettes:
when running code in ‘FAQ.Rmd’
...
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (precommit)
> precommit::install_precommit()
ℹ Installing pre-commit into the conda environment `r-precommit `.
When sourcing ‘FAQ.R’:
Error: Unable to find conda binary. Is Anaconda installed?
Execution halted
when running code in ‘precommit.Rmd’
...
> knitr::opts_chunk$set(eval = FALSE)
> install.packages("precommit")
Installing package into ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/precommit.Rcheck’
(as ‘lib’ is unspecified)
When sourcing ‘precommit.R’:
Error: trying to use CRAN without setting a mirror
Execution halted
‘FAQ.Rmd’ using ‘UTF-8’... failed
‘available-hooks.Rmd’ using ‘UTF-8’... [1s/1s] OK
‘ci.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘hook-order.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘precommit.Rmd’ using ‘UTF-8’... failed
‘testing.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘why-use-hooks.Rmd’ using ‘UTF-8’... [0s/0s] OK
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 13