CRAN Package Check Results for Package RcppArmadillo

Last updated on 2017-11-18 17:52:06.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.8.100.1.0 24.78 209.16 233.95 OK
r-devel-linux-x86_64-debian-gcc 0.8.100.1.0 27.08 226.16 253.24 OK
r-devel-linux-x86_64-fedora-clang 0.8.100.1.0 466.79 ERROR
r-devel-linux-x86_64-fedora-gcc 0.8.100.1.0 453.49 WARN
r-devel-windows-ix86+x86_64 0.8.100.1.0 122.00 655.00 777.00 NOTE
r-patched-linux-x86_64 0.8.100.1.0 25.71 201.47 227.18 OK
r-patched-solaris-x86 0.8.100.1.0 392.30 NOTE
r-release-linux-x86_64 0.8.100.1.0 26.21 204.03 230.24 OK
r-release-windows-ix86+x86_64 0.8.100.1.0 77.00 599.00 676.00 NOTE
r-release-osx-x86_64 0.8.100.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.8.100.1.0 79.00 394.00 473.00 NOTE
r-oldrel-osx-x86_64 0.8.100.1.0 NOTE

Additional issues

clang-ASAN

Check Details

Version: 0.8.100.1.0
Check: installed package size
Result: NOTE
     installed size is 7.4Mb
     sub-directories of 1Mb or more:
     include 5.1Mb
     libs 1.3Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.8.100.1.0
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [171s/197s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > # Copyright (C) 2010 - 2013 Dirk Eddelbuettel, Romain Francois and Douglas Bates
     > # Copyright (C) 2014 - 2017 Dirk Eddelbuettel
     > # Earlier copyrights Gregor Gorjanc, Martin Maechler and Murray Stokely as detailed below
     > #
     > # This file is part of RcppArmadillo.
     > #
     > # RcppArmadillo is free software: you can redistribute it and/or
     > # modify it under the terms of the GNU General Public License as
     > # published by the Free Software Foundation, either version 2 of the
     > # License, or (at your option) any later version.
     > #
     > # RcppArmadillo is distributed in the hope that it will be useful, but
     > # WITHOUT ANY WARRANTY; without even the implied warranty of
     > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     > # General Public License for more details.
     > #
     > # You should have received a copy of the GNU General Public License
     > # along with RcppArmadillo. If not, see <http://www.gnu.org/licenses/>.
     >
     > ## doRUnit.R --- Run RUnit tests
     > ##
     > ## with credits to package fUtilities in RMetrics
     > ## which credits Gregor Gojanc's example in CRAN package 'gdata'
     > ## as per the R Wiki http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
     > ## and changed further by Martin Maechler
     > ## and more changes by Murray Stokely in HistogramTools
     > ## and then used adapted in RProtoBuf
     > ## and now used in Rcpp and here
     > ##
     > ## Dirk Eddelbuettel, Feb - June 2014
     >
     > if (requireNamespace("RUnit", quietly=TRUE) &&
     + requireNamespace("RcppArmadillo", quietly=TRUE)) {
     +
     + library(RUnit)
     + library(RcppArmadillo)
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name="RcppArmadillo Unit Tests",
     + dirs=system.file("unitTests", package = "RcppArmadillo"),
     + testFuncRegexp = "^[Tt]est.+")
     +
     + Sys.setenv("R_TESTS"="") # without this, we get (or used to get) unit test failures
     +
     + tests <- runTestSuite(testSuite) # run tests
     + printTextProtocol(tests) # print results
     +
     + ## Return success or failure to R CMD CHECK
     + if (getErrors(tests)$nFail > 0) stop("TEST FAILED!")
     + if (getErrors(tests)$nErr > 0) stop("TEST HAD ERRORS!")
     + if (getErrors(tests)$nTestFunc < 1) stop("NO TEST FUNCTIONS RUN!")
     + }
    
    
     Executing test function test.armadillo.as_vector ... done successfully.
    
    
    
     Executing test function test.armadillo.mat.const ... done successfully.
    
    
    
     Executing test function test.armadillo.mat.const.ref ... done successfully.
    
    
    
     Executing test function test.armadillo.mat.plain ... done successfully.
    
    
    
     Executing test function test.armadillo.mat.ref ... done successfully.
    
    
    
     Executing test function test.armadillo.sugar.ctor ... done successfully.
    
    
    
     Executing test function test.armadillo.sugar.matrix.ctor ... done successfully.
    
    
    
     Executing test function test.armadillo.unsigned.as ... done successfully.
    
    
    
     Executing test function test.armadillo.vec.const ... done successfully.
    
    
    
     Executing test function test.armadillo.vec.const.ref ... done successfully.
    
    
    
     Executing test function test.armadillo.vec.plain ... done successfully.
    
    
    
     Executing test function test.armadillo.vec.ref ... done successfully.
    
    
    
     Executing test function test.as.Col ... done successfully.
    
    
    
     Executing test function test.as.Mat ... done successfully.
    
    
    
     Executing test function test.as.Row ... done successfully.
    
    
    
     Executing test function test.cxmat ... done successfully.
    
    
    
     Executing test function test.mtGlue ... done successfully.
    
    
    
     Executing test function test.mtOp ... done successfully.
    
    
    
     Executing test function test.sugar ... done successfully.
    
    
    
     Executing test function test.sugar.cplx ... done successfully.
    
    
    
     Executing test function test.wrap.Glue ... done successfully.
    
    
    
     Executing test function test.wrap.Op ... done successfully.
    
    
    
     Executing test function test.wrap.R ... done successfully.
    
    
    
     Executing test function test.complex ... done successfully.
    
    
    
     Executing test function test.cube ... done successfully.
    
    
    
     Executing test function test.fastLm ... done successfully.
    
    
    
     Executing test function test.fastLm.default ... done successfully.
    
    
    
     Executing test function test.fastLm.formula ... done successfully.
    
    
    
     Executing test function test.summary.fastLm ... done successfully.
    
    
    
     Executing test function test.rmultinom ... Error in rmultinom(n, size, prob) : NA in probability vector
     Error in rmultinomC(n, size, prob) : NAs not allowed in probability
     Error in rmultinom(n, size, prob) : no positive probabilities
     Error in rmultinomC(n, size, prob) : Not enough positive probabilities
     done successfully.
    
    
    
     Executing test function test.randi ... done successfully.
    
    
    
     Executing test function test.randi.seed ... done successfully.
    
    
    
     Executing test function test.randn ... done successfully.
    
    
    
     Executing test function test.randn.seed ... done successfully.
    
    
    
     Executing test function test.randu ... done successfully.
    
    
    
     Executing test function test.randu.seed ... done successfully.
    
    
    
     Executing test function test.sample ... done successfully.
    
    
    
     Executing test function test.coo2dgt ... done successfully.
    
    
    
     Executing test function test.csc2dgc ... done successfully.
    
    
    
     Executing test function test.csr2dgr ... done successfully.
    
    
    
     Executing test function test.other ... Error : Only CSC, COO and CSR matrices from SciPy are supported.
     done successfully.
    
    
    
     Executing test function test.as.sparse ... done successfully.
    
    
    
     Executing test function test.sparse.addition ... done successfully.
    
    
    
     Executing test function test.sparse.fromTriplet ... done successfully.
    
    
    
     Executing test function test.sparse.iterators ... done successfully.
    
    
    
     Executing test function test.sparse.list ... done successfully.
    
    
    
     Executing test function test.sparse.multiplication ... done successfully.
    
    
    
     Executing test function test.sparse.sqrt ... done successfully.
    
    
    
     Executing test function test.sparse.square ... done successfully.
    
    
    
     Executing test function test.sparse.transpose ... done successfully.
    
    
    
     Executing test function test.speye ... done successfully.
    
    
    
     Executing test function test.as.ddi2dgc ... done successfully.
    
    
    
     Executing test function test.as.dgc2dgc ... dimnames(.) <- NULL: translated to
     dimnames(.) <- list(NULL,NULL) <==> unname(.)
     dimnames(.) <- NULL: translated to
     dimnames(.) <- list(NULL,NULL) <==> unname(.)
     done successfully.
    
    
    
     Executing test function test.as.dgr2dgc ... done successfully.
    
    
    
     Executing test function test.as.dgt2dgc ... done successfully.
    
    
    
     Executing test function test.as.dsc2dgc ... done successfully.
    
    
    
     Executing test function test.as.dsr2dgc ... done successfully.
    
    
    
     Executing test function test.as.dst2dgc ... done successfully.
    
    
    
     Executing test function test.as.dtc2dgc ... done successfully.
    
    
    
     Executing test function test.as.dtr2dgc ... done successfully.
    
    
    
     Executing test function test.as.dtt2dgc ... done successfully.
    
    
    
     Executing test function test.as.ind2dgc ... done successfully.
    
    
    
     Executing test function test.as.p2dgc ... done successfully.
    
    
    
     Executing test function test.stop ...
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.100.1.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
    Error in rmultinom(n, size, prob) : NA in probability vector
    Error in rmultinomC(n, size, prob) : NAs not allowed in probability
    Error in rmultinom(n, size, prob) : no positive probabilities
    Error in rmultinomC(n, size, prob) : Not enough positive probabilities
    Error : Only CSC, COO and CSR matrices from SciPy are supported.
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    
     *** caught segfault ***
    address 0x31, cause 'memory not mapped'
    
    Traceback:
     1: .Primitive(".Call")(<pointer: 0x7fa3a29e3070>, S)
     2: asSpMat(lm)
     3: eval(expr, envir = parent.frame())
     4: doTryCatch(return(expr), name, parentenv, handler)
     5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     6: tryCatchList(expr, classes, parentenv, handlers)
     7: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
     8: try(eval(expr, envir = parent.frame()), silent = silent)
     9: inherits(try(eval(expr, envir = parent.frame()), silent = silent), "try-error")
    10: checkException(asSpMat(lm))
    11: func()
    12: system.time(func())
    13: doTryCatch(return(expr), name, parentenv, handler)
    14: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    15: tryCatchList(expr, classes, parentenv, handlers)
    16: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
    17: try(system.time(func()))
    18: .executeTestCase(funcName, envir = sandbox, setUpFunc = .setUp, tearDownFunc = .tearDown)
    19: .sourceTestFile(testFile, testSuite$testFuncRegexp)
    20: runTestSuite(testSuite)
    21: eval(expr, .GlobalEnv)
    22: eval(expr, .GlobalEnv)
    23: withVisible(eval(expr, .GlobalEnv))
    24: doTryCatch(return(expr), name, parentenv, handler)
    25: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    26: tryCatchList(expr, classes, parentenv, handlers)
    27: tryCatch(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L sm <- strsplit(conditionMessage(e), "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = outFile) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
    28: try(withVisible(eval(expr, .GlobalEnv)), silent = TRUE)
    29: evalFunc(ce, options)
    30: tryCatchList(expr, classes, parentenv, handlers)
    31: tryCatch(evalFunc(ce, options), finally = { cat("\n") sink()})
    32: driver$runcode(drobj, chunk, chunkopts)
    33: utils::Sweave(...)
    34: engine$weave(file, quiet = quiet, encoding = enc)
    35: doTryCatch(return(expr), name, parentenv, handler)
    36: tryCatchOne(expr, names, parentenv, handlers[[1L]])
    37: tryCatchList(expr, classes, parentenv, handlers)
    38: tryCatch({ engine$weave(file, quiet = quiet, encoding = enc) setwd(startdir) find_vignette_product(name, by = "weave", engine = engine)}, error = function(e) { stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s", file, conditionMessage(e)), domain = NA, call. = FALSE)})
    39: buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-clang/RcppArmadillo.Rcheck/vign_test/RcppArmadillo")
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.8.100.1.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
    Error in rmultinom(n, size, prob) : NA in probability vector
    Error in rmultinomC(n, size, prob) : NAs not allowed in probability
    Error in rmultinom(n, size, prob) : no positive probabilities
    Error in rmultinomC(n, size, prob) : Not enough positive probabilities
    Error : Only CSC, COO and CSR matrices from SciPy are supported.
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    Error in asSpMat(lm) : lgCMatrix is not supported.
    Error in asSpMat(L) : lgTMatrix is not supported.
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    Error in asSpMat(nm) : ngCMatrix is not supported.
    Error in asSpMat(ngt) : ngTMatrix is not supported.
    Error in asSpMat(nM) : ntTMatrix is not supported.
    Error in asSpMat(nsc) : nsCMatrix is not supported.
    Error in asSpMat(ldi) : ldiMatrix is not supported.
    Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
     Running 'texi2dvi' on 'RcppArmadillo-unitTests.tex' failed.
    LaTeX errors:
    ! LaTeX Error: File `vmargin.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    ! Emergency stop.
    <read *>
    
    l.7 \setmargrb
     {0.75in}{0.75in}{0.75in}{0.75in}^^M
    ! ==> Fatal error occurred, no output PDF file produced!
    Calls: buildVignettes -> texi2pdf -> texi2dvi
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.8.100.1.0
Check: re-building of vignette outputs
Result: NOTE
    Error in re-building vignettes:
     ...
    Error in asSpMat(lm) : lgCMatrix is not supported.
    Error in asSpMat(L) : lgTMatrix is not supported.
    dimnames(.) <- NULL: translated to
    dimnames(.) <- list(NULL,NULL) <==> unname(.)
    Error in asSpMat(nm) : ngCMatrix is not supported.
    Error in asSpMat(ngt) : ngTMatrix is not supported.
    Error in asSpMat(nM) : ntTMatrix is not supported.
    Error in asSpMat(nsc) : nsCMatrix is not supported.
    Error in asSpMat(ldi) : ldiMatrix is not supported.
    Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
     Running 'texi2dvi' on 'RcppArmadillo-unitTests.tex' failed.
    LaTeX errors:
    ! LaTeX Error: File `vmargin.sty' not found.
    
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: sty)
    
    ! Emergency stop.
    <read *>
    
    l.7 \setmargrb
     {0.75in}{0.75in}{0.75in}{0.75in}^^M
    ! ==> Fatal error occurred, no output PDF file produced!
    Calls: buildVignettes -> texi2pdf -> texi2dvi
    Execution halted
Flavor: r-release-osx-x86_64