CRAN Package Check Results for Maintainer ‘Sam Watson <s.i.watson at bham.ac.uk>’

Last updated on 2026-04-05 01:50:35 CEST.

Package ERROR NOTE OK
crctStepdown 2 12
glmmrBase 2 2 10
glmmrOptim 7 1 6
marginme 14
rminqa 14
rts2 3 11
SparseChol 14

Package crctStepdown

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

Package glmmrBase

Current CRAN status: ERROR: 2, NOTE: 2, OK: 10

Version: 1.3.0
Check: examples
Result: ERROR Running examples in ‘glmmrBase-Ex.R’ failed The error most likely occurred in: > ### Name: Model > ### Title: A GLMM Model > ### Aliases: Model > > ### ** Examples > > > ## ------------------------------------------------ > ## Method `Model$new` > ## ------------------------------------------------ > > ## Don't show: > setParallel(FALSE) > ## End(Don't show) > # For more examples, see the examples for MCML. > > #create a data frame describing a cross-sectional parallel cluster > #randomised trial > df <- nelder(~(cl(10)*t(5)) > ind(10)) > df$int <- 0 > df[df$cl > 5, 'int'] <- 1 > mod <- Model$new( + formula = ~ factor(t) + int - 1 + (1|gr(cl)) + (1|gr(cl,t)), + data = df, + family = stats::gaussian() + ) > > # We can also include the outcome data in the model initialisation. > # For example, simulating data and creating a new object: > df$y <- mod$sim_data() > > mod <- Model$new( + formula = y ~ factor(t) + int - 1 + (1|gr(cl)) + (1|gr(cl,t)), + data = df, + family = stats::gaussian() + ) > > # Here we will specify a cohort study > df <- nelder(~ind(20) * t(6)) > df$int <- 0 > df[df$t > 3, 'int'] <- 1 > > des <- Model$new( + formula = ~ int + (1|gr(ind)), + data = df, + family = stats::poisson() + ) > > # or with parameter values specified > > des <- Model$new( + formula = ~ int + (1|gr(ind)), + covariance = c(0.05), + mean = c(1,0.5), + data = df, + family = stats::poisson() + ) > > #an example of a spatial grid with two time points > > df <- nelder(~ (x(10)*y(10))*t(2)) > spt_design <- Model$new(formula = ~ 1 + (1|ar0(t)*fexp(x,y)), + data = df, + family = stats::gaussian()) > > ## ------------------------------------------------ > ## Method `Model$sim_data` > ## ------------------------------------------------ > > df <- nelder(~(cl(10)*t(5)) > ind(10)) > df$int <- 0 > df[df$cl > 5, 'int'] <- 1 > ## Don't show: > setParallel(FALSE) # for the CRAN check > ## End(Don't show) > des <- Model$new( + formula = ~ factor(t) + int - 1 + (1|gr(cl)*ar0(t)), + covariance = c(0.05,0.8), + mean = c(rep(0,5),0.6), + data = df, + family = stats::binomial() + ) > ysim <- des$sim_data() > > ## ------------------------------------------------ > ## Method `Model$update_parameters` > ## ------------------------------------------------ > > ## Don't show: > setParallel(FALSE) # for the CRAN check > ## End(Don't show) > df <- nelder(~(cl(10)*t(5)) > ind(10)) > df$int <- 0 > df[df$cl > 5, 'int'] <- 1 > des <- Model$new( + formula = ~ factor(t) + int - 1 + (1|gr(cl)*ar0(t)), + data = df, + family = stats::binomial() + ) > des$update_parameters(cov.pars = c(0.1,0.9)) > > ## ------------------------------------------------ > ## Method `Model$power` > ## ------------------------------------------------ > > ## Don't show: > setParallel(FALSE) # for the CRAN check > ## End(Don't show) > df <- nelder(~(cl(10)*t(5)) > ind(10)) > df$int <- 0 > df[df$cl > 5, 'int'] <- 1 > des <- Model$new( + formula = ~ factor(t) + int - 1 + (1|gr(cl)) + (1|gr(cl,t)), + covariance = c(0.05,0.1), + mean = c(rep(0,5),0.6), + data = df, + family = stats::gaussian(), + var_par = 1 + ) > des$power() #power of 0.90 for the int parameter Value SE Power b_t1 0.0 0.1843909 0.025000 b_t2 0.0 0.1843909 0.025000 b_t3 0.0 0.1843909 0.025000 b_t4 0.0 0.1843909 0.025000 b_t5 0.0 0.1843909 0.025000 b_int 0.6 0.1897367 0.885379 > > ## ------------------------------------------------ > ## Method `Model$MCML` > ## ------------------------------------------------ > > ## Not run: > ##D # Simulated trial data example > ##D data(SimTrial,package = "glmmrBase") > ##D model <- Model$new( > ##D formula = y ~ int + factor(t) - 1 + (1|gr(cl)*ar1(t)), > ##D data = SimTrial, > ##D family = gaussian() > ##D ) > ##D glm3 <- model$MCML() > ##D > ##D # Salamanders data example > ##D data(Salamanders,package="glmmrBase") > ##D model <- Model$new( > ##D mating~fpop:mpop-1+(1|gr(mnum))+(1|gr(fnum)), > ##D data = Salamanders, > ##D family = binomial() > ##D ) > ##D > ##D # use MCEM + REML with 500 sampling iterations > ##D glm2 <- model$MCML(method = "mcem", iter.sampling = 500, reml = TRUE) > ##D > ##D # as an alternative, we will specify the variance parameters on the > ##D # log scale and use a fast fitting algorithm > ##D # we will use two newton-raphson steps, and Normal approximation posteriors with > ##D # conjugate gradient descent > ##D # the maximum number of iterations is increased as it takes 100-110 in this example > ##D # we can also chain together the functions > ##D glm3 <- Model$new( > ##D mating~fpop:mpop-1+(1|grlog(mnum))+(1|grlog(fnum)), > ##D data = Salamanders, > ##D family = binomial() > ##D )$MCML(method = "mcnr2", mcmc.pkg = "analytic", iter.sampling = 50, max.iter = 150) > ##D > ##D # Example using simulated data > ##D #create example data with six clusters, five time periods, and five people per cluster-period > ##D df <- nelder(~(cl(6)*t(5)) > ind(5)) > ##D # parallel trial design intervention indicator > ##D df$int <- 0 > ##D df[df$cl > 3, 'int'] <- 1 > ##D # specify parameter values in the call for the data simulation below > ##D des <- Model$new( > ##D formula= ~ factor(t) + int - 1 +(1|gr(cl)*ar0(t)), > ##D covariance = c(0.05,0.7), > ##D mean = c(rep(0,5),0.2), > ##D data = df, > ##D family = gaussian() > ##D ) > ##D ysim <- des$sim_data() # simulate some data from the model > ##D fit1 <- des$MCML(y = ysim) # Default model fitting with SAEM > ##D # use MCNR instead and stop when parameter values are within 1e-2 on successive iterations > ##D fit2 <- des$MCML(y = ysim, method="mcnr",tol=1e-2,conv.criterion = 1) > ##D > ##D # Non-linear model fitting example using the example provided by nlmer in lme4 > ##D data(Orange, package = "lme4") > ##D > ##D # the lme4 example: > ##D startvec <- c(Asym = 200, xmid = 725, scal = 350) > ##D (nm1 <- lme4::nlmer(circumference ~ SSlogis(age, Asym, xmid, scal) ~ Asym|Tree, > ##D Orange, start = startvec)) > ##D > ##D Orange <- as.data.frame(Orange) > ##D Orange$Tree <- as.numeric(Orange$Tree) > ##D > ##D # Here we can specify the model as a function. > ##D > ##D model <- Model$new( > ##D circumference ~ Asym/(1 + exp((xmid - (age))/scal)) - 1 + (Asym|gr(Tree)), > ##D data = Orange, > ##D family = gaussian(), > ##D mean = c(200,725,350), > ##D covariance = c(500), > ##D var_par = 50 > ##D ) > ##D > ##D # for this example, we will use MCEM with adaptive MCMC sample sizes > ##D > ##D nfit <- model$MCML(method = "mcem.adapt", iter.sampling = 1000) > ##D > ##D summary(nfit) > ##D summary(nm1) > ##D > ##D > ## End(Not run) > > ## ------------------------------------------------ > ## Method `Model$fit` > ## ------------------------------------------------ > > # Simulated trial data example using REML > data(SimTrial,package = "glmmrBase") > fit1 <- Model$new( + formula = y ~ int + factor(t) - 1 + (1|grlog(cl)*ar0log(t)), + data = SimTrial, + family = gaussian() + )$fit(reml = TRUE) Error: Exponent fail: nan^1.000000 Execution halted Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64

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-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-windows-x86_64

Version: 1.3.0
Check: installed package size
Result: NOTE installed size is 179.8Mb sub-directories of 1Mb or more: libs 178.6Mb Flavor: r-oldrel-macos-x86_64

Version: 1.3.0
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavor: r-oldrel-macos-x86_64

Package glmmrOptim

Current CRAN status: ERROR: 7, NOTE: 1, OK: 6

Additional issues

M1mac

Version: 0.3.7
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 in Rmosek::mosek(prob, opts) : Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek. Calls: <Anonymous> ... method(solve_via_data, CVXR::Mosek_Solver) -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-gcc, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.3.7
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: 5**| |Iteration 22| Size: 129 Current value: 0.0515716 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 26**| |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: 3**| |Iteration 56| Size: 95 Current value: 0.0543156 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 28**| |Iteration 57| Size: 94 Current value: 0.0544871 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 28**| |Iteration 58| Size: 93 Current value: 0.0546878 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 3**| |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: 6**| |Iteration 106| Size: 45 Current value: 0.0922317 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 1**| |Iteration 107| Size: 44 Current value: 0.0939614 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 30**| |Iteration 108| Size: 43 Current value: 0.0962726 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 25**| |Iteration 109| Size: 42 Current value: 0.0981587 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 19**| |Iteration 110| Size: 41 Current value: 0.10073 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 24**| |Iteration 111| Size: 40 Current value: 0.102972 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 7**| |Iteration 112| Size: 39 Current value: 0.105796 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 12**| |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: 19**| |Iteration 116| Size: 35 Current value: 0.117912 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 24**| |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: 7**| |Iteration 120| Size: 31 Current value: 0.13282 Calculating removals: 0% 10 20 30 40 50 60 70 80 90 100% [----|----|----|----|----|----|----|----|----|----| ************************************************ Removing: 12**| 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 in Rmosek::mosek(prob, opts) : Unknown exported object to be built. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek. Calls: <Anonymous> ... method(solve_via_data, CVXR::Mosek_Solver) -> <Anonymous> Execution halted Flavors: r-devel-macos-arm64, r-release-macos-arm64

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-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 Flavor: r-oldrel-macos-arm64

Version: 0.3.7
Check: installed package size
Result: NOTE installed size is 46.7Mb sub-directories of 1Mb or more: libs 46.4Mb Flavor: r-oldrel-macos-x86_64

Package marginme

Current CRAN status: OK: 14

Package rminqa

Current CRAN status: OK: 14

Package rts2

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

Package SparseChol

Current CRAN status: OK: 14