CRAN Package Check Results for Package RObsDat

Last updated on 2018-06-01 08:49:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 16.03 8.73 66.68 75.41 ERROR
r-devel-linux-x86_64-debian-gcc 16.03 7.25 58.04 65.29 ERROR
r-devel-linux-x86_64-fedora-clang 16.03 138.46 OK
r-devel-linux-x86_64-fedora-gcc 16.03 127.02 OK
r-devel-windows-ix86+x86_64 16.03 19.00 146.00 165.00 NOTE
r-patched-linux-x86_64 16.03 8.73 63.55 72.28 ERROR
r-patched-solaris-x86 16.03 160.40 OK
r-release-linux-x86_64 16.03 6.63 63.20 69.83 ERROR
r-release-windows-ix86+x86_64 16.03 12.00 133.00 145.00 NOTE
r-release-osx-x86_64 16.03 NOTE
r-oldrel-windows-ix86+x86_64 16.03 11.00 115.00 126.00 OK
r-oldrel-osx-x86_64 16.03 NOTE

Check Details

Version: 16.03
Check: examples
Result: ERROR
    Running examples in ‘RObsDat-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: RObsDat-package
    > ### Title: R-Package to the observations Data Model from CUAHSI
    > ### Aliases: RObsDat-package RObsDat
    > ### Keywords: package
    >
    > ### ** Examples
    >
    > example(addDataValues)
    
    addDtV> #connect to database
    addDtV> getDefaultDB()
    Loading required namespace: RSQLite
    
    addDtV> ## Not run:
    addDtV> ##D #connect to postgreSQL database
    addDtV> ##D require("RObsDat")
    addDtV> ##D require("RPostgreSQL")
    addDtV> ##D m <- dbDriver("PostgreSQL")
    addDtV> ##D con <- dbConnect(m, user="a_user", password="secret", dbname="obsdat")
    addDtV> ##D sqhandler <- new("odm1_1Ver", con=con)
    addDtV> ##D options(odm.handler=sqhandler)
    addDtV> ##D
    addDtV> ##D #connect to MySQL database
    addDtV> ##D require("RObsDat")
    addDtV> ##D require("RMySQL")
    addDtV> ##D m <- dbDriver("MySQL")
    addDtV> ##D con <- dbConnect(m, user="a_user", password="secret", dbname="obsdat")
    addDtV> ##D sqhandler <- new("odm1_1Ver", con=con)
    addDtV> ##D options(odm.handler=sqhandler)
    addDtV> ##D
    addDtV> ##D #connect to SQLite database
    addDtV> ##D require("RObsDat")
    addDtV> ##D require("RSQLite")
    addDtV> ##D m <- dbDriver("SQLite")
    addDtV> ##D dbname = "database.db"
    addDtV> ##D con <- dbConnect(m, dbname = dbname)
    addDtV> ##D sqhandler <- new("odm1_1Ver", con=con)
    addDtV> ##D options(odm.handler=sqhandler)
    addDtV> ##D
    addDtV> ## End(Not run)
    addDtV>
    addDtV> #Store metadata in database
    addDtV> addSite(Code="test", Name="Virtual test site", x=-5, y=46,
    addDtV+ LatLongDatum="WGS84", Elevation=1500, State="Germany")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> addVariable(Name="Distance", Unit="cm", ValueType="Field Observation",
    addDtV+ GeneralCategory="Instrumentation", Code="test_dist")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> addQualityControlLevel(ID=6,Code="test_ok", Definition="The default")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> addISOMetadata(TopicCategory="Unknown", Title="Testdata",
    addDtV+ Abstract="This data is created to test the functions of RObsDat")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> addSource(Organization="Your Org", SourceDescription="Madeup data",
    addDtV+ SourceLink="RObsDat Documentation", ContactName="Yourself",
    addDtV+ Metadata="Testdata")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> library(xts)
    
    addDtV> library(spacetime)
    
    addDtV> example.data <- xts(1:40, seq(as.POSIXct("2014-01-01", tz="UTC"),
    addDtV+ as.POSIXct("2014-02-09", tz="UTC"), length.out=40))
    
    addDtV> example.data[40] <- 30
    
    addDtV> example.data[35] <- 22
    
    addDtV> addDataValues(example.data[1:20], Site="Virtual test site", Variable="test_dist",
    addDtV+ Source="Madeup", QualityControlLevel="test_ok")
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Importing column 1 out of 1
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> #Avoid duplicates automatically
    addDtV> example.data[15] <- 30
    
    addDtV> addDataValues(example.data, Site="Virtual test site", Variable="test_dist",
    addDtV+ Source="Madeup", QualityControlLevel="test_ok")
    Importing column 1 out of 1
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    
    addDtV> inDB <- getDataValues(Site="test")
    
    addDtV> stplot(inDB, mode="ts")
    
    addDtV> #Version management
    addDtV> inDB <- getDataValues(Site="test")
    
    addDtV> to.correct <- which(inDB@data > 30)
    
    addDtV> inDB@data[to.correct,] <- 20
    
    addDtV> if(NROW(inDB@data)>=30){
    addDtV+ inDB@data[30,] <- 32
    addDtV+ updateDataValues(inDB, "Correction of wrong value")
    addDtV+ }
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Warning in result_fetch(res@ptr, n = n) :
     Don't need to call dbFetch() for statements, only for queries
    Error in if (is.na(the.vect[rownum])) { : the condition has length > 1
    Calls: example ... IupdateDataValues -> IupdateDataValues -> .local -> paste -> sv
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 16.03
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'SSOAP'
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-osx-x86_64