CRAN Package Check Results for Package adehabitatMA

Last updated on 2019-03-14 00:46:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.12 6.63 48.17 54.80 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.12 5.56 37.22 42.78 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.12 67.87 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.12 62.37 ERROR
r-devel-windows-ix86+x86_64 0.3.12 19.00 102.00 121.00 ERROR
r-patched-linux-x86_64 0.3.12 4.93 47.43 52.36 OK
r-patched-solaris-x86 0.3.12 102.70 NOTE
r-release-linux-x86_64 OK
r-release-windows-ix86+x86_64 0.3.12 18.00 125.00 143.00 OK
r-release-osx-x86_64 0.3.12 NOTE
r-oldrel-windows-ix86+x86_64 0.3.12 15.00 119.00 134.00 OK
r-oldrel-osx-x86_64 0.3.12 NOTE

Check Details

Version: 0.3.12
Check: examples
Result: ERROR
    Running examples in 'adehabitatMA-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: buffer
    > ### Title: Compute Buffers Regions
    > ### Aliases: buffer
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    >
    > data(lynxjura)
    >
    > # locs is the SpatialPointsDataFrame containing the
    > # locations of lynx indices in the Jura mountains
    > locs <- lynxjura$locs
    > head(locs)
     coordinates Date Type
    3 (856208, 2135450) 19801231 EP
    4 (852942, 2134370) 19810101 EP
    5 (857408, 2134780) 19810101 E
    7 (857425, 2135190) 19810114 E
    8 (853543, 2133730) 19810114 E
    9 (852771, 2132560) 19810114 E
    Coordinate Reference System (CRS) arguments: NA
    >
    > ## just for the sake of illustration: sample 100 points
    > set.seed(233)
    > locs <- locs[sample(1:nrow(locs), 100),]
    >
    > # sa is the SpatialPixelsDataFrame object containing
    > # maps of the study area
    > sa <- lynxjura$map
    >
    > # Buffer of 2000 m from all points
    > bu <- buffer(locs, sa, 2000)
    > image(bu)
    >
    > # displays all the pixels of the study area within 2000 m
    > # of a point, for each type of indices (see ?lynxjura)
    > buani <- buffer(locs[,2], sa, 2000)
    > buani
    Object of class "SpatialPixelsDataFrame" (package sp):
    
    Grid parameters:
     cellcentre.offset cellsize cells.dim
    x 828916 500 96
    y 2130700 500 90
    
    Variables measured:
     D E EF EO EP L O OP P
    1 0 0 0 0 0 0 0 0 0
    2 0 0 0 0 0 0 0 0 0
    3 0 0 0 0 0 0 0 0 0
    4 0 0 0 0 0 0 0 0 0
    5 0 0 0 0 0 0 0 0 0
    6 0 0 0 0 0 0 0 0 0
    ...
    
    > par(mar=c(0,0,2,0))
    > opar<-par(mfrow=c(3,4))
    > lapply(1:11, function(i) {
    + image(buani, i)
    + title(main = names(slot(buani, "data"))[i])
    + })
    Error in `[.data.frame`(x@data, , i, drop = FALSE) :
     undefined columns selected
    Calls: lapply ... matrix -> t -> matrix -> [ -> [ -> [ -> [.data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.3.12
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘filehash’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.3.12
Check: examples
Result: ERROR
    Running examples in ‘adehabitatMA-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: buffer
    > ### Title: Compute Buffers Regions
    > ### Aliases: buffer
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    >
    > data(lynxjura)
    >
    > # locs is the SpatialPointsDataFrame containing the
    > # locations of lynx indices in the Jura mountains
    > locs <- lynxjura$locs
    > head(locs)
     coordinates Date Type
    3 (856208, 2135450) 19801231 EP
    4 (852942, 2134370) 19810101 EP
    5 (857408, 2134780) 19810101 E
    7 (857425, 2135190) 19810114 E
    8 (853543, 2133730) 19810114 E
    9 (852771, 2132560) 19810114 E
    Coordinate Reference System (CRS) arguments: NA
    >
    > ## just for the sake of illustration: sample 100 points
    > set.seed(233)
    > locs <- locs[sample(1:nrow(locs), 100),]
    >
    > # sa is the SpatialPixelsDataFrame object containing
    > # maps of the study area
    > sa <- lynxjura$map
    >
    > # Buffer of 2000 m from all points
    > bu <- buffer(locs, sa, 2000)
    > image(bu)
    >
    > # displays all the pixels of the study area within 2000 m
    > # of a point, for each type of indices (see ?lynxjura)
    > buani <- buffer(locs[,2], sa, 2000)
    > buani
    Object of class "SpatialPixelsDataFrame" (package sp):
    
    Grid parameters:
     cellcentre.offset cellsize cells.dim
    x 828916 500 96
    y 2130700 500 90
    
    Variables measured:
     D E EF EO EP L O OP P
    1 0 0 0 0 0 0 0 0 0
    2 0 0 0 0 0 0 0 0 0
    3 0 0 0 0 0 0 0 0 0
    4 0 0 0 0 0 0 0 0 0
    5 0 0 0 0 0 0 0 0 0
    6 0 0 0 0 0 0 0 0 0
    ...
    
    > par(mar=c(0,0,2,0))
    > opar<-par(mfrow=c(3,4))
    > lapply(1:11, function(i) {
    + image(buani, i)
    + title(main = names(slot(buani, "data"))[i])
    + })
    Error in `[.data.frame`(x@data, , i, drop = FALSE) :
     undefined columns selected
    Calls: lapply ... matrix -> t -> matrix -> [ -> [ -> [ -> [.data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.3.12
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'adehabitatMA-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: buffer
    > ### Title: Compute Buffers Regions
    > ### Aliases: buffer
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    >
    > data(lynxjura)
    >
    > # locs is the SpatialPointsDataFrame containing the
    > # locations of lynx indices in the Jura mountains
    > locs <- lynxjura$locs
    > head(locs)
     coordinates Date Type
    3 (856208, 2135450) 19801231 EP
    4 (852942, 2134370) 19810101 EP
    5 (857408, 2134780) 19810101 E
    7 (857425, 2135190) 19810114 E
    8 (853543, 2133730) 19810114 E
    9 (852771, 2132560) 19810114 E
    Coordinate Reference System (CRS) arguments: NA
    >
    > ## just for the sake of illustration: sample 100 points
    > set.seed(233)
    > locs <- locs[sample(1:nrow(locs), 100),]
    >
    > # sa is the SpatialPixelsDataFrame object containing
    > # maps of the study area
    > sa <- lynxjura$map
    >
    > # Buffer of 2000 m from all points
    > bu <- buffer(locs, sa, 2000)
    > image(bu)
    >
    > # displays all the pixels of the study area within 2000 m
    > # of a point, for each type of indices (see ?lynxjura)
    > buani <- buffer(locs[,2], sa, 2000)
    > buani
    Object of class "SpatialPixelsDataFrame" (package sp):
    
    Grid parameters:
     cellcentre.offset cellsize cells.dim
    x 828916 500 96
    y 2130700 500 90
    
    Variables measured:
     D E EF EO EP L O OP P
    1 0 0 0 0 0 0 0 0 0
    2 0 0 0 0 0 0 0 0 0
    3 0 0 0 0 0 0 0 0 0
    4 0 0 0 0 0 0 0 0 0
    5 0 0 0 0 0 0 0 0 0
    6 0 0 0 0 0 0 0 0 0
    ...
    
    > par(mar=c(0,0,2,0))
    > opar<-par(mfrow=c(3,4))
    > lapply(1:11, function(i) {
    + image(buani, i)
    + title(main = names(slot(buani, "data"))[i])
    + })
    Error in `[.data.frame`(x@data, , i, drop = FALSE) :
     undefined columns selected
    Calls: lapply ... matrix -> t -> matrix -> [ -> [ -> [ -> [.data.frame
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.12
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'adehabitatMA-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: buffer
    > ### Title: Compute Buffers Regions
    > ### Aliases: buffer
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    >
    > data(lynxjura)
    >
    > # locs is the SpatialPointsDataFrame containing the
    > # locations of lynx indices in the Jura mountains
    > locs <- lynxjura$locs
    > head(locs)
     coordinates Date Type
    3 (856208, 2135450) 19801231 EP
    4 (852942, 2134370) 19810101 EP
    5 (857408, 2134780) 19810101 E
    7 (857425, 2135190) 19810114 E
    8 (853543, 2133730) 19810114 E
    9 (852771, 2132560) 19810114 E
    Coordinate Reference System (CRS) arguments: NA
    >
    > ## just for the sake of illustration: sample 100 points
    > set.seed(233)
    > locs <- locs[sample(1:nrow(locs), 100),]
    >
    > # sa is the SpatialPixelsDataFrame object containing
    > # maps of the study area
    > sa <- lynxjura$map
    >
    > # Buffer of 2000 m from all points
    > bu <- buffer(locs, sa, 2000)
    > image(bu)
    >
    > # displays all the pixels of the study area within 2000 m
    > # of a point, for each type of indices (see ?lynxjura)
    > buani <- buffer(locs[,2], sa, 2000)
    > buani
    Object of class "SpatialPixelsDataFrame" (package sp):
    
    Grid parameters:
     cellcentre.offset cellsize cells.dim
    x 828916 500 96
    y 2130700 500 90
    
    Variables measured:
     D E EF EO EP L O OP P
    1 0 0 0 0 0 0 0 0 0
    2 0 0 0 0 0 0 0 0 0
    3 0 0 0 0 0 0 0 0 0
    4 0 0 0 0 0 0 0 0 0
    5 0 0 0 0 0 0 0 0 0
    6 0 0 0 0 0 0 0 0 0
    ...
    
    > par(mar=c(0,0,2,0))
    > opar<-par(mfrow=c(3,4))
    > lapply(1:11, function(i) {
    + image(buani, i)
    + title(main = names(slot(buani, "data"))[i])
    + })
    Error in `[.data.frame`(x@data, , i, drop = FALSE) :
     undefined columns selected
    Calls: lapply ... matrix -> t -> matrix -> [ -> [ -> [ -> [.data.frame
    Execution halted
Flavor: r-devel-windows-ix86+x86_64