CRAN Package Check Results for Package tawny.types

Last updated on 2018-02-24 09:51:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.3 2.74 23.64 26.38 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.3 2.04 19.06 21.10 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.3 31.69 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1.3 30.39 NOTE
r-devel-windows-ix86+x86_64 1.1.3 6.00 48.00 54.00 NOTE
r-patched-linux-x86_64 1.1.3 1.99 25.09 27.08 ERROR
r-patched-solaris-x86 1.1.3 49.50 NOTE
r-release-linux-x86_64 1.1.3 2.81 24.68 27.49 ERROR
r-release-windows-ix86+x86_64 1.1.3 9.00 51.00 60.00 NOTE
r-release-osx-x86_64 1.1.3 NOTE
r-oldrel-windows-ix86+x86_64 1.1.3 5.00 38.00 43.00 NOTE
r-oldrel-osx-x86_64 1.1.3 NOTE

Check Details

Version: 1.1.3
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
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-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, r-oldrel-osx-x86_64

Version: 1.1.3
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     end.TawnyPortfolio start.TawnyPortfolio
    See section ‘Registering S3 methods’ 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-patched-solaris-x86, r-release-linux-x86_64

Version: 1.1.3
Check: R code for possible problems
Result: NOTE
    end.TawnyPortfolio: no visible global function definition for ‘end’
    start.TawnyPortfolio: no visible global function definition for ‘start’
    Undefined global functions or variables:
     end start
    Consider adding
     importFrom("stats", "end", "start")
    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-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, r-oldrel-osx-x86_64

Version: 1.1.3
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [1s/2s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > # From http://rwiki.sciviews.org/doku.php?id=developers:runit
     > ## unit tests will not be done if RUnit is not available
     >
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "tawny.types" # <-- Change to name!
     + 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)
     + print(search())
     +
     + ## 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] "tawny.types"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/tawny.types.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmpxDIizk/RLIBS_626a75cfa65d/tawny.types/unitTests"
    
     [1] ".GlobalEnv" "package:tawny.types" "package:RUnit"
     [4] "package:stats" "package:graphics" "package:grDevices"
     [7] "package:utils" "package:datasets" "package:methods"
     [10] "Autoloads" "package:base"
     Loading required package: futile.any
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    
     Executing test function test.end.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.rollapply.TawnyPortfolio ...
     out:
     A B C D
     2011-01-16 4.442258 2.9687104 -3.2954964 0.0984786
     2011-01-17 5.900767 0.1968007 -0.5949269 -1.3460545
     2011-01-18 5.981690 0.4485414 -0.2317572 -1.1953680
     2011-01-19 5.341740 -0.4051022 -0.5222728 -2.0687217
     2011-01-20 6.668660 -1.0974090 0.3565637 -1.2928986
     2011-01-21 6.915671 0.2022422 1.4391936 1.4544607
     done successfully.
    
    
    
     Executing test function test.start.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.window_at.portfolio ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Fri Feb 23 10:23:52 2018
     ***********************************************
     Number of test functions: 4
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     tawny.types unit testing - 4 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 messages:
     1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called 'futile.any'
     2: In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/RtmpxDIizk/RLIBS_626a75cfa65d/tawny.types/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.3
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [1s/1s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > # From http://rwiki.sciviews.org/doku.php?id=developers:runit
     > ## unit tests will not be done if RUnit is not available
     >
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "tawny.types" # <-- Change to name!
     + 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)
     + print(search())
     +
     + ## 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] "tawny.types"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/tawny.types.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmprKkhnU/RLIBS_29512fcbc474/tawny.types/unitTests"
    
     [1] ".GlobalEnv" "package:tawny.types" "package:RUnit"
     [4] "package:stats" "package:graphics" "package:grDevices"
     [7] "package:utils" "package:datasets" "package:methods"
     [10] "Autoloads" "package:base"
     Loading required package: futile.any
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    
     Executing test function test.end.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.rollapply.TawnyPortfolio ...
     out:
     A B C D
     2011-01-16 -1.4985422 6.276853 3.568441 -1.491549
     2011-01-17 -1.4775637 5.599833 4.018269 -0.400767
     2011-01-18 1.4903682 7.534555 5.053543 1.228655
     2011-01-19 1.1875946 8.776139 3.684355 -1.960808
     2011-01-20 2.4624528 9.129081 0.959577 -3.448914
     2011-01-21 -0.5538983 7.934167 1.511591 -3.979687
     done successfully.
    
    
    
     Executing test function test.start.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.window_at.portfolio ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Sat Feb 24 08:33:46 2018
     ***********************************************
     Number of test functions: 4
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     tawny.types unit testing - 4 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 messages:
     1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called 'futile.any'
     2: In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/RtmprKkhnU/RLIBS_29512fcbc474/tawny.types/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.3
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [2s/3s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > # From http://rwiki.sciviews.org/doku.php?id=developers:runit
     > ## unit tests will not be done if RUnit is not available
     >
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "tawny.types" # <-- Change to name!
     + 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)
     + print(search())
     +
     + ## 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] "tawny.types"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/tawny.types.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmpIHr7Ek/RLIBS_3e122bec6141/tawny.types/unitTests"
    
     [1] ".GlobalEnv" "package:tawny.types" "package:RUnit"
     [4] "package:stats" "package:graphics" "package:grDevices"
     [7] "package:utils" "package:datasets" "package:methods"
     [10] "Autoloads" "package:base"
     Loading required package: futile.any
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    
     Executing test function test.end.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.rollapply.TawnyPortfolio ...
     out:
     A B C D
     2011-01-16 -0.4543468 0.003876985 1.2580290 -0.66214170
     2011-01-17 -1.2496788 -1.540159917 1.1633450 0.12416405
     2011-01-18 2.7110726 -2.632314985 0.2138205 -0.69206096
     2011-01-19 2.2188838 -0.965810991 0.1105869 -0.52249036
     2011-01-20 3.5770335 -1.938971038 2.1062595 0.19586372
     2011-01-21 1.2928277 -2.209962942 1.8668800 -0.09164931
     done successfully.
    
    
    
     Executing test function test.start.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.window_at.portfolio ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Fri Feb 23 22:31:18 2018
     ***********************************************
     Number of test functions: 4
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     tawny.types unit testing - 4 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 messages:
     1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called 'futile.any'
     2: In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/RtmpIHr7Ek/RLIBS_3e122bec6141/tawny.types/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.1.3
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [2s/3s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > # From http://rwiki.sciviews.org/doku.php?id=developers:runit
     > ## unit tests will not be done if RUnit is not available
     >
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + pkg <- "tawny.types" # <-- Change to name!
     + 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)
     + print(search())
     +
     + ## 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] "tawny.types"
    
     $getwd
     [1] "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/tawny.types.Rcheck/tests"
    
     $pathToUnitTests
     [1] "/tmp/RtmpvwkGjn/RLIBS_62445f1bc824/tawny.types/unitTests"
    
     [1] ".GlobalEnv" "package:tawny.types" "package:RUnit"
     [4] "package:stats" "package:graphics" "package:grDevices"
     [7] "package:utils" "package:datasets" "package:methods"
     [10] "Autoloads" "package:base"
     Loading required package: futile.any
     Loading required package: xts
     Loading required package: zoo
    
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    
    
     Executing test function test.end.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.rollapply.TawnyPortfolio ...
     out:
     A B C D
     2011-01-16 0.2662975 -0.5475389 -2.2948031 -3.398973
     2011-01-17 3.4867870 0.7444201 -0.3974875 -2.071975
     2011-01-18 3.9558898 1.4193190 -1.2364492 -2.535748
     2011-01-19 2.2075973 2.5459935 0.6180418 -3.722342
     2011-01-20 7.2649015 3.9202925 1.3152394 -1.691231
     2011-01-21 6.2654213 2.9418536 2.8317167 -1.952519
     done successfully.
    
    
    
     Executing test function test.start.TawnyPortfolio ... done successfully.
    
    
    
     Executing test function test.window_at.portfolio ... done successfully.
    
     ------------------- UNIT TEST SUMMARY ---------------------
    
     RUNIT TEST PROTOCOL -- Thu Feb 22 22:27:44 2018
     ***********************************************
     Number of test functions: 4
     Number of errors: 0
     Number of failures: 0
    
    
     1 Test Suite :
     tawny.types unit testing - 4 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 messages:
     1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
     there is no package called 'futile.any'
     2: In file(file, ifelse(append, "a", "w")) :
     cannot open file '/tmp/RtmpvwkGjn/RLIBS_62445f1bc824/tawny.types/unitTests/reportSummary.txt': Read-only file system
     Execution halted
Flavor: r-release-linux-x86_64