CRAN Package Check Results for Package GWEX

Last updated on 2019-11-26 00:51:53 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 5.55 32.23 37.78 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 5.34 25.68 31.02 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 47.02 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.1 46.05 NOTE
r-devel-windows-ix86+x86_64 1.0.1 26.00 68.00 94.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.0.1 16.00 73.00 89.00 OK
r-patched-linux-x86_64 1.0.1 5.47 33.63 39.10 OK
r-patched-solaris-x86 1.0.1 70.40 OK
r-release-linux-x86_64 1.0.1 4.86 33.85 38.71 OK
r-release-windows-ix86+x86_64 1.0.1 23.00 97.00 120.00 OK
r-release-osx-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 12.00 105.00 117.00 OK
r-oldrel-osx-x86_64 1.0.1 OK

Check Details

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in 'GWEX-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: GwexObs-class
    > ### Title: Class 'GwexObs'
    > ### Aliases: GwexObs-class
    >
    > ### ** Examples
    >
    > # Format dates corresponding to daily observations of precipitation and temperature
    > vecDates = seq(from=as.Date("01/01/2005",format="%d/%m/%Y"),
    + to=as.Date("31/12/2014",format="%d/%m/%Y"),by='day')
    >
    > # build GwexObs object with precipitation data
    > myObsPrec = GwexObs(variable='Prec',date=vecDates,obs=dailyPrecipGWEX)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    GWEX
     --- call from context ---
    validityMethod(object)
     --- call from argument ---
    if (class(object@obs) != "matrix") {
     return("obs must be a matrix nDay x nStation")
    } else {
     return(TRUE)
    }
     --- R stacktrace ---
    where 1: validityMethod(object)
    where 2: isTRUE(x)
    where 3: anyStrings(validityMethod(object))
    where 4: validObject(.Object)
    where 5: initialize(value, ...)
    where 6: initialize(value, ...)
    where 7: new("GwexObs", variable = variable, date = date, obs = obs)
    where 8: GwexObs(variable = "Prec", date = vecDates, obs = dailyPrecipGWEX)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (object)
    {
     if (class(object@date) != "Date") {
     return("date must be a vector of 'Date'")
     }
     else if (class(object@obs) != "matrix") {
     return("obs must be a matrix nDay x nStation")
     }
     else {
     return(TRUE)
     }
    }
    <bytecode: 0x43f5d98>
    <environment: namespace:GWEX>
     --- function search by body ---
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in ‘GWEX-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: GwexObs-class
    > ### Title: Class 'GwexObs'
    > ### Aliases: GwexObs-class
    >
    > ### ** Examples
    >
    > # Format dates corresponding to daily observations of precipitation and temperature
    > vecDates = seq(from=as.Date("01/01/2005",format="%d/%m/%Y"),
    + to=as.Date("31/12/2014",format="%d/%m/%Y"),by='day')
    >
    > # build GwexObs object with precipitation data
    > myObsPrec = GwexObs(variable='Prec',date=vecDates,obs=dailyPrecipGWEX)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    GWEX
     --- call from context ---
    validityMethod(object)
     --- call from argument ---
    if (class(object@obs) != "matrix") {
     return("obs must be a matrix nDay x nStation")
    } else {
     return(TRUE)
    }
     --- R stacktrace ---
    where 1: validityMethod(object)
    where 2: isTRUE(x)
    where 3: anyStrings(validityMethod(object))
    where 4: validObject(.Object)
    where 5: initialize(value, ...)
    where 6: initialize(value, ...)
    where 7: new("GwexObs", variable = variable, date = date, obs = obs)
    where 8: GwexObs(variable = "Prec", date = vecDates, obs = dailyPrecipGWEX)
    
     --- value of length: 2 type: logical ---
    [1] FALSE TRUE
     --- function from context ---
    function (object)
    {
     if (class(object@date) != "Date") {
     return("date must be a vector of 'Date'")
     }
     else if (class(object@obs) != "matrix") {
     return("obs must be a matrix nDay x nStation")
     }
     else {
     return(TRUE)
     }
    }
    <bytecode: 0x55ef404aee10>
    <environment: namespace:GWEX>
     --- function search by body ---
     ----------- END OF FAILURE REPORT --------------
    Fatal error: the condition has length > 1
Flavor: r-devel-linux-x86_64-debian-gcc

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