CRAN Package Check Results for Maintainer ‘Chelsea Song <qianqisong at gmail.com>’

Last updated on 2025-03-10 18:53:20 CET.

Package ERROR OK
rMOST 2 13

Package rMOST

Current CRAN status: ERROR: 2, OK: 13

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(rMOST) Welcome to rMOST. rMOST estimates Pareto-optimal solutions for personnel selection with 3 objectives using Normal Boundary Intersection algorithm. > > test_check("rMOST") Estimating Multi-Objective Optimal Solution ... Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-MOST.R:27:1'): (code run outside of `test_that()`) ───────────── Error in `is.nloptr(ret)`: equality constraints in x0 returns NA Backtrace: ▆ 1. └─rMOST::MOST(...) at test-MOST.R:27:1 2. └─rMOST::ParetoR_3C(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. └─rMOST:::NBI_3C(X0, Spac, Fnum, VLB, VUB, TolX, TolF, TolCon) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. └─nloptr::slsqp(...) 9. └─nloptr::nloptr(...) 10. └─nloptr::is.nloptr(ret) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘rMOST-vignette.Rmd’ using rmarkdown Quitting from lines 61-73 [unnamed-chunk-3] (rMOST-vignette.Rmd) Error: processing vignette 'rMOST-vignette.Rmd' failed with diagnostics: equality constraints in x0 returns NA --- failed re-building ‘rMOST-vignette.Rmd’ SUMMARY: processing the following file failed: ‘rMOST-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc