- using R version 4.6.1 Patched (2026-08-15 r90413)
- using platform: aarch64-apple-darwin23
- R was compiled by
Apple clang version 17.0.0 (clang-1700.3.19.1)
GNU Fortran (GCC) 14.2.0
- running under: macOS Sequoia 15.7.1
- using session charset: UTF-8
* current time: 2026-08-23 08:59:21 UTC
- checking for file ‘smqf/DESCRIPTION’ ... OK
- this is package ‘smqf’ version ‘1.1-7’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘smqf’ can be installed ... [5s/6s] OK
See the install log for details.
- checking installed package size ... INFO
installed size is 5.2Mb
sub-directories of 1Mb or more:
data 4.5Mb
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/9s] ERROR
Running ‘testthat.R’ [7s/9s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(smqf)
Loading required package: xts
Loading required package: zoo
Attaching package: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
>
> test_check("smqf")
Saving _problems/test-efficient-frontier-108.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1221 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-efficient-frontier.R:105:5'): matches quadprog::solve.QP, the construction used in the book ──
Error in `quadprog::solve.QP(Sigma, rep(0, N), cbind(rep(1, N), matrix(mu, ncol = 1), diag(N)), c(1, tg[i], rep(0, N)), meq = 2)`: constraints are inconsistent, no solution!
Backtrace:
▆
1. └─quadprog::solve.QP(...) at test-efficient-frontier.R:105:5
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1221 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [2s/3s] OK
- DONE
Status: 1 ERROR