CRAN Package Check Results for Package Digiroo2

Last updated on 2020-03-23 06:48:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6 15.21 141.36 156.57 ERROR
r-devel-linux-x86_64-debian-gcc 0.6 14.41 108.36 122.77 ERROR
r-devel-linux-x86_64-fedora-clang 0.6 205.56 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6 182.26 ERROR
r-devel-windows-ix86+x86_64 0.6 32.00 155.00 187.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.6 34.00 168.00 202.00 NOTE
r-patched-linux-x86_64 0.6 12.24 127.17 139.41 NOTE
r-patched-solaris-x86 0.6 303.50 ERROR
r-release-linux-x86_64 0.6 12.86 124.61 137.47 NOTE
r-release-windows-ix86+x86_64 0.6 29.00 148.00 177.00 NOTE
r-release-osx-x86_64 0.6 NOTE
r-oldrel-windows-ix86+x86_64 0.6 19.00 152.00 171.00 NOTE
r-oldrel-osx-x86_64 0.6 NOTE

Check Details

Version: 0.6
Check: dependencies in R code
Result: NOTE
    'library' or 'require' calls to packages already attached by Depends:
     'maptools' 'spatstat' 'spdep'
     Please remove these calls from your code.
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-devel-windows-ix86+x86_64-gcc8, 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: 0.6
Check: R code for possible problems
Result: NOTE
    fAssocmatrix : fAssocmatrix1: no visible global function definition for
     'coordinates<-'
    fAssocplot: no visible global function definition for 'coordinates'
    fAssocplot: no visible global function definition for 'text'
    fAssocplot: no visible global function definition for 'box'
    fDrawfigure: no visible global function definition for 'slot'
    fDrawfigure : <anonymous>: no visible global function definition for
     'slot'
    fDrawfigure: no visible global function definition for
     'SpatialPolygons'
    fDrawfigure: no visible global function definition for 'spsample'
    fDrawfigure: no visible global function definition for 'image'
    fDrawfigure: no visible global function definition for
     'colorRampPalette'
    fDrawfigure: no visible global function definition for 'points'
    fRanXY : <anonymous>: no visible global function definition for 'slot'
    fRanXY : <anonymous>: no visible global function definition for
     'spsample'
    Undefined global functions or variables:
     SpatialPolygons box colorRampPalette coordinates coordinates<- image
     points slot spsample text
    Consider adding
     importFrom("grDevices", "colorRampPalette")
     importFrom("graphics", "box", "image", "points", "text")
     importFrom("methods", "slot")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
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-solaris-x86

Version: 0.6
Check: Rd line widths
Result: NOTE
    Rd file 'fAssocmatrix.Rd':
     \examples lines wider than 100 characters:
     ## Run 20 permutations using individuals accoring to sighting probability (ave no. roos seen on survey = 6)
    
    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: 0.6
Check: examples
Result: ERROR
    Running examples in 'Digiroo2-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: fDrawfigure
    > ### Title: Plot the location of the random point falling within an
    > ### individual's home range
    > ### Aliases: fDrawfigure
    >
    > ### ** Examples
    >
    >
    > ## Load required packages
    > library(adehabitatHR)
    Loading required package: deldir
    deldir 0.1-25
    Loading required package: ade4
    
    Attaching package: 'ade4'
    
    The following object is masked from 'package:spdep':
    
     mstree
    
    The following object is masked from 'package:spatstat':
    
     disc
    
    Loading required package: adehabitatMA
    Loading required package: adehabitatLT
    Loading required package: CircStats
    Loading required package: MASS
    
    Attaching package: 'MASS'
    
    The following object is masked from 'package:spatstat':
    
     area
    
    Loading required package: boot
    
    Attaching package: 'boot'
    
    The following object is masked from 'package:spatstat':
    
     envelope
    
    >
    > ## Load study data
    > data(StudyArea)
    > data(Roos)
    >
    > # Subset the data for only 1 individual
    > RooSubid <- 'Stripes'
    > RooSub <- subset(Roos,Roos$ID==RooSubid)
    > RooSub$ID <- as.character(RooSub$ID)
    >
    > coordinates(RooSub) <- ~x+y
    >
    > ## Estimation of UD and KUD 95% for 1 animal
    > ud <- kernelUD(RooSub,h="href",same4all=TRUE)
    > ver95 <- getverticeshr(ud,95,unin = c("m"),unout=c("ha"))
    > udsgdf <- as(estUDm2spixdf(ud),"SpatialGridDataFrame")
    >
    > ## Extract random points falling within animal #1's KUD 95%
    > fDrawfigure(1,ver95,RooSub,StudyArea)
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: fDrawfigure -> plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.6
Check: examples
Result: ERROR
    Running examples in ‘Digiroo2-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: fDrawfigure
    > ### Title: Plot the location of the random point falling within an
    > ### individual's home range
    > ### Aliases: fDrawfigure
    >
    > ### ** Examples
    >
    >
    > ## Load required packages
    > library(adehabitatHR)
    Loading required package: deldir
    deldir 0.1-25
    Loading required package: ade4
    
    Attaching package: ‘ade4’
    
    The following object is masked from ‘package:spdep’:
    
     mstree
    
    The following object is masked from ‘package:spatstat’:
    
     disc
    
    Loading required package: adehabitatMA
    Loading required package: adehabitatLT
    Loading required package: CircStats
    Loading required package: MASS
    
    Attaching package: ‘MASS’
    
    The following object is masked from ‘package:spatstat’:
    
     area
    
    Loading required package: boot
    
    Attaching package: ‘boot’
    
    The following object is masked from ‘package:spatstat’:
    
     envelope
    
    >
    > ## Load study data
    > data(StudyArea)
    > data(Roos)
    >
    > # Subset the data for only 1 individual
    > RooSubid <- 'Stripes'
    > RooSub <- subset(Roos,Roos$ID==RooSubid)
    > RooSub$ID <- as.character(RooSub$ID)
    >
    > coordinates(RooSub) <- ~x+y
    >
    > ## Estimation of UD and KUD 95% for 1 animal
    > ud <- kernelUD(RooSub,h="href",same4all=TRUE)
    > ver95 <- getverticeshr(ud,95,unin = c("m"),unout=c("ha"))
    > udsgdf <- as(estUDm2spixdf(ud),"SpatialGridDataFrame")
    >
    > ## Extract random points falling within animal #1's KUD 95%
    > fDrawfigure(1,ver95,RooSub,StudyArea)
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: fDrawfigure -> plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86

Version: 0.6
Check: R code for possible problems
Result: NOTE
    fAssocmatrix : fAssocmatrix1: no visible global function definition for
     'coordinates<-'
    fAssocplot: no visible global function definition for 'plot'
    fAssocplot: no visible global function definition for 'coordinates'
    fAssocplot: no visible global function definition for 'text'
    fAssocplot: no visible global function definition for 'box'
    fDrawfigure: no visible global function definition for 'slot'
    fDrawfigure : <anonymous>: no visible global function definition for
     'slot'
    fDrawfigure: no visible global function definition for
     'SpatialPolygons'
    fDrawfigure: no visible global function definition for 'spsample'
    fDrawfigure: no visible global function definition for 'plot'
    fDrawfigure: no visible global function definition for 'image'
    fDrawfigure: no visible global function definition for
     'colorRampPalette'
    fDrawfigure: no visible global function definition for 'points'
    fRanXY : <anonymous>: no visible global function definition for 'slot'
    fRanXY : <anonymous>: no visible global function definition for
     'spsample'
    Undefined global functions or variables:
     SpatialPolygons box colorRampPalette coordinates coordinates<- image
     plot points slot spsample text
    Consider adding
     importFrom("grDevices", "colorRampPalette")
     importFrom("graphics", "box", "image", "plot", "points", "text")
     importFrom("methods", "slot")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
Flavors: r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, 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