CRAN Package Check Results for Package CompGLM

Last updated on 2018-04-23 22:47:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 12.85 31.35 44.20 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 10.70 27.13 37.83 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 62.01 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0 58.19 NOTE
r-devel-windows-ix86+x86_64 1.0 39.00 101.00 140.00 NOTE
r-devel-osx-x86_64 1.0 NOTE
r-patched-linux-x86_64 1.0 14.52 32.14 46.66 ERROR
r-patched-solaris-x86 1.0 81.90 NOTE
r-release-linux-x86_64 1.0 14.14 34.11 48.25 ERROR
r-release-windows-ix86+x86_64 1.0 39.00 93.00 132.00 NOTE
r-release-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 29.00 101.00 130.00 NOTE

Check Details

Version: 1.0
Check: R code for possible problems
Result: NOTE
    glm.comp: no visible global function definition for ‘model.frame’
    glm.comp: no visible global function definition for ‘model.response’
    glm.comp: no visible global function definition for ‘model.matrix’
    glm.comp: no visible global function definition for ‘model.offset’
    glm.comp: no visible global function definition for ‘glm.fit’
    glm.comp: no visible global function definition for ‘poisson’
    glm.comp: no visible global function definition for ‘optim’
    predict.Comp: no visible global function definition for
     ‘delete.response’
    predict.Comp: no visible global function definition for ‘model.frame’
    predict.Comp: no visible global function definition for ‘model.matrix’
    print.Comp: no visible global function definition for ‘AIC’
    print.summary.Comp: no visible global function definition for
     ‘printCoefmat’
    summary.Comp: no visible global function definition for ‘pt’
    summary.Comp: no visible global function definition for ‘AIC’
    Undefined global functions or variables:
     AIC delete.response glm.fit model.frame model.matrix model.offset
     model.response optim poisson printCoefmat pt
    Consider adding
     importFrom("stats", "AIC", "delete.response", "glm.fit", "model.frame",
     "model.matrix", "model.offset", "model.response", "optim",
     "poisson", "printCoefmat", "pt")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-osx-x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0
Check: compiled code
Result: NOTE
    File ‘CompGLM/libs/CompGLM.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-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [5s/5s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > ## unit tests will not be done if RUnit is not available
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "CompGLM"
     + if(Sys.getenv("RCMDCHECK") == "FALSE") {
     + ## Path to unit tests for standalone running under Makefile (not R CMD check)
     + ## PKG/tests/../inst/unitTests
     + path <- file.path(getwd(), "..", "inst", "unitTests")
     + } else {
     + ## Path to unit tests for R CMD check
     + ## PKG.Rcheck/tests/../PKG/unitTests
     + path <- system.file(package=pkg, "unitTests")
     + }
     + cat("\nRunning unit tests\n")
     + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path))
     +
     + library(package=pkg, character.only=TRUE)
     +
     + ## If desired, load the name space to allow testing of private functions
     + ## if (is.element(pkg, loadedNamespaces()))
     + ## attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3)
     + ##
     + ## or simply call PKG:::myPrivateFunction() in tests
     +
     + ## --- Testing ---
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"),
     + dirs=path)
     + ## Run
     + tests <- runTestSuite(testSuite)
     +
     + ## Default report name
     + pathReport <- file.path(path, "report")
     +
     + ## Report to stdout and text files
     + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n")
     + printTextProtocol(tests, showDetails=FALSE)
     + printTextProtocol(tests, showDetails=FALSE,
     + fileName=paste(pathReport, "Summary.txt", sep=""))
     + printTextProtocol(tests, showDetails=TRUE,
     + fileName=paste(pathReport, ".txt", sep=""))
     +
     + ## Report to HTML file
     + printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep=""))
     +
     + ## Return stop() to cause R CMD check stop in case of
     + ## - failures i.e. FALSE to unit tests or
     + ## - errors i.e. R errors
     + tmp <- getErrors(tests)
     + if(tmp$nFail > 0 | tmp$nErr > 0) {
     + stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail,
     + ", #R errors: ", tmp$nErr, ")\n\n", sep=""))
     + }
     + } else {
     + warning("cannot run unit tests -- package RUnit is not available")
     + }
    
     Running unit tests
     $pkg
     [1] "CompGLM"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/CompGLM.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmpW8cv1c/RLIBS_63ef428b5ce/CompGLM/unitTests"
    
    
    
     Executing test function test.dcomp ... done successfully.
    
    
    
     Executing test function test.glm.comp ... done successfully.
    
    
    
     Executing test function test.pcomp ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Sun Apr 22 16:55:18 2018
     ***********************************************
     Number of test functions: 3
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     CompGLM unit testing - 3 test functions, 0 errors, 0 failures
     Error in file(file, ifelse(append, "a", "w")) :
     cannot open the connection
     Calls: printTextProtocol -> cat -> file
     In addition: Warning message:
     In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/RtmpW8cv1c/RLIBS_63ef428b5ce/CompGLM/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [5s/8s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > ## unit tests will not be done if RUnit is not available
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "CompGLM"
     + if(Sys.getenv("RCMDCHECK") == "FALSE") {
     + ## Path to unit tests for standalone running under Makefile (not R CMD check)
     + ## PKG/tests/../inst/unitTests
     + path <- file.path(getwd(), "..", "inst", "unitTests")
     + } else {
     + ## Path to unit tests for R CMD check
     + ## PKG.Rcheck/tests/../PKG/unitTests
     + path <- system.file(package=pkg, "unitTests")
     + }
     + cat("\nRunning unit tests\n")
     + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path))
     +
     + library(package=pkg, character.only=TRUE)
     +
     + ## If desired, load the name space to allow testing of private functions
     + ## if (is.element(pkg, loadedNamespaces()))
     + ## attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3)
     + ##
     + ## or simply call PKG:::myPrivateFunction() in tests
     +
     + ## --- Testing ---
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"),
     + dirs=path)
     + ## Run
     + tests <- runTestSuite(testSuite)
     +
     + ## Default report name
     + pathReport <- file.path(path, "report")
     +
     + ## Report to stdout and text files
     + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n")
     + printTextProtocol(tests, showDetails=FALSE)
     + printTextProtocol(tests, showDetails=FALSE,
     + fileName=paste(pathReport, "Summary.txt", sep=""))
     + printTextProtocol(tests, showDetails=TRUE,
     + fileName=paste(pathReport, ".txt", sep=""))
     +
     + ## Report to HTML file
     + printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep=""))
     +
     + ## Return stop() to cause R CMD check stop in case of
     + ## - failures i.e. FALSE to unit tests or
     + ## - errors i.e. R errors
     + tmp <- getErrors(tests)
     + if(tmp$nFail > 0 | tmp$nErr > 0) {
     + stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail,
     + ", #R errors: ", tmp$nErr, ")\n\n", sep=""))
     + }
     + } else {
     + warning("cannot run unit tests -- package RUnit is not available")
     + }
    
     Running unit tests
     $pkg
     [1] "CompGLM"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/CompGLM.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/home/hornik/tmp/scratch/RtmpjoRWSF/RLIBS_40281e77ccbd/CompGLM/unitTests"
    
    
    
     Executing test function test.dcomp ... done successfully.
    
    
    
     Executing test function test.glm.comp ... done successfully.
    
    
    
     Executing test function test.pcomp ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Mon Apr 23 16:16:39 2018
     ***********************************************
     Number of test functions: 3
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     CompGLM unit testing - 3 test functions, 0 errors, 0 failures
     Error in file(file, ifelse(append, "a", "w")) :
     cannot open the connection
     Calls: printTextProtocol -> cat -> file
     In addition: Warning message:
     In file(file, ifelse(append, "a", "w")) :
     cannot open file '/home/hornik/tmp/scratch/RtmpjoRWSF/RLIBS_40281e77ccbd/CompGLM/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [5s/7s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > ## unit tests will not be done if RUnit is not available
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "CompGLM"
     + if(Sys.getenv("RCMDCHECK") == "FALSE") {
     + ## Path to unit tests for standalone running under Makefile (not R CMD check)
     + ## PKG/tests/../inst/unitTests
     + path <- file.path(getwd(), "..", "inst", "unitTests")
     + } else {
     + ## Path to unit tests for R CMD check
     + ## PKG.Rcheck/tests/../PKG/unitTests
     + path <- system.file(package=pkg, "unitTests")
     + }
     + cat("\nRunning unit tests\n")
     + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path))
     +
     + library(package=pkg, character.only=TRUE)
     +
     + ## If desired, load the name space to allow testing of private functions
     + ## if (is.element(pkg, loadedNamespaces()))
     + ## attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3)
     + ##
     + ## or simply call PKG:::myPrivateFunction() in tests
     +
     + ## --- Testing ---
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"),
     + dirs=path)
     + ## Run
     + tests <- runTestSuite(testSuite)
     +
     + ## Default report name
     + pathReport <- file.path(path, "report")
     +
     + ## Report to stdout and text files
     + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n")
     + printTextProtocol(tests, showDetails=FALSE)
     + printTextProtocol(tests, showDetails=FALSE,
     + fileName=paste(pathReport, "Summary.txt", sep=""))
     + printTextProtocol(tests, showDetails=TRUE,
     + fileName=paste(pathReport, ".txt", sep=""))
     +
     + ## Report to HTML file
     + printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep=""))
     +
     + ## Return stop() to cause R CMD check stop in case of
     + ## - failures i.e. FALSE to unit tests or
     + ## - errors i.e. R errors
     + tmp <- getErrors(tests)
     + if(tmp$nFail > 0 | tmp$nErr > 0) {
     + stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail,
     + ", #R errors: ", tmp$nErr, ")\n\n", sep=""))
     + }
     + } else {
     + warning("cannot run unit tests -- package RUnit is not available")
     + }
    
     Running unit tests
     $pkg
     [1] "CompGLM"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/CompGLM.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/Rtmp7gVvxe/RLIBS_7294593189bc/CompGLM/unitTests"
    
    
    
     Executing test function test.dcomp ... done successfully.
    
    
    
     Executing test function test.glm.comp ... done successfully.
    
    
    
     Executing test function test.pcomp ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Mon Apr 23 04:55:56 2018
     ***********************************************
     Number of test functions: 3
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     CompGLM unit testing - 3 test functions, 0 errors, 0 failures
     Error in file(file, ifelse(append, "a", "w")) :
     cannot open the connection
     Calls: printTextProtocol -> cat -> file
     In addition: Warning message:
     In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/Rtmp7gVvxe/RLIBS_7294593189bc/CompGLM/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.0
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [7s/8s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > ## unit tests will not be done if RUnit is not available
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "CompGLM"
     + if(Sys.getenv("RCMDCHECK") == "FALSE") {
     + ## Path to unit tests for standalone running under Makefile (not R CMD check)
     + ## PKG/tests/../inst/unitTests
     + path <- file.path(getwd(), "..", "inst", "unitTests")
     + } else {
     + ## Path to unit tests for R CMD check
     + ## PKG.Rcheck/tests/../PKG/unitTests
     + path <- system.file(package=pkg, "unitTests")
     + }
     + cat("\nRunning unit tests\n")
     + print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path))
     +
     + library(package=pkg, character.only=TRUE)
     +
     + ## If desired, load the name space to allow testing of private functions
     + ## if (is.element(pkg, loadedNamespaces()))
     + ## attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3)
     + ##
     + ## or simply call PKG:::myPrivateFunction() in tests
     +
     + ## --- Testing ---
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name=paste(pkg, "unit testing"),
     + dirs=path)
     + ## Run
     + tests <- runTestSuite(testSuite)
     +
     + ## Default report name
     + pathReport <- file.path(path, "report")
     +
     + ## Report to stdout and text files
     + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n")
     + printTextProtocol(tests, showDetails=FALSE)
     + printTextProtocol(tests, showDetails=FALSE,
     + fileName=paste(pathReport, "Summary.txt", sep=""))
     + printTextProtocol(tests, showDetails=TRUE,
     + fileName=paste(pathReport, ".txt", sep=""))
     +
     + ## Report to HTML file
     + printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep=""))
     +
     + ## Return stop() to cause R CMD check stop in case of
     + ## - failures i.e. FALSE to unit tests or
     + ## - errors i.e. R errors
     + tmp <- getErrors(tests)
     + if(tmp$nFail > 0 | tmp$nErr > 0) {
     + stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail,
     + ", #R errors: ", tmp$nErr, ")\n\n", sep=""))
     + }
     + } else {
     + warning("cannot run unit tests -- package RUnit is not available")
     + }
    
     Running unit tests
     $pkg
     [1] "CompGLM"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/CompGLM.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/Rtmp41X0VL/RLIBS_1d768484893/CompGLM/unitTests"
    
    
    
     Executing test function test.dcomp ... done successfully.
    
    
    
     Executing test function test.glm.comp ... done successfully.
    
    
    
     Executing test function test.pcomp ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Sat Apr 21 04:39:12 2018
     ***********************************************
     Number of test functions: 3
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     CompGLM unit testing - 3 test functions, 0 errors, 0 failures
     Error in file(file, ifelse(append, "a", "w")) :
     cannot open the connection
     Calls: printTextProtocol -> cat -> file
     In addition: Warning message:
     In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/Rtmp41X0VL/RLIBS_1d768484893/CompGLM/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-release-linux-x86_64