- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'tidyEdSurvey/DESCRIPTION' ... OK
- this is package 'tidyEdSurvey' version '0.1.3'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'tidyEdSurvey' can be installed ... 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 ... [6s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [6s] OK
- checking loading without being on the library search path ... [6s] OK
- checking whether startup messages can be suppressed ... [6s] OK
- checking use of S3 registration ... 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 ... [14s] OK
- checking Rd files ... [1s] OK
- 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 examples ... NONE
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [73s] ERROR
Running 'testthat.R' [73s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(EdSurvey)
Loading required package: car
Loading required package: carData
Loading required package: lfactors
lfactors v1.0.4
Loading required package: Dire
Dire v2.2.0
EdSurvey v4.0.7
> library(tidyEdSurvey)
tidyEdSurvey v0.1.3
A package for using 'dplyr' and 'ggplot2' with student level data in an edsurvey.data.frame. To work with teacher or school level data, see ?EdSurvey::getData
Attaching package: 'tidyEdSurvey'
The following object is masked from 'package:base':
attach
> test_check('tidyEdSurvey')
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 10 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-dplyr-TIMSS.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-ggplot.R:13:3'): density plot with facets and PVs ────────────
class(p) not equal to c("gg", "ggplot").
Lengths differ: 5 is not 2
── Failure ('test-ggplot.R:21:3'): boxplot with facets and PVs ─────────────────
class(p) not equal to c("gg", "ggplot").
Lengths differ: 5 is not 2
[ FAIL 2 | WARN 0 | SKIP 1 | PASS 10 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [0s] OK
- DONE
Status: 1 ERROR