CRAN Package Check Results for Package R2G2

Last updated on 2018-07-20 09:48:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-2 1.33 17.49 18.82 ERROR
r-devel-linux-x86_64-debian-gcc 1.0-2 1.48 16.47 17.95 ERROR
r-devel-linux-x86_64-fedora-clang 1.0-2 29.63 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0-2 28.12 NOTE
r-devel-windows-ix86+x86_64 1.0-2 5.00 35.00 40.00 NOTE
r-patched-linux-x86_64 1.0-2 1.46 19.53 20.99 ERROR
r-patched-solaris-x86 1.0-2 44.10 NOTE
r-release-linux-x86_64 1.0-2 1.53 19.85 21.38 ERROR
r-release-windows-ix86+x86_64 1.0-2 5.00 32.00 37.00 NOTE
r-release-osx-x86_64 1.0-2 NOTE
r-oldrel-windows-ix86+x86_64 1.0-2 2.00 32.00 34.00 NOTE
r-oldrel-osx-x86_64 1.0-2 NOTE

Check Details

Version: 1.0-2
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Title field: should not end in a period.
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-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0-2
Check: R code for possible problems
Result: NOTE
    Found an obsolete/platform-specific call in the following function:
     ‘Plots2GE’
    Found the platform-specific device:
     ‘x11’
    dev.new() is the preferred way to open a new device, in the unlikely
    event one is needed.
    FancyPies: no visible global function definition for ‘rainbow’
    FancyPies: no visible global function definition for ‘plot’
    FancyPies: no visible global function definition for ‘polygon’
    Hist2GE: no visible global function definition for ‘dist’
    Pies2GE: no visible global function definition for ‘rainbow’
    Plots2GE: no visible global function definition for ‘aggregate’
    Plots2GE: no visible global function definition for ‘x11’
    Plots2GE: no visible global function definition for ‘title’
    Plots2GE: no visible global function definition for ‘png’
    Plots2GE: no visible global function definition for ‘dev.off’
    PolyLines2GE: no visible global function definition for ‘rainbow’
    Shapes2GE: no visible global function definition for ‘rainbow’
    Undefined global functions or variables:
     aggregate dev.off dist plot png polygon rainbow title x11
    Consider adding
     importFrom("grDevices", "dev.off", "png", "rainbow", "x11")
     importFrom("graphics", "plot", "polygon", "title")
     importFrom("stats", "aggregate", "dist")
    to your NAMESPACE file.
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, r-release-linux-x86_64

Version: 1.0-2
Check: Rd line widths
Result: NOTE
    Rd file 'Hist2GE.Rd':
     \usage lines wider than 90 characters:
     Hist2GE(coords, species = 0, grid, goo, nedges, orient, maxAlt = 1e+05, colors = "auto", ...)
     \examples lines wider than 100 characters:
     ###Using Hist2GE: using custom grids, when working at local scale (not accounting for earth curvature)
     "lat" = MyGridRad[, 2]) #this step is only cosmetic and necessary for compatibily issues.
    
    Rd file 'Pies2GE.Rd':
     \usage lines wider than 90 characters:
     Pies2GE(center, obs, nesting = 0, goo = "Pies2GE.kml", colors = "auto", nedges = 20, orient = 0, maxAlt = 10000, radius = 50000)
    
    Rd file 'PolyLines2GE.Rd':
     \usage lines wider than 90 characters:
     PolyLines2GE(coords, nesting = 0, maxAlt = 10000, goo = "Lines2GE.kml", colors = "blue", extrude = 0, fill = FALSE, lwd = 1, closepoly ... [TRUNCATED]
    
    Rd file 'Shapes2GE.Rd':
     \usage lines wider than 90 characters:
     Shapes2GE(center, nesting = 0, goo = "Shapes2GE.kml", nedges = 20, orient = 0, colors = "blue", maxAlt = 10000, radius = 50000)
    
    Rd file 'grid50.Rd':
     \examples lines wider than 100 characters:
     grid50Rad = data.frame("1", grid50Rad) #this step is only cosmetic and necessary for compatibily issues.
    
    These lines will be truncated in the PDF 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-release-linux-x86_64

Version: 1.0-2
Check: examples
Result: ERROR
    Running examples in ‘R2G2-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: Hist2GE
    > ### Title: Producing 3D histograms in Google Earth
    > ### Aliases: Hist2GE
    > ### Keywords: google earth histogram
    >
    > ### ** Examples
    >
    > ###Using Hist2GE: the easy way
    > #Produce fake species occurrences
    > coords = cbind(rnorm(210, 6.32, 5), rnorm(210, 46.75, 5))
    > coords = coords[order(coords[,1]), ]
    > species = rep(c("sp1", "sp2", "sp3"), each = 70)
    >
    > #Choose grid
    > data(grid10000) # choose among grid50, grid500, grid5000, grid1000, grid20000
    > grid = grid10000
    >
    > Hist2GE(coords = coords,
    + species = species,
    + grid = grid,
    + goo = "Jura",
    + nedges = 6,
    + orient = 45,
    + maxAlt = 1e5)
    Error in if (species == 0 | length(species) == 0 | length(species) < nrow(coords)) species = rep("nospecies", :
     the condition has length > 1
    Calls: Hist2GE
    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: 1.0-2
Check: R code for possible problems
Result: NOTE
    FancyPies: no visible global function definition for 'rainbow'
    FancyPies: no visible global function definition for 'plot'
    FancyPies: no visible global function definition for 'polygon'
    Hist2GE: no visible global function definition for 'dist'
    Pies2GE: no visible global function definition for 'rainbow'
    Plots2GE: no visible global function definition for 'aggregate'
    Plots2GE: no visible global function definition for 'x11'
    Plots2GE: no visible global function definition for 'title'
    Plots2GE: no visible global function definition for 'png'
    Plots2GE: no visible global function definition for 'dev.off'
    PolyLines2GE: no visible global function definition for 'rainbow'
    Shapes2GE: no visible global function definition for 'rainbow'
    Undefined global functions or variables:
     aggregate dev.off dist plot png polygon rainbow title x11
    Consider adding
     importFrom("grDevices", "dev.off", "png", "rainbow", "x11")
     importFrom("graphics", "plot", "polygon", "title")
     importFrom("stats", "aggregate", "dist")
    to your NAMESPACE file.
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64