Last updated on 2025-07-01 07:50:49 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
aihuman | 1 | 2 | 10 |
Current CRAN status: ERROR: 1, NOTE: 2, OK: 10
Version: 1.0.1
Check: examples
Result: ERROR
Running examples in ‘aihuman-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: TestMonotonicityRE
> ### Title: Test monotonicity with random effects
> ### Aliases: TestMonotonicityRE
>
> ### ** Examples
>
> data(synth)
> data(hearingdate_synth)
> synth$CourtEvent_HearingDate <- hearingdate_synth
> TestMonotonicityRE(synth,
+ fixed = "Y ~ Sex + White + Age +
+ CurrentViolentOffense + PendingChargeAtTimeOfOffense +
+ PriorMisdemeanorConviction + PriorFelonyConviction +
+ PriorViolentConviction + D",
+ random = "~ 1|CourtEvent_HearingDate"
+ )
Error in colMeans(post_b2, na.rm = TRUE) :
'x' must be an array of at least two dimensions
Calls: TestMonotonicityRE -> mixed_model -> mixed_fit -> matrix -> colMeans
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 6.7Mb
sub-directories of 1Mb or more:
doc 1.6Mb
libs 4.3Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64