Last updated on 2025-09-05 08:50:35 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.6.7 | 27.89 | 192.34 | 220.23 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.6.7 | 16.63 | 127.70 | 144.33 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.6.7 | 339.58 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.6.7 | 321.81 | OK | |||
r-devel-windows-x86_64 | 1.6.7 | 28.00 | 201.00 | 229.00 | OK | |
r-patched-linux-x86_64 | 1.6.7 | 27.43 | 181.73 | 209.16 | OK | |
r-release-linux-x86_64 | 1.6.7 | 26.25 | 182.21 | 208.46 | OK | |
r-release-macos-arm64 | 1.6.7 | 79.00 | OK | |||
r-release-macos-x86_64 | 1.6.7 | 168.00 | OK | |||
r-release-windows-x86_64 | 1.6.7 | 29.00 | 207.00 | 236.00 | OK | |
r-oldrel-macos-arm64 | 1.6.7 | 62.00 | OK | |||
r-oldrel-macos-x86_64 | 1.6.7 | 114.00 | OK | |||
r-oldrel-windows-x86_64 | 1.6.7 | 38.00 | 266.00 | 304.00 | OK |
Version: 1.6.7
Check: examples
Result: ERROR
Running examples in ‘radiant.model-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.6.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/7s]
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
Flavor: r-devel-linux-x86_64-debian-gcc