Last updated on 2026-03-10 21:54:05 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| crctStepdown | 2 | 12 | |
| glmmrBase | 3 | 11 | |
| glmmrOptim | 8 | 2 | 4 |
| marginme | 14 | ||
| rminqa | 14 | ||
| rts2 | 3 | 11 | |
| SparseChol | 14 |
Current CRAN status: NOTE: 2, OK: 12
Version: 0.5.2
Check: installed package size
Result: NOTE
installed size is 50.2Mb
sub-directories of 1Mb or more:
libs 50.1Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 1.2.1
Check: installed package size
Result: NOTE
installed size is 170.2Mb
sub-directories of 1Mb or more:
libs 168.9Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.2.1
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 8, NOTE: 2, OK: 4
Version: 0.3.6
Check: examples
Result: ERROR
Running examples in ‘glmmrOptim-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: DesignSpace
> ### Title: A GLMM Design Space
> ### Aliases: DesignSpace
>
> ### ** Examples
>
>
> ## ------------------------------------------------
> ## Method `DesignSpace$new`
> ## ------------------------------------------------
>
> ## Don't show:
> glmmrBase::setParallel(FALSE) # for the CRAN check
> setParallelOptim(FALSE)
> ## End(Don't show)
> df <- nelder(~ ((int(2)*t(3)) > cl(3)) > ind(5))
> df$int <- df$int - 1
> des <- Model$new(formula = ~ int + factor(t) - 1+ (1|gr(cl)) + (1|gr(cl,t)),
+ covariance = c(0.04,0.01),
+ mean = rep(0,4),
+ data=df,
+ family=gaussian())
> ds <- DesignSpace$new(des)
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #add another design
> des2 <- Model$new(formula = ~ int + factor(t) - 1 + (1|gr(cl)) + (1|gr(cl,t)),
+ covariance = c(0.05,0.8),
+ mean = rep(0,4),
+ data=df,
+ family=gaussian())
> ds$add(des2)
> #report the size of the design
> ds$n()
n.designs n
2 90
> #we can access specific designs
> ds$show(2)$n()
[1] 90
> #and then remove it
> ds$remove(2)
> #or we could add them when we construct object
> ds <- DesignSpace$new(des,des2)
weights not provided, assigning equal weighting. weights can be changed manually in self$weights
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #we can specify weights
> ds <- DesignSpace$new(des,des2,weights=c(0.1,0.9))
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #and add experimental conditions
> ds <- DesignSpace$new(des,des2,experimental_condition = df$cl)
weights not provided, assigning equal weighting. weights can be changed manually in self$weights
>
> ## ------------------------------------------------
> ## Method `DesignSpace$add`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$remove`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$print`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$n`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$optimal`
> ## ------------------------------------------------
>
> ## Don't show:
> glmmrBase::setParallel(FALSE) # for the CRAN check
> setParallelOptim(FALSE)
> ## End(Don't show)
> df <- nelder(~(cl(6)*t(5)) > ind(5))
> df$int <- 0
> df[df$t >= df$cl, 'int'] <- 1
> des <- Model$new(
+ formula = ~ factor(t) + int - 1 + (1|gr(cl)),
+ covariance = c(0.05),
+ mean = c(rep(0,5),0.6),
+ data=df,
+ family=gaussian(),
+ var_par = 1
+ )
> ds <- DesignSpace$new(des)
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
>
> #find the optimal design of size 30 individuals using reverse greedy search
> # change algo=1 for local search, and algo = 2 for greedy search
> opt2 <- ds$optimal(30,C=list(c(rep(0,5),1)),algo=3)
Checking experimental condition correlations...
Experimental conditions correlated, using combinatorial search algorithms
Starting val: 0.0514286
REVERSE GREEDY SEARCH for design of size 30
|Iteration 1| Size: 150 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 2| Size: 149 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 3| Size: 148 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 4| Size: 147 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 5| Size: 146 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 6| Size: 145 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 7| Size: 144 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 8| Size: 143 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 9| Size: 142 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 10| Size: 141 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 11| Size: 140 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 12| Size: 139 Current value: 0.0514372
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 13| Size: 138 Current value: 0.0514459
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 14| Size: 137 Current value: 0.0514556
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 15| Size: 136 Current value: 0.0514653
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 16| Size: 135 Current value: 0.0514763
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 17| Size: 134 Current value: 0.0514874
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 18| Size: 133 Current value: 0.0515
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 19| Size: 132 Current value: 0.0515127
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 20| Size: 131 Current value: 0.0515272
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 21| Size: 130 Current value: 0.0515419
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 22| Size: 129 Current value: 0.0515716
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 23| Size: 128 Current value: 0.0516018
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 24| Size: 127 Current value: 0.051634
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 25| Size: 126 Current value: 0.0516659
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 26| Size: 125 Current value: 0.0516981
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 27| Size: 124 Current value: 0.0517301
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 28| Size: 123 Current value: 0.0517639
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 29| Size: 122 Current value: 0.0517978
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 30| Size: 121 Current value: 0.0518316
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 31| Size: 120 Current value: 0.0518656
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 32| Size: 119 Current value: 0.0519012
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 33| Size: 118 Current value: 0.0519373
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 34| Size: 117 Current value: 0.0519728
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 35| Size: 116 Current value: 0.0520092
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 36| Size: 115 Current value: 0.0520466
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 37| Size: 114 Current value: 0.0520849
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 38| Size: 113 Current value: 0.0521225
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 39| Size: 112 Current value: 0.0521615
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 40| Size: 111 Current value: 0.0522007
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 41| Size: 110 Current value: 0.0522413
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 42| Size: 109 Current value: 0.0523324
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 43| Size: 108 Current value: 0.0524252
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 44| Size: 107 Current value: 0.0525314
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 45| Size: 106 Current value: 0.0526397
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 46| Size: 105 Current value: 0.0527649
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 47| Size: 104 Current value: 0.0528931
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 48| Size: 103 Current value: 0.0530384
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 49| Size: 102 Current value: 0.0531844
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 50| Size: 101 Current value: 0.053335
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 51| Size: 100 Current value: 0.053478
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 52| Size: 99 Current value: 0.0536387
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 53| Size: 98 Current value: 0.0538034
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 54| Size: 97 Current value: 0.053961
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 55| Size: 96 Current value: 0.054132
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 56| Size: 95 Current value: 0.0543156
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 57| Size: 94 Current value: 0.0544871
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 58| Size: 93 Current value: 0.0546878
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 59| Size: 92 Current value: 0.0548731
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 60| Size: 91 Current value: 0.0550862
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 61| Size: 90 Current value: 0.055301
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 62| Size: 89 Current value: 0.0555306
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 63| Size: 88 Current value: 0.0557633
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 64| Size: 87 Current value: 0.0559802
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 65| Size: 86 Current value: 0.0562282
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 66| Size: 85 Current value: 0.0565218
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 67| Size: 84 Current value: 0.0568186
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 68| Size: 83 Current value: 0.0571966
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 69| Size: 82 Current value: 0.0575798
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 70| Size: 81 Current value: 0.0580409
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 71| Size: 80 Current value: 0.0584974
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 72| Size: 79 Current value: 0.0589809
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 73| Size: 78 Current value: 0.0594449
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 74| Size: 77 Current value: 0.059977
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 75| Size: 76 Current value: 0.0604997
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 76| Size: 75 Current value: 0.0610161
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 77| Size: 74 Current value: 0.0615941
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 78| Size: 73 Current value: 0.0621474
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 79| Size: 72 Current value: 0.0627212
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 80| Size: 71 Current value: 0.063351
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 81| Size: 70 Current value: 0.0639731
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 82| Size: 69 Current value: 0.0646419
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 83| Size: 68 Current value: 0.065274
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 84| Size: 67 Current value: 0.0660216
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 85| Size: 66 Current value: 0.0667205
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 86| Size: 65 Current value: 0.0675351
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 87| Size: 64 Current value: 0.0682604
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 88| Size: 63 Current value: 0.0691035
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 89| Size: 62 Current value: 0.0698716
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 90| Size: 61 Current value: 0.0708093
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 91| Size: 60 Current value: 0.0716751
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 92| Size: 59 Current value: 0.0726835
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 93| Size: 58 Current value: 0.0736193
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 94| Size: 57 Current value: 0.0746459
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 95| Size: 56 Current value: 0.0756742
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 96| Size: 55 Current value: 0.0768911
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 97| Size: 54 Current value: 0.0779958
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 98| Size: 53 Current value: 0.079413
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 99| Size: 52 Current value: 0.0806647
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 1**|
|Iteration 100| Size: 51 Current value: 0.0822442
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 6**|
|Iteration 101| Size: 50 Current value: 0.0836054
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 102| Size: 49 Current value: 0.0853007
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 103| Size: 48 Current value: 0.086821
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 104| Size: 47 Current value: 0.0885851
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 105| Size: 46 Current value: 0.0901082
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 106| Size: 45 Current value: 0.0922317
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 107| Size: 44 Current value: 0.0939614
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 1**|
|Iteration 108| Size: 43 Current value: 0.0962726
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 6**|
|Iteration 109| Size: 42 Current value: 0.0981587
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 7**|
|Iteration 110| Size: 41 Current value: 0.10073
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 12**|
|Iteration 111| Size: 40 Current value: 0.102972
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 19**|
|Iteration 112| Size: 39 Current value: 0.105796
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 24**|
|Iteration 113| Size: 38 Current value: 0.108263
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 13**|
|Iteration 114| Size: 37 Current value: 0.111409
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 18**|
|Iteration 115| Size: 36 Current value: 0.114165
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 24**|
|Iteration 116| Size: 35 Current value: 0.117912
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 19**|
|Iteration 117| Size: 34 Current value: 0.121012
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 118| Size: 33 Current value: 0.125093
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 119| Size: 32 Current value: 0.128099
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 12**|
|Iteration 120| Size: 31 Current value: 0.13282
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 7**|
FINISHED REVERSE GREEDY SEARCH>
> #let the experimental condition be the cluster
> # these experimental conditions are independent of one another
> ds <- DesignSpace$new(des,experimental_condition = df$cl)
> # now find the optimal 4 clusters to include
> # approximately, finding the weights for each condition
> opt <- ds$optimal(4,C=list(c(rep(0,5),1)))
Checking experimental condition correlations...
Experimental conditions uncorrelated, using second-order cone program
Error: 'solve' is not an exported object from 'namespace:CVXR'
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 0.3.6
Check: examples
Result: ERROR
Running examples in ‘glmmrOptim-Ex.R’ failed
The error most likely occurred in:
> ### Name: DesignSpace
> ### Title: A GLMM Design Space
> ### Aliases: DesignSpace
>
> ### ** Examples
>
>
> ## ------------------------------------------------
> ## Method `DesignSpace$new`
> ## ------------------------------------------------
>
> ## Don't show:
> glmmrBase::setParallel(FALSE) # for the CRAN check
> setParallelOptim(FALSE)
> ## End(Don't show)
> df <- nelder(~ ((int(2)*t(3)) > cl(3)) > ind(5))
> df$int <- df$int - 1
> des <- Model$new(formula = ~ int + factor(t) - 1+ (1|gr(cl)) + (1|gr(cl,t)),
+ covariance = c(0.04,0.01),
+ mean = rep(0,4),
+ data=df,
+ family=gaussian())
> ds <- DesignSpace$new(des)
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #add another design
> des2 <- Model$new(formula = ~ int + factor(t) - 1 + (1|gr(cl)) + (1|gr(cl,t)),
+ covariance = c(0.05,0.8),
+ mean = rep(0,4),
+ data=df,
+ family=gaussian())
> ds$add(des2)
> #report the size of the design
> ds$n()
n.designs n
2 90
> #we can access specific designs
> ds$show(2)$n()
[1] 90
> #and then remove it
> ds$remove(2)
> #or we could add them when we construct object
> ds <- DesignSpace$new(des,des2)
weights not provided, assigning equal weighting. weights can be changed manually in self$weights
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #we can specify weights
> ds <- DesignSpace$new(des,des2,weights=c(0.1,0.9))
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
> #and add experimental conditions
> ds <- DesignSpace$new(des,des2,experimental_condition = df$cl)
weights not provided, assigning equal weighting. weights can be changed manually in self$weights
>
> ## ------------------------------------------------
> ## Method `DesignSpace$add`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$remove`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$print`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$n`
> ## ------------------------------------------------
>
> #See examples for constructing the class
>
> ## ------------------------------------------------
> ## Method `DesignSpace$optimal`
> ## ------------------------------------------------
>
> ## Don't show:
> glmmrBase::setParallel(FALSE) # for the CRAN check
> setParallelOptim(FALSE)
> ## End(Don't show)
> df <- nelder(~(cl(6)*t(5)) > ind(5))
> df$int <- 0
> df[df$t >= df$cl, 'int'] <- 1
> des <- Model$new(
+ formula = ~ factor(t) + int - 1 + (1|gr(cl)),
+ covariance = c(0.05),
+ mean = c(rep(0,5),0.6),
+ data=df,
+ family=gaussian(),
+ var_par = 1
+ )
> ds <- DesignSpace$new(des)
experimental condition not provided, assuming each observation is a separate experimental condition. experimental condition can be changed manually in self$experimental_condition
>
> #find the optimal design of size 30 individuals using reverse greedy search
> # change algo=1 for local search, and algo = 2 for greedy search
> opt2 <- ds$optimal(30,C=list(c(rep(0,5),1)),algo=3)
Checking experimental condition correlations...
Experimental conditions correlated, using combinatorial search algorithms
Starting val: 0.0514286
REVERSE GREEDY SEARCH for design of size 30
|Iteration 1| Size: 150 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 2| Size: 149 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 3| Size: 148 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 4| Size: 147 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 5| Size: 146 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 6| Size: 145 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 7| Size: 144 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 10**|
|Iteration 8| Size: 143 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 9| Size: 142 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 10| Size: 141 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 21**|
|Iteration 11| Size: 140 Current value: 0.0514286
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 12| Size: 139 Current value: 0.0514372
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 13| Size: 138 Current value: 0.0514459
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 14| Size: 137 Current value: 0.0514556
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 15| Size: 136 Current value: 0.0514653
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 16| Size: 135 Current value: 0.0514763
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 17| Size: 134 Current value: 0.0514874
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 18| Size: 133 Current value: 0.0515
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 19| Size: 132 Current value: 0.0515127
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 4**|
|Iteration 20| Size: 131 Current value: 0.0515272
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 27**|
|Iteration 21| Size: 130 Current value: 0.0515419
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 22| Size: 129 Current value: 0.0515716
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 23| Size: 128 Current value: 0.0516018
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 24| Size: 127 Current value: 0.051634
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 25| Size: 126 Current value: 0.0516659
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 26| Size: 125 Current value: 0.0516981
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 27| Size: 124 Current value: 0.0517301
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 28| Size: 123 Current value: 0.0517639
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 29| Size: 122 Current value: 0.0517978
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 30| Size: 121 Current value: 0.0518316
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 31| Size: 120 Current value: 0.0518656
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 32| Size: 119 Current value: 0.0519012
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 33| Size: 118 Current value: 0.0519373
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 34| Size: 117 Current value: 0.0519728
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 35| Size: 116 Current value: 0.0520092
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 36| Size: 115 Current value: 0.0520466
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 37| Size: 114 Current value: 0.0520849
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 26**|
|Iteration 38| Size: 113 Current value: 0.0521225
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 5**|
|Iteration 39| Size: 112 Current value: 0.0521615
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 15**|
|Iteration 40| Size: 111 Current value: 0.0522007
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 16**|
|Iteration 41| Size: 110 Current value: 0.0522413
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 42| Size: 109 Current value: 0.0523324
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 43| Size: 108 Current value: 0.0524252
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 44| Size: 107 Current value: 0.0525314
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 45| Size: 106 Current value: 0.0526397
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 46| Size: 105 Current value: 0.0527649
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 47| Size: 104 Current value: 0.0528931
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 48| Size: 103 Current value: 0.0530384
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 49| Size: 102 Current value: 0.0531844
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 50| Size: 101 Current value: 0.053335
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 51| Size: 100 Current value: 0.053478
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 52| Size: 99 Current value: 0.0536387
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 53| Size: 98 Current value: 0.0538034
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 54| Size: 97 Current value: 0.053961
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 55| Size: 96 Current value: 0.054132
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 56| Size: 95 Current value: 0.0543156
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 57| Size: 94 Current value: 0.0544871
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 58| Size: 93 Current value: 0.0546878
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 59| Size: 92 Current value: 0.0548731
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 60| Size: 91 Current value: 0.0550862
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 61| Size: 90 Current value: 0.055301
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 9**|
|Iteration 62| Size: 89 Current value: 0.0555306
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 3**|
|Iteration 63| Size: 88 Current value: 0.0557633
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 28**|
|Iteration 64| Size: 87 Current value: 0.0559802
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 22**|
|Iteration 65| Size: 86 Current value: 0.0562282
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 66| Size: 85 Current value: 0.0565218
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 67| Size: 84 Current value: 0.0568186
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 68| Size: 83 Current value: 0.0571966
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 69| Size: 82 Current value: 0.0575798
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 70| Size: 81 Current value: 0.0580409
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 71| Size: 80 Current value: 0.0584974
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 72| Size: 79 Current value: 0.0589809
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 73| Size: 78 Current value: 0.0594449
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 11**|
|Iteration 74| Size: 77 Current value: 0.059977
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 75| Size: 76 Current value: 0.0604997
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 76| Size: 75 Current value: 0.0610161
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 77| Size: 74 Current value: 0.0615941
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 78| Size: 73 Current value: 0.0621474
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 20**|
|Iteration 79| Size: 72 Current value: 0.0627212
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 80| Size: 71 Current value: 0.063351
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 81| Size: 70 Current value: 0.0639731
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 82| Size: 69 Current value: 0.0646419
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 83| Size: 68 Current value: 0.065274
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 84| Size: 67 Current value: 0.0660216
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 85| Size: 66 Current value: 0.0667205
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 86| Size: 65 Current value: 0.0675351
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 87| Size: 64 Current value: 0.0682604
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 88| Size: 63 Current value: 0.0691035
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 89| Size: 62 Current value: 0.0698716
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 90| Size: 61 Current value: 0.0708093
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 91| Size: 60 Current value: 0.0716751
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 2**|
|Iteration 92| Size: 59 Current value: 0.0726835
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 17**|
|Iteration 93| Size: 58 Current value: 0.0736193
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 29**|
|Iteration 94| Size: 57 Current value: 0.0746459
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 14**|
|Iteration 95| Size: 56 Current value: 0.0756742
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 96| Size: 55 Current value: 0.0768911
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 97| Size: 54 Current value: 0.0779958
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 98| Size: 53 Current value: 0.079413
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 99| Size: 52 Current value: 0.0806647
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 1**|
|Iteration 100| Size: 51 Current value: 0.0822442
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 6**|
|Iteration 101| Size: 50 Current value: 0.0836054
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 8**|
|Iteration 102| Size: 49 Current value: 0.0853007
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 23**|
|Iteration 103| Size: 48 Current value: 0.086821
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 104| Size: 47 Current value: 0.0885851
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 105| Size: 46 Current value: 0.0901082
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 106| Size: 45 Current value: 0.0922317
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 107| Size: 44 Current value: 0.0939614
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 1**|
|Iteration 108| Size: 43 Current value: 0.0962726
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 6**|
|Iteration 109| Size: 42 Current value: 0.0981587
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 7**|
|Iteration 110| Size: 41 Current value: 0.10073
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 12**|
|Iteration 111| Size: 40 Current value: 0.102972
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 19**|
|Iteration 112| Size: 39 Current value: 0.105796
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 24**|
|Iteration 113| Size: 38 Current value: 0.108263
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 13**|
|Iteration 114| Size: 37 Current value: 0.111409
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 18**|
|Iteration 115| Size: 36 Current value: 0.114165
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 24**|
|Iteration 116| Size: 35 Current value: 0.117912
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 19**|
|Iteration 117| Size: 34 Current value: 0.121012
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 25**|
|Iteration 118| Size: 33 Current value: 0.125093
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 30**|
|Iteration 119| Size: 32 Current value: 0.128099
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 12**|
|Iteration 120| Size: 31 Current value: 0.13282
Calculating removals:
0% 10 20 30 40 50 60 70 80 90 100%
[----|----|----|----|----|----|----|----|----|----|
************************************************
Removing: 7**|
FINISHED REVERSE GREEDY SEARCH>
> #let the experimental condition be the cluster
> # these experimental conditions are independent of one another
> ds <- DesignSpace$new(des,experimental_condition = df$cl)
> # now find the optimal 4 clusters to include
> # approximately, finding the weights for each condition
> opt <- ds$optimal(4,C=list(c(rep(0,5),1)))
Checking experimental condition correlations...
Experimental conditions uncorrelated, using second-order cone program
Error: 'solve' is not an exported object from 'namespace:CVXR'
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.3.6
Check: installed package size
Result: NOTE
installed size is 45.7Mb
sub-directories of 1Mb or more:
libs 45.5Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 3, OK: 11
Version: 0.10.2
Check: installed package size
Result: NOTE
installed size is 110.6Mb
sub-directories of 1Mb or more:
data 1.5Mb
libs 108.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.10.2
Check: for GNU extensions in Makefiles
Result: NOTE
GNU make is a SystemRequirements.
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.