- using R version 4.6.1 (2026-06-24)
- using platform: aarch64-apple-darwin23
- R was compiled by
Apple clang version 17.0.0 (clang-1700.3.19.1)
GNU Fortran (GCC) 14.2.0
- running under: macOS Sequoia 15.7.1
- using session charset: UTF-8
* current time: 2026-09-19 00:04:13 UTC
- checking for file ‘rwa/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘rwa’ 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 ‘rwa’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/5s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [5s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(rwa)
>
> test_check("rwa")
Running bootstrap analysis with 39 samples...
Running bootstrap analysis with 39 samples...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `price` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Saving _problems/test-matrix-contract-94.R
Saving _problems/test-matrix-contract-95.R
Saving _problems/test-matrix-contract-96.R
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `disp` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
Parsing `mpg` as a non-binary variable.
Applying multiple regression to calculate relative weights...
[ FAIL 3 | WARN 20 | SKIP 10 | PASS 481 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (10): 'test-bootstrap.R:7:3', 'test-bootstrap.R:33:3',
'test-bootstrap.R:57:3', 'test-bootstrap.R:75:3', 'test-integration.R:62:3',
'test-plot_rwa.R:38:3', 'test-rwa.R:135:3', 'test-rwa.R:591:3',
'test-rwa.R:610:3', 'test-rwa.R:629:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-matrix-contract.R:94:5'): estimable highly correlated predictors retain their valid fit ──
Expected `result$rsquare` to equal `expected`.
Differences:
`actual`: 0.799999990
`expected`: 0.800000000
── Failure ('test-matrix-contract.R:95:5'): estimable highly correlated predictors retain their valid fit ──
Expected `wrapped$rsquare` to equal `expected`.
Differences:
`actual`: 0.799999990
`expected`: 0.800000000
── Failure ('test-matrix-contract.R:96:5'): estimable highly correlated predictors retain their valid fit ──
Expected `sum(result$result$Raw.RelWeight)` to equal `expected`.
Differences:
`actual`: 0.799999990
`expected`: 0.800000000
[ FAIL 3 | WARN 20 | SKIP 10 | PASS 481 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/13s] OK
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR