- using R Under development (unstable) (2026-11-20 r90940)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)
GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-20 04:56:35 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘S7/DESCRIPTION’ ... OK
- this is package ‘S7’ version ‘1.0.0’
- 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 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 ‘S7’ can be installed ... [6s/13s] OK
See the install log for details.
- used C compiler: ‘gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)’
- checking package directory ... OK
- checking ‘build’ 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... 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 ... [11s/25s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... NOTE
File ‘S7/libs/S7.so’:
Found non-API call to R: ‘Rf_findVarInFrame’
Compiled code should not call non-API entry points in R.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [106s/138s] ERROR
Running ‘testthat.R’ [106s/137s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(S7)
>
> test_check("S7")
Starting 2 test processes.
> test-S4.R: creating formal generic function 'axTicks' in package 'S7'
> test-S4.R: using implicit definition in package 'graphics'
Saving _problems/test-convert-151.R
[ FAIL 1 | WARN 2 | SKIP 201 | PASS 1765 ]
══ Skipped tests (201) ═════════════════════════════════════════════════════════
• On CRAN (198): 'test-S3.R:1:1', 'test-S3.R:13:1', 'test-S3.R:114:1',
'test-S3.R:121:1', 'test-S3.R:176:1', 'test-S3.R:197:1', 'test-S3.R:203:1',
'test-S3.R:209:1', 'test-S3.R:217:1', 'test-S3.R:226:1', 'test-S4.R:608:1',
'test-S4.R:671:1', 'test-S4.R:1084:1', 'test-base-environment.R:1:1',
'test-base-environment.R:28:1', 'test-base-environment.R:49:1',
'test-base.R:1:1', 'test-base.R:16:1', 'test-base.R:344:3',
'test-external-generic.R:74:1', 'test-external-generic.R:83:1',
'test-external-generic.R:115:1', 'test-class-spec.R:78:1',
'test-class-spec.R:304:1', 'test-class-spec.R:405:1',
'test-class-spec.R:425:1', 'test-bind.R:34:1', 'test-class.R:18:1',
'test-class.R:34:1', 'test-class.R:39:1', 'test-class.R:55:1',
'test-class.R:301:1', 'test-class.R:313:1', 'test-class.R:337:1',
'test-class.R:347:1', 'test-class.R:354:1', 'test-class.R:367:1',
'test-class.R:381:1', 'test-class.R:579:1', 'test-class.R:654:1',
'test-class.R:672:1', 'test-class.R:691:1', 'test-class.R:715:1',
'test-class.R:734:1', 'test-class.R:745:1', 'test-class.R:760:1',
'test-class.R:765:1', 'test-class.R:828:1', 'test-class.R:880:1',
'test-class.R:899:1', 'test-constructor.R:133:1', 'test-constructor.R:151:1',
'test-constructor.R:164:1', 'test-constructor.R:185:1',
'test-constructor.R:369:1', 'test-constructor.R:533:1',
'test-constructor.R:559:1', 'test-convert.R:1:1', 'test-convert.R:135:1',
'test-convert.R:291:1', 'test-convert.R:297:1', 'test-external-class.R:1:1',
'test-external-class.R:8:1', 'test-external-class.R:35:1',
'test-external-class.R:145:1', 'test-external-class.R:179:1',
'test-external-class.R:315:1', 'test-generic-spec.R:1:1',
'test-generic.R:1:1', 'test-generic.R:30:1', 'test-generic.R:42:1',
'test-generic.R:77:1', 'test-generic.R:87:1', 'test-hooks.R:18:1',
'test-inherits.R:51:1', 'test-inherits.R:55:1', 'test-inherits.R:64:1',
'test-introspect.R:55:1', 'test-introspect.R:145:1',
'test-method-call.R:143:1', 'test-method-call.R:287:1',
'test-method-call.R:295:1', 'test-method-call.R:311:1',
'test-method-call.R:321:1', 'test-method-dispatch.R:59:1',
'test-method-dispatch.R:187:1', 'test-method-dispatch.R:217:1',
'test-method-dispatch.R:234:1', 'test-method-dispatch.R:250:1',
'test-method-dispatch.R:305:1', 'test-method-introspect.R:11:1',
'test-method-introspect.R:25:1', 'test-method-introspect.R:38:1',
'test-method-introspect.R:49:1', 'test-method-ops.R:211:1',
'test-method-ops.R:227:1', 'test-method-ops.R:236:1',
'test-method-ops.R:249:1', 'test-method-ops.R:408:1',
'test-method-register-S3.R:216:1', 'test-method-register-S3.R:223:1',
'test-method-register-S4.R:1:1', 'test-method-register-S4.R:45:1',
'test-method-register.R:8:1', 'test-method-register.R:48:1',
'test-method-register.R:146:1', 'test-method-register.R:167:1',
'test-method-register.R:200:1', 'test-method-register.R:210:1',
'test-method-register.R:228:1', 'test-method-register.R:246:1',
'test-method-register.R:277:1', 'test-method-register.R:284:1',
'test-method-register.R:305:1', 'test-method-register.R:323:1',
'test-native-api.R:2:3', 'test-native-api.R:13:3', 'test-native-api.R:25:3',
'test-native-api.R:53:3', 'test-native-api.R:68:3', 'test-property.R:1:1',
'test-property.R:109:1', 'test-property.R:120:1', 'test-property.R:129:1',
'test-property.R:210:1', 'test-property.R:258:1', 'test-property.R:293:1',
'test-property.R:460:1', 'test-property.R:467:1', 'test-property.R:485:1',
'test-property.R:527:1', 'test-property.R:535:1', 'test-property.R:617:1',
'test-property.R:627:1', 'test-property.R:643:1', 'test-property.R:652:1',
'test-property.R:670:1', 'test-property.R:698:1', 'test-special.R:1:1',
'test-super.R:30:1', 'test-super.R:74:1', 'test-union.R:1:1',
'test-union.R:30:1', 'test-utils.R:23:1', 'test-utils.R:30:1',
'test-utils.R:36:1', 'test-valid.R:1:1', 'test-valid.R:45:1',
'test-valid.R:53:1', 'test-valid.R:66:1', 'test-valid.R:74:1',
'test-zzz.R:1:1', 'test-zzz.R:6:1', 'test-zzz.R:21:1', 'test-zzz.R:34:1',
'test-zzz.R:223:1', 'test-deprecated.R:1:1', 'test-deprecated.R:11:1',
'test-deprecated.R:66:1', 'test-deprecated.R:106:1',
'test-deprecated.R:116:1', 'test-deprecated.R:139:1',
'test-deprecated.R:235:1', 'test-deprecated.R:269:1',
'test-deprecated.R:287:1', 'test-deprecated.R:320:1',
'test-deprecated.R:367:1', 'test-deprecated.R:389:1',
'test-deprecated.R:399:1', 'test-deprecated.R:467:1',
'test-deprecated.R:478:1', 'test-deprecated.R:496:1',
'test-deprecated.R:509:1', 'test-deprecated.R:546:1',
'test-deprecated.R:618:1', 'test-deprecated.R:626:1',
'test-deprecated.R:652:1', 'test-deprecated.R:663:1',
'test-deprecated.R:678:1', 'test-deprecated.R:694:1',
'test-deprecated.R:707:1', 'test-deprecated.R:722:1',
'test-deprecated.R:735:1', 'test-deprecated.R:748:1',
'test-deprecated.R:771:1', 'test-deprecated.R:783:1',
'test-deprecated.R:810:1', 'test-deprecated.R:832:1',
'test-deprecated.R:847:1', 'test-deprecated.R:870:1',
'test-deprecated.R:885:1', 'test-deprecated.R:895:1',
'test-deprecated.R:911:1', 'test-deprecated.R:925:1',
'test-deprecated.R:944:1', 'test-deprecated.R:992:1',
'test-deprecated.R:1024:1', 'test-deprecated.R:1096:1'
• getRversion() >= "4.4" is TRUE (3): 'test-method-dispatch.R:325:3',
'test-method-dispatch.R:353:3', 'test-method-dispatch.R:373:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-convert.R:151:3'): fallback convert can convert to S3 class ────
Error in `attributes(.Data) <- c(attributes(.Data), attrib)`: adding class "factor" to an invalid object
Backtrace:
▆
1. └─S7 (local) factor2(.data = 1, levels = "x", x = 1) at test-convert.R:151:3
2. ├─S7::new_object(new_factor(.data = .data, levels = levels), x = x)
3. │ └─S7:::check_parent(`_parent`, class)
4. │ └─S7:::class_inherits(parent, parent_class)
5. └─S7 (local) new_factor(.data = .data, levels = levels)
6. └─base::structure(.data, levels = levels, class = "factor")
[ FAIL 1 | WARN 2 | SKIP 201 | PASS 1765 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [35s/70s] OK
- checking PDF version of manual ... [5s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE