CRAN Package Check Results for Package mcglm

Last updated on 2023-01-25 04:51:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.0 69.26 141.82 211.08 OK
r-devel-linux-x86_64-debian-gcc 0.8.0 57.32 105.47 162.79 OK
r-devel-linux-x86_64-fedora-clang 0.8.0 274.55 OK
r-devel-linux-x86_64-fedora-gcc 0.8.0 281.23 OK
r-patched-linux-x86_64 0.8.0 61.21 134.67 195.88 OK
r-release-linux-x86_64 0.8.0 53.48 130.50 183.98 OK
r-release-macos-arm64 0.8.0 75.00 OK
r-release-macos-x86_64 0.8.0 93.00 OK
r-release-windows-x86_64 0.8.0 82.00 182.00 264.00 OK
r-oldrel-macos-arm64 0.7.0 80.00 NOTE
r-oldrel-macos-x86_64 0.7.0 92.00 OK
r-oldrel-windows-ix86+x86_64 0.7.0 159.00 179.00 338.00 ERROR

Check Details

Version: 0.7.0
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     doc 1.5Mb
     libs 3.4Mb
Flavor: r-oldrel-macos-arm64

Version: 0.7.0
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'mcglm-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Hunting
    > ### Title: Hunting in Pico Basile, Bioko Island, Equatorial Guinea.
    > ### Aliases: Hunting
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > library(mcglm)
    > library(Matrix)
    > data(Hunting, package="mcglm")
    > formu <- OT ~ METHOD*ALT + SEX + ALT*poly(MONTH, 4)
    > Z0 <- mc_id(Hunting)
    > Z1 <- mc_mixed(~0 + HUNTER.MONTH, data = Hunting)
    > fit <- mcglm(linear_pred = c(formu), matrix_pred = list(c(Z0, Z1)),
    + link = c("log"), variance = c("poisson_tweedie"),
    + power_fixed = c(FALSE),
    + control_algorithm = list(max_iter = 100),
    + offset = list(log(Hunting$OFFSET)), data = Hunting)
    Automatic initial values selected.
    Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function 'forceSymmetric' for signature '"dgCMatrix", "logical"'
    Error: $ operator is invalid for atomic vectors
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.7.0
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'mcglm-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: Hunting
    > ### Title: Hunting in Pico Basile, Bioko Island, Equatorial Guinea.
    > ### Aliases: Hunting
    > ### Keywords: datasets
    >
    > ### ** Examples
    >
    > library(mcglm)
    > library(Matrix)
    > data(Hunting, package="mcglm")
    > formu <- OT ~ METHOD*ALT + SEX + ALT*poly(MONTH, 4)
    > Z0 <- mc_id(Hunting)
    > Z1 <- mc_mixed(~0 + HUNTER.MONTH, data = Hunting)
    > fit <- mcglm(linear_pred = c(formu), matrix_pred = list(c(Z0, Z1)),
    + link = c("log"), variance = c("poisson_tweedie"),
    + power_fixed = c(FALSE),
    + control_algorithm = list(max_iter = 100),
    + offset = list(log(Hunting$OFFSET)), data = Hunting)
    Automatic initial values selected.
    Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function 'forceSymmetric' for signature '"dgCMatrix", "logical"'
    Error: $ operator is invalid for atomic vectors
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.7.0
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [11s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mcglm)
     ----------------------------------------------------------------------
     mcglm: Multivariate Covariance Generalized Linear Models
    
     For support, collaboration or bug report, visit:
     http://mcglm.leg.ufpr.br/
    
     mcglm version 0.7.0 (build on 2021-07-07) is now loaded.
     ----------------------------------------------------------------------
     >
     > test_check("mcglm")
     [1] "Running test_mc_build_C.R"
     [1] "Testing covariance identity"
     [1] "OK"
     [1] "Testing covariance inverse"
     [1] "OK"
     [1] "Testing covariance expm"
     [1] "OK"
     [1] "Checking computations"
     [1] "Testing variance function: tweedie"
     [1] "OK"
     [1] "Testing variance function: binomialP"
     [1] "OK"
     [1] "Checking Poisson-Tweedie derivatives"
     [1] "Checking binomiaPQ derivatives"
     [1] "test_mc_build.C - OK"
     [1] "test_mc_build_omega.R"
     [1] "test_mc_build_omega.R - OK"
     [1] "test_mc_build_sigma.R"
     [1] "test_mc_build_sigma.R - OK"
     [1] "test_mc_build_sigma_between.R"
     [1] "test_mc_build_sigma_between.R-OK"
     [1] "Testing link functions ..."
     [1] "Testing link functions - Part II"
     [1] "Testing link functions - Part II"
     [1] "Testing Matrix linear predictor..."
     [1] "Testing Matrix linear predictor... OK"
     [1] "Testing variance function ..."
     [1] "Testing variance function ... OK"
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 370 ]
    
     == Failed tests ================================================================
     -- Error (test_mc_quasi_score.R:29:1): (code run outside of `test_that()`) -----
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("dgCMatrix", package = "Matrix"), "logical"),
     new("standardGeneric", .Data = function (x, uplo)
     standardGeneric("forceSymmetric"), generic = structure("forceSymmetric", package = "Matrix"),
     package = "Matrix", group = list(), valueClass = character(0),
     signature = c("x", "uplo"), default = NULL, skeleton = (function (x,
     uplo)
     stop(gettextf("invalid call in method dispatch to '%s' (no default method)",
     "forceSymmetric"), domain = NA))(x, uplo)), <environment>)`: unable to find an inherited method for function 'forceSymmetric' for signature '"dgCMatrix", "logical"'
     Backtrace:
     x
     1. \-mcglm:::mc_pearson(...) at test_mc_quasi_score.R:29:0
     2. \-mcglm:::mc_sensitivity(product, W = W)
     3. \-Matrix::forceSymmetric(Sensitivity, uplo = FALSE)
     4. \-methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 370 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.7.0
Check: running tests for arch ‘x64’
Result: ERROR
     Running 'testthat.R' [12s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mcglm)
     ----------------------------------------------------------------------
     mcglm: Multivariate Covariance Generalized Linear Models
    
     For support, collaboration or bug report, visit:
     http://mcglm.leg.ufpr.br/
    
     mcglm version 0.7.0 (build on 2021-07-07) is now loaded.
     ----------------------------------------------------------------------
     >
     > test_check("mcglm")
     [1] "Running test_mc_build_C.R"
     [1] "Testing covariance identity"
     [1] "OK"
     [1] "Testing covariance inverse"
     [1] "OK"
     [1] "Testing covariance expm"
     [1] "OK"
     [1] "Checking computations"
     [1] "Testing variance function: tweedie"
     [1] "OK"
     [1] "Testing variance function: binomialP"
     [1] "OK"
     [1] "Checking Poisson-Tweedie derivatives"
     [1] "Checking binomiaPQ derivatives"
     [1] "test_mc_build.C - OK"
     [1] "test_mc_build_omega.R"
     [1] "test_mc_build_omega.R - OK"
     [1] "test_mc_build_sigma.R"
     [1] "test_mc_build_sigma.R - OK"
     [1] "test_mc_build_sigma_between.R"
     [1] "test_mc_build_sigma_between.R-OK"
     [1] "Testing link functions ..."
     [1] "Testing link functions - Part II"
     [1] "Testing link functions - Part II"
     [1] "Testing Matrix linear predictor..."
     [1] "Testing Matrix linear predictor... OK"
     [1] "Testing variance function ..."
     [1] "Testing variance function ... OK"
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 370 ]
    
     == Failed tests ================================================================
     -- Error (test_mc_quasi_score.R:29:1): (code run outside of `test_that()`) -----
     Error in `(function (classes, fdef, mtable)
     {
     methods <- .findInheritedMethods(classes, fdef, mtable)
     if (length(methods) == 1L)
     return(methods[[1L]])
     else if (length(methods) == 0L) {
     cnames <- paste0("\"", vapply(classes, as.character,
     ""), "\"", collapse = ", ")
     stop(gettextf("unable to find an inherited method for function %s for signature %s",
     sQuote(fdef@generic), sQuote(cnames)), domain = NA)
     }
     else stop("Internal error in finding inherited methods; didn't return a unique method",
     domain = NA)
     })(list(structure("dgCMatrix", package = "Matrix"), "logical"),
     new("standardGeneric", .Data = function (x, uplo)
     standardGeneric("forceSymmetric"), generic = structure("forceSymmetric", package = "Matrix"),
     package = "Matrix", group = list(), valueClass = character(0),
     signature = c("x", "uplo"), default = NULL, skeleton = (function (x,
     uplo)
     stop(gettextf("invalid call in method dispatch to '%s' (no default method)",
     "forceSymmetric"), domain = NA))(x, uplo)), <environment>)`: unable to find an inherited method for function 'forceSymmetric' for signature '"dgCMatrix", "logical"'
     Backtrace:
     x
     1. \-mcglm:::mc_pearson(...) at test_mc_quasi_score.R:29:0
     2. \-mcglm:::mc_sensitivity(product, W = W)
     3. \-Matrix::forceSymmetric(Sensitivity, uplo = FALSE)
     4. \-methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`)
    
     [ FAIL 1 | WARN 1 | SKIP 0 | PASS 370 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.7.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'GLMExamples.Rmd' using rmarkdown
    Loading required package: mcglm
    ----------------------------------------------------------------------
     mcglm: Multivariate Covariance Generalized Linear Models
    
     For support, collaboration or bug report, visit:
     http://mcglm.leg.ufpr.br/
    
     mcglm version 0.7.0 (build on 2021-07-07) is now loaded.
    ----------------------------------------------------------------------
    Loading required package: Matrix
    Quitting from lines 67-77 (GLMExamples.Rmd)
    Error: processing vignette 'GLMExamples.Rmd' failed with diagnostics:
    $ operator is invalid for atomic vectors
    --- failed re-building 'GLMExamples.Rmd'
    
    --- re-building 'UniModels.Rmd' using rmarkdown
    Loading required package: mcglm
    ----------------------------------------------------------------------
     mcglm: Multivariate Covariance Generalized Linear Models
    
     For support, collaboration or bug report, visit:
     http://mcglm.leg.ufpr.br/
    
     mcglm version 0.7.0 (build on 2021-07-07) is now loaded.
    ----------------------------------------------------------------------
    Loading required package: Matrix
    Loading required package: mvtnorm
    Loading required package: tweedie
    Quitting from lines 52-80 (UniModels.Rmd)
    Error: processing vignette 'UniModels.Rmd' failed with diagnostics:
    $ operator is invalid for atomic vectors
    --- failed re-building 'UniModels.Rmd'
    
    SUMMARY: processing the following files failed:
     'GLMExamples.Rmd' 'UniModels.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64