CRAN Package Check Results for Package testthat

Last updated on 2020-02-20 21:47:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3.1 42.74 128.70 171.44 ERROR
r-devel-linux-x86_64-debian-gcc 2.3.1 36.94 107.88 144.82 WARN
r-devel-linux-x86_64-fedora-clang 2.3.1 222.99 WARN
r-devel-linux-x86_64-fedora-gcc 2.3.1 234.20 WARN
r-devel-windows-ix86+x86_64 2.3.1 69.00 103.00 172.00 OK
r-devel-windows-ix86+x86_64-gcc8 2.3.1 90.00 102.00 192.00 OK
r-patched-linux-x86_64 2.3.1 38.03 123.57 161.60 WARN
r-patched-solaris-x86 2.3.1 116.10 WARN
r-release-linux-x86_64 2.3.1 36.50 123.79 160.29 OK
r-release-windows-ix86+x86_64 2.3.1 67.00 105.00 172.00 OK
r-release-osx-x86_64 2.3.1 NOTE
r-oldrel-windows-ix86+x86_64 2.3.1 58.00 93.00 151.00 OK
r-oldrel-osx-x86_64 2.3.1 NOTE

Check Details

Version: 2.3.1
Check: Rd \usage sections
Result: WARN
    Documented arguments not in \usage in documentation object 'comparison-expectations':
     '...'
    
    Documented arguments not in \usage in documentation object 'expect_named':
     '...'
    
    Functions with \usage entries need to have the appropriate \alias
    entries, and all their arguments documented.
    The \usage entries must correspond to syntactically valid R code.
    See chapter 'Writing R documentation files' 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

Version: 2.3.1
Check: examples
Result: ERROR
    Running examples in 'testthat-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: inheritance-expectations
    > ### Title: Expectation: does the object inherit from a S3 or S4 class, or
    > ### is it a base type?
    > ### Aliases: inheritance-expectations expect_type expect_s3_class
    > ### expect_s4_class
    >
    > ### ** Examples
    >
    > x <- data.frame(x = 1:10, y = "x")
    > # A data frame is an S3 object with class data.frame
    > expect_s3_class(x, "data.frame")
    > show_failure(expect_s4_class(x, "data.frame"))
    Failed expectation:
    `x` is not an S4 object
    > # A data frame is built from a list:
    > expect_type(x, "list")
    >
    > # An integer vector is an atomic vector of type "integer"
    > expect_type(x$x, "integer")
    > # It is not an S3 object
    > show_failure(expect_s3_class(x$x, "integer"))
    Failed expectation:
    x$x is not an S3 object
    >
    > # By default data.frame() converts characters to factors:
    > show_failure(expect_type(x$y, "character"))
    > expect_s3_class(x$y, "factor")
    Error: x$y is not an S3 object
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.3.1
Check: installed package size
Result: NOTE
     installed size is 6.4Mb
     sub-directories of 1Mb or more:
     libs 4.9Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64