- using R Under development (unstable) (2025-01-24 r87627)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘blocs/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘blocs’ version ‘0.1.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘questionr’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘blocs’ can be installed ... [4s/5s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/3s] OK
- checking Rd files ... [0s/0s] NOTE
checkRd: (-1) estimate_density.Rd:25: Lost braces; missing escapes or markup?
25 | evenly spaced points between \code{min} and {max}.
| ^
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [32s/47s] ERROR
Running ‘dplyr_attrib.R’ [1s/1s]
Running ‘testthat.R’ [31s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(blocs)
>
> test_check("blocs")
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
########### TESTING WITH ANES 1996 2016 ###########
########### TESTING WITH ANES 2008 2012 ###########
########### TESTING WITH ANES 2004 2008 ###########
########### TESTING WITH ANES 1992 ###########
20121952 1956 196020002016 2020########### TESTING WITH ANES 2020 ###################### TESTING WITH ANES 2012 ###################### TESTING WITH ANES 1976 1996 ###########
[ FAIL 1 | WARN 48 | SKIP 4 | PASS 56 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• empty test (4): 'test-plot.R:1:1', 'test-plot.R:33:1', 'test-plot.R:74:1',
'test-plot.R:117:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-wtd_table.R:8:5'): equivalent to questionr::wtd.table ──────────
<packageNotFoundError/error/condition>
Error in `loadNamespace(x)`: there is no package called 'questionr'
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-wtd_table.R:8:5
2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::loadNamespace(x)
5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. └─base (local) withOneRestart(expr, restarts[[1L]])
7. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 1 | WARN 48 | SKIP 4 | PASS 56 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/8s] OK
- DONE
Status: 1 ERROR, 1 NOTE
- using check arguments '--no-clean-on-error '