- using R Under development (unstable) (2025-09-03 r88788 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'radiant.model/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'radiant.model' version '1.6.7'
- 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 'radiant.model' 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 ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] 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 ... [22s] OK
- checking Rd files ... [2s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [32s] ERROR
Running examples in 'radiant.model-Ex.R' failed
The error most likely occurred in:
> ### Name: regress
> ### Title: Linear regression using OLS
> ### Aliases: regress
>
> ### ** Examples
>
> regress(diamonds, "price", c("carat", "clarity"), check = "standardize") %>% summary()
Linear regression (OLS)
Data : diamonds
Response variable : price
Explanatory variables: carat, clarity
Null hyp.: the effect of x on price is zero
Alt. hyp.: the effect of x on price is not zero
**Standardized coefficients shown (2 X SD)**
coefficient std.error t.value p.value
(Intercept) -0.504 0.025 -20.379 < .001 ***
carat 1.010 0.006 165.125 < .001 ***
clarity|SI2 0.353 0.025 13.857 < .001 ***
clarity|SI1 0.456 0.025 17.997 < .001 ***
clarity|VS2 0.537 0.025 21.080 < .001 ***
clarity|VS1 0.564 0.026 21.809 < .001 ***
clarity|VVS2 0.646 0.027 24.307 < .001 ***
clarity|VVS1 0.635 0.027 23.466 < .001 ***
clarity|IF 0.665 0.030 22.534 < .001 ***
Error in ll(object) : could not find function "ll"
Calls: %>% ... tibble_quos -> eval_tidy -> <Anonymous> -> AIC.default
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [7s] ERROR
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> ## use shift-cmd-t to run all tests
> library(testthat)
> test_check("radiant.model")
Loading required package: radiant.model
Loading required package: radiant.data
Loading required package: magrittr
Attaching package: 'magrittr'
The following objects are masked from 'package:testthat':
equals, is_less_than, not
Loading required package: ggplot2
Loading required package: lubridate
Attaching package: 'lubridate'
The following objects are masked from 'package:base':
date, intersect, setdiff, union
Loading required package: tidyr
Attaching package: 'tidyr'
The following object is masked from 'package:magrittr':
extract
The following object is masked from 'package:testthat':
matches
Loading required package: dplyr
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
Attaching package: 'radiant.data'
The following objects are masked from 'package:lubridate':
month, wday
The following object is masked from 'package:ggplot2':
diamonds
The following object is masked from 'package:magrittr':
set_attr
The following object is masked from 'package:testthat':
describe
The following object is masked from 'package:base':
date
SI1 9 114304.420 104924.680 123684.159 9379.739
sex|male 0.080 -92.0% -2.522 0.163 -15.447 < .001 ***
2nd female 0.779 0.712 0.833
1st female 0.896 0.856 0.926
1st female 29.000 0.919 0.880 0.945
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 22 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_stats.R:10:3'): regress ────────────────────────────────────────
Error in `ll(object)`: could not find function "ll"
Backtrace:
▆
1. ├─capture.output(summary(result))[10] %>% trim() at test_stats.R:10:3
2. ├─radiant.model (local) trim(.)
3. │ └─base::gsub("^\\s+|\\s+$", "", x) at test_stats.R:3:9
4. │ └─base::is.factor(x)
5. ├─utils::capture.output(summary(result))
6. │ └─base::withVisible(...elt(i))
7. ├─base::summary(result)
8. ├─radiant.model:::summary.regress(result)
9. │ ├─glance(object$model) %>% round(dec)
10. │ ├─generics::glance(object$model)
11. │ └─broom:::glance.lm(object$model)
12. │ ├─base::with(...)
13. │ └─base::with.default(...)
14. │ └─base::eval(substitute(expr), data, enclos = parent.frame())
15. │ └─base::eval(substitute(expr), data, enclos = parent.frame())
16. │ └─tibble::tibble(...)
17. │ └─tibble:::tibble_quos(xs, .rows, .name_repair)
18. │ └─rlang::eval_tidy(xs[[j]], mask)
19. ├─stats::AIC(x)
20. └─stats:::AIC.default(x)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 22 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [21s] OK
- DONE
Status: 2 ERRORs