CRAN Package Check Results for Package QRM

Last updated on 2019-12-06 00:50:07 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-13 27.69 109.45 137.14 ERROR
r-devel-linux-x86_64-debian-gcc 0.4-13 22.37 86.33 108.70 OK
r-devel-linux-x86_64-fedora-clang 0.4-13 167.50 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4-13 167.96 NOTE
r-devel-windows-ix86+x86_64 0.4-13 54.00 172.00 226.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4-13 52.00 183.00 235.00 OK
r-patched-linux-x86_64 0.4-13 23.49 102.30 125.79 OK
r-patched-solaris-x86 0.4-13 207.70 OK
r-release-linux-x86_64 0.4-13 22.71 102.97 125.68 OK
r-release-windows-ix86+x86_64 0.4-13 61.00 179.00 240.00 OK
r-release-osx-x86_64 0.4-13 OK
r-oldrel-windows-ix86+x86_64 0.4-13 36.00 230.00 266.00 OK
r-oldrel-osx-x86_64 0.4-13 OK

Check Details

Version: 0.4-13
Check: examples
Result: ERROR
    Running examples in 'QRM-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Gauss
    > ### Title: Multivariate Gauss Distribution
    > ### Aliases: Gauss dmnorm rmnorm fit.norm MardiaTest jointnormalTest
    > ### Keywords: distribution
    >
    > ### ** Examples
    >
    > BiDensPlot(func = dmnorm, mu = c(0, 0), Sigma = equicorr(2, -0.7))
    > S <- equicorr(d = 3, rho = 0.7)
    > data <- rmnorm(1000, Sigma = S)
    > fit.norm(data)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    QRM
     --- call from context ---
    fit.norm(data)
     --- call from argument ---
    if (class(data) == "timeSeries") data <- series(data)
     --- R stacktrace ---
    where 1: fit.norm(data)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (data)
    {
     if (class(data) == "timeSeries")
     data <- series(data)
     if (is.matrix(data) == FALSE)
     data <- as.matrix(data)
     mu <- apply(data, 2, mean)
     N = length(data)
     if (N == 1)
     stop("only one observation in data sent to fit.norm")
     Sigma <- (N - 1) * var(data)/N
     d <- dim(data)[2]
     cor <- NA
     if (d > 1)
     cor <- cov2cor(Sigma)
     maxloglik <- sum(dmnorm(data, mu, Sigma, log = TRUE))
     out <- list(mu = mu, Sigma = Sigma, cor = cor, ll.max = maxloglik)
     out
    }
    <bytecode: 0x7e2af90>
    <environment: namespace:QRM>
     --- function search by body ---
    Function fit.norm in namespace QRM has this body.
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4-13
Check: compiled code
Result: NOTE
    File ‘QRM/libs/QRM.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc