CRAN Package Check Results for Package nanotime

Last updated on 2017-11-19 04:48:03.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 1.65 27.44 29.09 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 2.02 30.48 32.51 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 51.81 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 50.59 OK
r-devel-windows-ix86+x86_64 0.2.0 8.00 72.00 80.00 OK
r-patched-linux-x86_64 0.2.0 1.63 29.19 30.82 OK
r-patched-solaris-x86 0.2.0 68.90 ERROR
r-release-linux-x86_64 0.2.0 1.68 28.10 29.78 OK
r-release-windows-ix86+x86_64 0.2.0 5.00 71.00 76.00 OK
r-release-osx-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 4.00 64.00 68.00 OK
r-oldrel-osx-x86_64 0.2.0 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘POSIXt.R’
     Running ‘data.frame.R’
     Running ‘runTests.R’
     Running ‘simpleTests.R’
     Running ‘zooTests.R’
    Running the tests in ‘tests/runTests.R’ failed.
    Complete output:
     >
     > pkg <- "nanotime"
     >
     > if (!requireNamespace("RUnit", quietly = TRUE)) {
     + cat("R package 'RUnit' cannot be loaded -- no unit tests run for package", pkg, "\n")
     + } else if (!requireNamespace("nanotime", quietly = TRUE)) {
     + cat("R package 'nanotime' cannot be loaded -- no unit tests run for package", pkg, "\n")
     + } else if (!requireNamespace("bit64", quietly = TRUE)) {
     + cat("R package 'bit64' cannot be loaded -- no unit tests run for package", pkg, "\n")
     + } else {
     +
     + library(RUnit)
     + library(nanotime)
     + library(bit64)
     +
     + ## Define tests
     + testSuite <- defineTestSuite(name=paste(pkg, "Unit Tests"),
     + dirs=system.file("unitTests", package=pkg),
     + testFileRegexp = "^test_.+\\.[rR]$",
     + testFuncRegexp = "^[Tt]est+")
     +
     + ## Run tests
     + tests <- runTestSuite(testSuite)
     +
     + ## Print results
     + printTextProtocol(tests)
     +
     + ## Return success or failure to R CMD CHECK
     + if (getErrors(tests)$nFail > 0) {
     + print(getErrors(tests)$nFail)
     + stop("TEST FAILED!")
     + }
     + if (getErrors(tests)$nErr > 0) {
     + print(getErrors(tests)$nErr)
     + stop("TEST HAD ERRORS!")
     + }
     + if (getErrors(tests)$nTestFunc < 1) {
     + print(getErrors(tests)$nTestFunc)
     + stop("NO TEST FUNCTIONS RUN!")
     + }
     +
     + }
     Loading required package: bit
     Attaching package bit
     package:bit (c) 2008-2012 Jens Oehlschlaegel (GPL-2)
     creators: bit bitwhich
     coercion: as.logical as.integer as.bit as.bitwhich which
     operator: ! & | xor != ==
     querying: print length any all min max range sum summary
     bit access: length<- [ [<- [[ [[<-
     for more help type ?bit
    
     Attaching package: 'bit'
    
     The following object is masked from 'package:base':
    
     xor
    
     Attaching package bit64
     package:bit64 (c) 2011-2012 Jens Oehlschlaegel
     creators: integer64 seq :
     coercion: as.integer64 as.vector as.logical as.integer as.double as.character as.bin
     logical operator: ! & | xor != == < <= >= >
     arithmetic operator: + - * / %/% %% ^
     math: sign abs sqrt log log2 log10
     math: floor ceiling trunc round
     querying: is.integer64 is.vector [is.atomic} [length] format print str
     values: is.na is.nan is.finite is.infinite
     aggregation: any all min max range sum prod
     cumulation: diff cummin cummax cumsum cumprod
     access: length<- [ [<- [[ [[<-
     combine: c rep cbind rbind as.data.frame
     WARNING don't use as subscripts
     WARNING semantics differ from integer
     for more help type ?bit64
    
     Attaching package: 'bit64'
    
     The following object is masked from 'package:bit':
    
     still.identical
    
     The following objects are masked from 'package:base':
    
     %in%, :, is.double, match, order, rank
    
    
    
     Executing test function test_data_frame_cbind ... done successfully.
    
    
    
     Executing test function test_data_frame_constructor ... done successfully.
    
    
    
     Executing test function test_data_frame_rbind ... done successfully.
    
    
    
     Executing test function test_ANY_Logic_nano ... Error in 1 | nanotime(1) :
     operations are possible only for numeric, logical or complex types
     done successfully.
    
    
    
     Executing test function test_ANY_minus_nano ... Error in 1 - nanotime(2) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_ANY_plus_nano ... Error in "a" + nanotime(2) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_Math2_nano ... Error in round(structure(4.94065645841247e-324, .S3Class = "integer64", class = structure("nanotime", package = "nanotime"))) :
     non-numeric argument to mathematical function
     done successfully.
    
    
    
     Executing test function test_Math_nano ... Error in sin(nanotime(1)) : non-numeric argument to mathematical function
     done successfully.
    
    
    
     Executing test function test_as_Date ... done successfully.
    
    
    
     Executing test function test_as_POSIXct ... done successfully.
    
    
    
     Executing test function test_binary_mul ... Note: method with signature 'nanotime#ANY' chosen for function '*',
     target signature 'nanotime#nanotime'.
     "ANY#nanotime" would also be valid
     Error in nanotime(1) * nanotime(2) :
     operation not defined for "nanotime" objects
     In addition: Warning messages:
     1: In check_tzones(target, current) : 'tzone' attributes are inconsistent
     2: In check_tzones(target, current) : 'tzone' attributes are inconsistent
     3: In check_tzones(target, current) : 'tzone' attributes are inconsistent
     done successfully.
    
    
    
     Executing test function test_c ... done successfully.
    
    
    
     Executing test function test_format_default ... done successfully.
    
    
    
     Executing test function test_format_fmt_default ... done successfully.
    
    
    
     Executing test function test_format_fmt_from_options ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     done successfully.
    
    
    
     Executing test function test_format_fmt_from_parameter ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     done successfully.
    
    
    
     Executing test function test_format_na ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(f, exp) : 2 string mismatches
    
     done successfully.
    
    
    
     Executing test function test_format_tz ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(format(nt, tz = "America/New_York"), a_ny) :
     1 string mismatch
    
     done successfully.
    
    
    
     Executing test function test_format_tz_from_options ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     done successfully.
    
    
    
     Executing test function test_format_tzone ... Timing stopped at: 0.003 0 0.003
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     done successfully.
    
    
    
     Executing test function test_is.na ... done successfully.
    
    
    
     Executing test function test_nano_Logic_ANY ... Error in nanotime(1) | 1 :
     operations are possible only for numeric, logical or complex types
     done successfully.
    
    
    
     Executing test function test_nano_div_ANY ... Error in nanotime(1)/1 : operation not defined for "nanotime" objects
     done successfully.
    
    
    
     Executing test function test_nano_minus_ANY ... Error in nanotime(1) - "a" : invalid operand types
     done successfully.
    
    
    
     Executing test function test_nano_mul_ANY ... Error in nanotime(1) * 1 : operation not defined for "nanotime" objects
     done successfully.
    
    
    
     Executing test function test_nano_mul_nano ... Error in nanotime(1) * nanotime(1) :
     operation not defined for "nanotime" objects
     done successfully.
    
    
    
     Executing test function test_nano_plus_ANY ... Error in nanotime(1) + "a" : invalid operand types
     done successfully.
    
    
    
     Executing test function test_nanotime_Date ... done successfully.
    
    
    
     Executing test function test_nanotime_POSIXct ... done successfully.
    
    
    
     Executing test function test_nanotime_POSIXct_keep_names ... done successfully.
    
    
    
     Executing test function test_nanotime_POSIXlt ... done successfully.
    
    
    
     Executing test function test_nanotime_POSIXlt_keep_names ... done successfully.
    
    
    
     Executing test function test_nanotime_character ... Timing stopped at: 0.006 0 0.006
     Error in checkEquals(nanotime("1970-01-01 00:00:01", format = "%Y-%m-%d %H:%M:%S", :
     'is.NA' value mismatch: 1 in current 0 in target
    
     done successfully.
    
    
    
     Executing test function test_nanotime_character_keep_names ... Timing stopped at: 0.006 0.001 0.008
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-01T00:00:00.000000001+00:00
     done successfully.
    
    
    
     Executing test function test_nanotime_generic ... done successfully.
    
    
    
     Executing test function test_nanotime_matrix ... Timing stopped at: 0.002 0 0.002
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-11T00:00:00.987654321+00:00
     done successfully.
    
    
    
     Executing test function test_nanotime_numeric_keep_names ... done successfully.
    
    
    
     Executing test function test_subsassign ... done successfully.
    
    
    
     Executing test function test_subset ... done successfully.
    
    
    
     Executing test function test_summary ... done successfully.
    
    
    
     Executing test function test_unary_minus ... Error in -nanotime(1) : unary '-' is not defined for "nanotime" objects
     done successfully.
    
    
    
     Executing test function test_unary_plus ... Error in -nanotime(1) : unary '-' is not defined for "nanotime" objects
     done successfully.
    
    
    
     Executing test function test_Complex ... Error in Arg(nanotime(1)) : non-numeric argument to function
     done successfully.
    
    
    
     Executing test function test_Logic ... Note: method with signature 'nanotime#ANY' chosen for function '&',
     target signature 'nanotime#nanotime'.
     "ANY#nanotime" would also be valid
     Error in nanotime(1) & nanotime(1) :
     operations are possible only for numeric, logical or complex types
     Error in nanotime(1) & as.integer64(1) :
     operations are possible only for numeric, logical or complex types
     Error in nanotime(1) & TRUE :
     operations are possible only for numeric, logical or complex types
     Error in as.integer64(1) & nanotime(1) :
     operations are possible only for numeric, logical or complex types
     Error in 1L & nanotime(1) :
     operations are possible only for numeric, logical or complex types
     Error in FALSE & nanotime(1) :
     operations are possible only for numeric, logical or complex types
     done successfully.
    
    
    
     Executing test function test_Math ... Error in abs(nanotime(1)) : non-numeric argument to mathematical function
     done successfully.
    
    
    
     Executing test function test_Math2 ... Error in round(structure(4.94065645841247e-324, .S3Class = "integer64", class = structure("nanotime", package = "nanotime")), :
     non-numeric argument to mathematical function
     done successfully.
    
    
    
     Executing test function test_Summary ... Error in sum(structure(4.94065645841247e-324, .S3Class = "integer64", class = structure("nanotime", package = "nanotime")), :
     invalid 'type' (nanotime) of argument
     done successfully.
    
    
    
     Executing test function test_character+nanotime ... Error in "A" + nanotime(0) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_character-nanotime ... Error in "A" - nanotime(0) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_compare_ANY_nanotime ... done successfully.
    
    
    
     Executing test function test_compare_nanotime_ANY ... done successfully.
    
    
    
     Executing test function test_integer+nanotime ... done successfully.
    
    
    
     Executing test function test_nanotime+character ... Error in nanotime(0) + "A" : invalid operand types
     done successfully.
    
    
    
     Executing test function test_nanotime+integer ... done successfully.
    
    
    
     Executing test function test_nanotime+integer64 ... done successfully.
    
    
    
     Executing test function test_nanotime+nanotime ... Error in nanotime(1) + nanotime(0) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_nanotime+numeric ... done successfully.
    
    
    
     Executing test function test_nanotime-character ... Error in nanotime(0) - "A" : invalid operand types
     done successfully.
    
    
    
     Executing test function test_nanotime-integer ... done successfully.
    
    
    
     Executing test function test_nanotime-integer64 ... done successfully.
    
    
    
     Executing test function test_nanotime-nanotime ... done successfully.
    
    
    
     Executing test function test_numeric+nanotime ... done successfully.
    
    
    
     Executing test function test_numeric-nanotime ... Error in 1 - nanotime(0) : invalid operand types
     done successfully.
    
    
    
     Executing test function test_zoo ...
     Attaching package: 'zoo'
    
     The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
     Timing stopped at: 0.019 0.001 0.02
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 2017-02-06T03:36:10.626159000+00:00
     done successfully.
    
     RUNIT TEST PROTOCOL -- Wed Nov 15 10:06:11 2017
     ***********************************************
     Number of test functions: 64
     Number of errors: 3
     Number of failures: 7
    
    
     1 Test Suite :
     nanotime Unit Tests - 64 test functions, 3 errors, 7 failures
     FAILURE in test_format_fmt_from_options: Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     FAILURE in test_format_fmt_from_parameter: Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     FAILURE in test_format_na: Error in checkEquals(f, exp) : 2 string mismatches
    
     FAILURE in test_format_tz: Error in checkEquals(format(nt, tz = "America/New_York"), a_ny) :
     1 string mismatch
    
     FAILURE in test_format_tz_from_options: Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     FAILURE in test_format_tzone: Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     FAILURE in test_nanotime_character: Error in checkEquals(nanotime("1970-01-01 00:00:01", format = "%Y-%m-%d %H:%M:%S", :
     'is.NA' value mismatch: 1 in current 0 in target
    
     ERROR in test_nanotime_character_keep_names: Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-01T00:00:00.000000001+00:00
     ERROR in test_nanotime_matrix: Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-11T00:00:00.987654321+00:00
     ERROR in test_zoo: Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 2017-02-06T03:36:10.626159000+00:00
    
    
    
     Details
     ***************************
     Test Suite: nanotime Unit Tests
     Test function regexp: ^[Tt]est+
     Test file regexp: ^test_.+\.[rR]$
     Involved directory:
     /home/ripley/R/Lib32/nanotime/unitTests
     ---------------------------
     Test file: /home/ripley/R/Lib32/nanotime/unitTests/test_data.frame.R
     test_data_frame_cbind: (1 checks) ... OK (0.08 seconds)
     test_data_frame_constructor: (2 checks) ... OK (0.01 seconds)
     test_data_frame_rbind: (1 checks) ... OK (0.03 seconds)
     ---------------------------
     Test file: /home/ripley/R/Lib32/nanotime/unitTests/test_nanotime.R
     test_ANY_Logic_nano: (1 checks) ... OK (0 seconds)
     test_ANY_minus_nano: (1 checks) ... OK (0 seconds)
     test_ANY_plus_nano: (1 checks) ... OK (0 seconds)
     test_Math2_nano: (1 checks) ... OK (0 seconds)
     test_Math_nano: (1 checks) ... OK (0 seconds)
     test_as_Date: (1 checks) ... OK (0.01 seconds)
     test_as_POSIXct: (3 checks) ... OK (0.02 seconds)
     test_binary_mul: (1 checks) ... OK (0.01 seconds)
     test_c: (2 checks) ... OK (0 seconds)
     test_format_default: (3 checks) ... OK (0.03 seconds)
     test_format_fmt_default: (1 checks) ... OK (0 seconds)
     test_format_fmt_from_options: FAILURE !! (check number 1)
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     test_format_fmt_from_parameter: FAILURE !! (check number 1)
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     test_format_na: FAILURE !! (check number 1)
     Error in checkEquals(f, exp) : 2 string mismatches
    
     test_format_tz: FAILURE !! (check number 1)
     Error in checkEquals(format(nt, tz = "America/New_York"), a_ny) :
     1 string mismatch
    
     test_format_tz_from_options: FAILURE !! (check number 1)
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     test_format_tzone: FAILURE !! (check number 1)
     Error in checkEquals(format(a), a_ny) : 1 string mismatch
    
     test_is.na: (2 checks) ... OK (0 seconds)
     test_nano_Logic_ANY: (1 checks) ... OK (0 seconds)
     test_nano_div_ANY: (1 checks) ... OK (0 seconds)
     test_nano_minus_ANY: (1 checks) ... OK (0.01 seconds)
     test_nano_mul_ANY: (1 checks) ... OK (0 seconds)
     test_nano_mul_nano: (1 checks) ... OK (0 seconds)
     test_nano_plus_ANY: (1 checks) ... OK (0 seconds)
     test_nanotime_Date: (1 checks) ... OK (0 seconds)
     test_nanotime_POSIXct: (1 checks) ... OK (0 seconds)
     test_nanotime_POSIXct_keep_names: (1 checks) ... OK (0 seconds)
     test_nanotime_POSIXlt: (1 checks) ... OK (0.01 seconds)
     test_nanotime_POSIXlt_keep_names: (1 checks) ... OK (0.01 seconds)
     test_nanotime_character: FAILURE !! (check number 3)
     Error in checkEquals(nanotime("1970-01-01 00:00:01", format = "%Y-%m-%d %H:%M:%S", :
     'is.NA' value mismatch: 1 in current 0 in target
    
     test_nanotime_character_keep_names: ERROR !!
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-01T00:00:00.000000001+00:00
     test_nanotime_generic: (2 checks) ... OK (0 seconds)
     test_nanotime_matrix: ERROR !!
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 1970-01-11T00:00:00.987654321+00:00
     test_nanotime_numeric_keep_names: (1 checks) ... OK (0 seconds)
     test_subsassign: (2 checks) ... OK (0.01 seconds)
     test_subset: (2 checks) ... OK (0 seconds)
     test_summary: (2 checks) ... OK (0.02 seconds)
     test_unary_minus: (1 checks) ... OK (0 seconds)
     test_unary_plus: (1 checks) ... OK (0 seconds)
     ---------------------------
     Test file: /home/ripley/R/Lib32/nanotime/unitTests/test_ops.R
     test_Complex: (1 checks) ... OK (0 seconds)
     test_Logic: (6 checks) ... OK (0.02 seconds)
     test_Math: (1 checks) ... OK (0 seconds)
     test_Math2: (1 checks) ... OK (0 seconds)
     test_Summary: (4 checks) ... OK (0.02 seconds)
     test_character+nanotime: (1 checks) ... OK (0 seconds)
     test_character-nanotime: (1 checks) ... OK (0 seconds)
     test_compare_ANY_nanotime: (7 checks) ... OK (0.01 seconds)
     test_compare_nanotime_ANY: (9 checks) ... OK (0.04 seconds)
     test_integer+nanotime: (2 checks) ... OK (0.01 seconds)
     test_nanotime+character: (1 checks) ... OK (0 seconds)
     test_nanotime+integer: (2 checks) ... OK (0 seconds)
     test_nanotime+integer64: (2 checks) ... OK (0 seconds)
     test_nanotime+nanotime: (1 checks) ... OK (0 seconds)
     test_nanotime+numeric: (2 checks) ... OK (0 seconds)
     test_nanotime-character: (1 checks) ... OK (0 seconds)
     test_nanotime-integer: (2 checks) ... OK (0 seconds)
     test_nanotime-integer64: (2 checks) ... OK (0.01 seconds)
     test_nanotime-nanotime: (2 checks) ... OK (0 seconds)
     test_numeric+nanotime: (2 checks) ... OK (0 seconds)
     test_numeric-nanotime: (1 checks) ... OK (0 seconds)
     ---------------------------
     Test file: /home/ripley/R/Lib32/nanotime/unitTests/test_zoo.R
     test_zoo: ERROR !!
     Error in RcppCCTZ::parseDouble(x, fmt = format, tz = tz) :
     Parse error on 2017-02-06T03:36:10.626159000+00:00
     [1] 7
     Error: TEST FAILED!
     Execution halted
Flavor: r-patched-solaris-x86