CRAN Package Check Results for Package datamap

Last updated on 2015-05-06 05:47:45.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-1 1.08 12.12 13.19 NOTE
r-devel-linux-x86_64-debian-gcc 0.1-1 1.06 11.80 12.87 NOTE
r-devel-linux-x86_64-fedora-clang 0.1-1 25.37 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1-1 24.04 NOTE
r-devel-osx-x86_64-clang 0.1-1 30.24 NOTE
r-devel-windows-ix86+x86_64 0.1-1 6.00 26.00 32.00 NOTE
r-patched-linux-x86_64 0.1-1 1.10 12.06 13.15 NOTE
r-patched-solaris-sparc 0.1-1 10958.30 ERROR
r-patched-solaris-x86 0.1-1 37.20 NOTE
r-release-linux-x86_64 0.1-1 1.13 12.18 13.32 NOTE
r-release-osx-x86_64-mavericks 0.1-1 NOTE
r-release-osx-x86_64-snowleopard 0.1-1 NOTE
r-release-windows-ix86+x86_64 0.1-1 7.00 0.00 7.00 ERROR
r-oldrel-windows-ix86+x86_64 0.1-1 6.00 42.00 48.00 NOTE

Check Details

Version: 0.1-1
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘DBI’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1-1
Check: R code for possible problems
Result: NOTE
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbConnect’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbListTables’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbExistsTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbReadTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbWriteTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbDisconnect’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbRemoveTable’
    
    Found the following calls to attach():
    File ‘datamap/R/datamap.R’:
     attach(.Call("CreateUserDB", map, PACKAGE = "datamap"), pos,
     name, warn.conflicts)
    See section ‘Good practice’ in ‘?attach’.
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: 0.1-1
Check: R code for possible problems
Result: NOTE
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbConnect’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbListTables’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbExistsTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbReadTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbWriteTable’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbDisconnect’
    .onLoad : <anonymous>: no visible global function definition for
     ‘dbRemoveTable’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-osx-x86_64-mavericks, r-release-osx-x86_64-snowleopard, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1-1
Check: examples
Result: ERROR
    Running examples in ‘datamap-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: newMap
    > ### Title: Function for creating datamap objects
    > ### Aliases: newMap
    > ### Keywords: programming environment
    >
    > ### ** Examples
    >
    > newMapper(
    + type="EXAMPLE",
    + init=function(map,symbols=c('foo','bar','baz'),len=3){
    +
    + # Install symbols that the users passes in from newMap().
    + lapply(symbols,install,map)
    +
    + # Now let's add some state to the internal portion of our map.
    + map$len <- len
    +
    + # Returning FALSE means failure
    + return(TRUE)
    + },
    + get = function(x) {
    + cat("I'll just get",x,"for you.\n")
    +
    + # len is pulled from the internal portion of the map
    + # by lexical scoping rules. Anything can be returned here, but we
    + # default to a numeric value
    + rnorm(len)
    + },
    + assign = function(x,val){
    + cat("Calling assign",val,"to",x,".\n")
    + },
    + finalize = function(map){
    + cat("Finalization can clear any state, like shutting down database\n")
    + cat("connections, socket connections, etc.\n")
    + },
    +
    + # The rest of the arguments are copied to the internal portion of the map.
    + foo = 'bar'
    + )
    >
    > m <- newMap('EXAMPLE')
    >
    > # Summary of the map
    > m
    $installed
    [1] "bar" "baz" "foo"
    
    $extra
    character(0)
    
    $internal
    [1] ".map" "assign" "finalize" "foo" "get" "init" "len"
    [8] "type"
    
    >
    > # [[ works
    > m[['bar']]
    I'll just get bar for you.
    [1] -0.6264538 0.1836433 -0.8356286
    >
    > # datamaps are environments
    > with(m,bar)
    I'll just get bar for you.
    [1] 1.5952808 0.3295078 -0.8204684
    >
    > # use functions to access either installed objects
    > # or those that aren't.
    > m$get('bar')
    I'll just get bar for you.
    [1] 0.4874291 0.7383247 0.5757814
    >
    > # adding extra variables to the map.
    > with(m,x <- 'buzzle')
    >
    > m
    $installed
    [1] "bar" "baz" "foo"
    
    $extra
    [1] "x"
    
    $internal
    [1] ".map" "assign" "finalize" "foo" "get" "init" "len"
    [8] "type"
    
    >
    > # attach the map the search path
    > # and update either the map or the search path position.
    > # changes are persistent
    > mapAttach(m)
Flavor: r-patched-solaris-sparc

Version: 0.1-1
Check: tests
Result: ERROR
    Running the tests in ‘tests/full.R’ failed.
    Last 13 lines of output:
     > with(m,x <- 'buzzle')
     > m
     $installed
     [1] "bar" "baz" "foo"
    
     $extra
     [1] "x"
    
     $internal
     [1] ".map" "assign" "finalize" "foo" "get" "init" "len"
     [8] "type"
    
     > mapAttach(m)
Flavor: r-patched-solaris-sparc

Version: 0.1-1
Check: running examples for arch ‘i386’
Result: ERROR
    Check process probably crashed or hung up for 20 minutes ... killed
    Most likely this happened in the example checks (?),
    if not, ignore the following last lines of example output:
    
    ======== End of example output (where/before crash/hang up occured ?) ========
Flavor: r-release-windows-ix86+x86_64