CRAN Package Check Results for Maintainer ‘Chi-Kuang Yeh <chi-kuang.yeh at mail.mcgill.ca>’

Last updated on 2026-03-07 04:50:25 CET.

Package ERROR OK
SLSEdesign 3 11

Package SLSEdesign

Current CRAN status: ERROR: 3, OK: 11

Version: 0.0.5
Check: dependencies in R code
Result: WARN Missing or unexported objects: ‘CVXR::diag’ ‘CVXR::solve’ Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.5
Check: examples
Result: ERROR Running examples in ‘SLSEdesign-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Aopt > ### Title: Calculate the A-optimal design under the second-order Least > ### squares estimator > ### Aliases: Aopt > > ### ** Examples > > poly3 <- function(xi, theta){ + matrix(c(1, xi, xi^2, xi^3), ncol = 1) + } > Npt <- 101 > my_design <- Aopt(N = Npt, u = seq(-1, +1, length.out = Npt), + tt = 0, FUN = poly3, theta = rep(0,4), num_iter = 2000) Error: 'diag' is not an exported object from 'namespace:CVXR' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘SLSEdesign.Rmd’ using rmarkdown Quitting from SLSEdesign.Rmd:50-64 [Define inputs] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! 'diag' is not an exported object from 'namespace:CVXR' --- Backtrace: ▆ 1. └─SLSEdesign::Aopt(N = N, u = u, tt = tt, FUN = poly3, theta = theta) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'SLSEdesign.Rmd' failed with diagnostics: 'diag' is not an exported object from 'namespace:CVXR' --- failed re-building ‘SLSEdesign.Rmd’ SUMMARY: processing the following file failed: ‘SLSEdesign.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.5
Check: examples
Result: ERROR Running examples in ‘SLSEdesign-Ex.R’ failed The error most likely occurred in: > ### Name: Aopt > ### Title: Calculate the A-optimal design under the second-order Least > ### squares estimator > ### Aliases: Aopt > > ### ** Examples > > poly3 <- function(xi, theta){ + matrix(c(1, xi, xi^2, xi^3), ncol = 1) + } > Npt <- 101 > my_design <- Aopt(N = Npt, u = seq(-1, +1, length.out = Npt), + tt = 0, FUN = poly3, theta = rep(0,4), num_iter = 2000) Error: 'diag' is not an exported object from 'namespace:CVXR' Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.0.5
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘SLSEdesign.Rmd’ using rmarkdown Quitting from SLSEdesign.Rmd:50-64 [Define inputs] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! 'diag' is not an exported object from 'namespace:CVXR' --- Backtrace: ▆ 1. └─SLSEdesign::Aopt(N = N, u = u, tt = tt, FUN = poly3, theta = theta) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'SLSEdesign.Rmd' failed with diagnostics: 'diag' is not an exported object from 'namespace:CVXR' --- failed re-building ‘SLSEdesign.Rmd’ SUMMARY: processing the following file failed: ‘SLSEdesign.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc