- using R Under development (unstable) (2025-01-19 r87600)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.6 (1+b1)
Debian flang-new version 19.1.6 (1+b1)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘rvinecopulib/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘rvinecopulib’ version ‘0.6.3.1.1’
- 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 serialization versions ... OK
- checking whether package ‘rvinecopulib’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘Debian clang version 19.1.6 (1+b1)’
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... 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 ... [12s/16s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
plot.bicop_dist.Rd: wireframe
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
- 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 line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [11s/14s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/14s] ERROR
Running ‘testthat.R’ [10s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rvinecopulib)
>
>
> test_check("rvinecopulib")
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 302 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_discrete.R:95:3'): vine works ──────────────────────────────────
Error in `levels(obj$x)[q + 1]`: only 0's may be mixed with negative subscripts
Backtrace:
▆
1. └─rvinecopulib::rvine(n * 10, fit) at test_discrete.R:95:3
2. └─rvinecopulib:::dpq_marg(U, vine, "q")
3. └─base::lapply(...)
4. └─rvinecopulib (local) FUN(X[[i]], ...)
5. └─rvinecopulib:::eval_one_dpq(x[, i], vine$margins[[i]], what)
6. └─kde1d::qkde1d(x, margin)
7. └─base::ordered(levels(obj$x)[q + 1], levels(obj$x))
8. └─base::factor(x, ..., ordered = TRUE)
── Failure ('test_vine.R:57:3'): margins_controls works ────────────────────────
sapply(fit_mult$margins, "[[", "bw") not equal to 2/log(6) * sapply(fit$margins, "[[", "bw").
5/5 mismatches (average diff: 0.112)
[1] 0.799 - 0.892 == -0.0929
[2] 1.073 - 1.198 == -0.1247
[3] 0.711 - 0.794 == -0.0827
[4] 1.158 - 1.293 == -0.1346
[5] 1.060 - 1.183 == -0.1231
Backtrace:
▆
1. └─rvinecopulib (local) expect_eql(...) at test_vine.R:57:3
2. └─testthat::expect_equal(..., check.environment = FALSE) at test_vine.R:2:15
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 302 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE