CRAN Package Check Results for Package QRM

Last updated on 2020-01-24 06:49:22 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4-13 31.67 112.57 144.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.4-13 22.02 86.74 108.76 WARN
r-devel-linux-x86_64-fedora-clang 0.4-13 177.82 WARN
r-devel-linux-x86_64-fedora-gcc 0.4-13 169.95 WARN
r-devel-windows-ix86+x86_64 0.4-13 72.00 245.00 317.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.4-13 71.00 189.00 260.00 OK
r-patched-linux-x86_64 0.4-13 22.81 101.73 124.54 OK
r-patched-solaris-x86 0.4-13 205.50 OK
r-release-linux-x86_64 0.4-13 22.90 101.19 124.09 OK
r-release-windows-ix86+x86_64 0.4-13 53.00 220.00 273.00 OK
r-release-osx-x86_64 0.4-13 OK
r-oldrel-windows-ix86+x86_64 0.4-13 34.00 153.00 187.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: 0x9eaa628>
    <environment: namespace:QRM>
     --- function search by body ---
    Function fit.norm in namespace QRM has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(data) == "timeSeries") data <- series(data) :
     the condition has length > 1
    Calls: fit.norm
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.4-13
Check: examples
Result: WARN
    Found the following significant warnings:
    
     Warning: tail(., addrownums = V) is deprecated.
    Deprecated functions may be defunct as soon as of the next release of
    R.
    See ?Deprecated.
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

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