CRAN Package Check Results for Package VoxR

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.1 2.19 39.58 41.77 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.1 2.20 30.39 32.59 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.1 52.90 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.1 50.28 ERROR
r-devel-windows-ix86+x86_64 0.5.1 8.00 44.00 52.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 0.5.1 6.00 54.00 60.00 NOTE
r-patched-linux-x86_64 0.5.1 1.92 40.09 42.01 NOTE
r-patched-solaris-x86 0.5.1 63.90 ERROR
r-release-linux-x86_64 0.5.1 2.25 40.73 42.98 NOTE
r-release-windows-ix86+x86_64 0.5.1 4.00 48.00 52.00 NOTE
r-release-osx-x86_64 0.5.1 NOTE
r-oldrel-windows-ix86+x86_64 0.5.1 4.00 47.00 51.00 NOTE
r-oldrel-osx-x86_64 0.5.1 NOTE

Check Details

Version: 0.5.1
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
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.5.1
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to 'raster' in package code.
     Please use :: or requireNamespace() instead.
     See section 'Suggested packages' in the 'Writing R Extensions' 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-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.5.1
Check: R code for possible problems
Result: NOTE
    level: no visible global function definition for 'quantile'
    obj.rec: no visible global function definition for 'txtProgressBar'
    obj.rec: no visible global function definition for 'setTxtProgressBar'
    project: no visible global function definition for 'aggregate'
    raster.proj: no visible global function definition for 'quantile'
    raster.proj: no visible global function definition for 'rasterFromXYZ'
    raster.proj: no visible global function definition for 'plot.new'
    raster.proj: no visible global function definition for 'legend'
    sub.obj: no visible global function definition for 'aggregate'
    sub.obj: no visible global function definition for 'txtProgressBar'
    sub.obj: no visible global function definition for 'setTxtProgressBar'
    surface: no visible global function definition for 'quantile'
    Undefined global functions or variables:
     aggregate legend plot.new quantile rasterFromXYZ setTxtProgressBar
     txtProgressBar
    Consider adding
     importFrom("graphics", "legend", "plot.new")
     importFrom("stats", "aggregate", "quantile")
     importFrom("utils", "setTxtProgressBar", "txtProgressBar")
    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-devel-windows-ix86+x86_64, r-patched-solaris-x86

Version: 0.5.1
Check: examples
Result: ERROR
    Running examples in 'VoxR-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: project
    > ### Title: Projection of voxels within a plan
    > ### Aliases: project
    > ### Keywords: 3d points cloud 2d points cloud projection
    >
    > ### ** Examples
    >
    > data(treecloud_vox)
    >
    > #-projection in "xy" plan
    >
    > proj <- project(treecloud_vox,dim="xy")
    >
    > #-creating vectors with interests variables
    >
    > npts <- c(proj[,4])
    > nvox <- c(proj[,3])
    > ratio <- c(proj[,5])
    >
    > #-discretisation level
    >
    > # by quantiles (20% quantiles or 25% quantiles)
    > lev_vox <- level(nvox,by="quantiles",levels=c(0.2))
    > lev_ratio <- level(ratio,by="quantiles",levels=c(0.25))
    > # by percents
    > lev_pts <- level(npts,by="percents",levels=c(0.2,0.4,0.6,0.8))
    >
    >
    > #- computing surfaces
    >
    > # surface in proportion
    > surf_nvox <- surface(proj,method="nvox",levels=lev_vox,res=0.02,proportion=TRUE)
    > # surface in absolute
    > surf_ratio <- surface(proj,method="ratio",levels=lev_ratio,res=1,proportion=FALSE)
    > # surface in absolute
    > surf_npts <- surface(proj,method="npts",levels=lev_pts,res=0.02,proportion=FALSE)
    >
    > #- ploting raster images
    >
    > par(mfrow=c(1,1),mai=c(1,0,1,0),omi=c(0,1,0,0))
    >
    > raster.proj(proj,title="nvox",res=0.02,method="nvox",levels=lev_vox,
    + colors=c("lightblue","green","yellow","red","purple"),
    + contour=TRUE,surf=surf_nvox,dim="xy")
    Loading required package: raster
    Loading required package: sp
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: raster.proj -> plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.1
Check: examples
Result: ERROR
    Running examples in ‘VoxR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: project
    > ### Title: Projection of voxels within a plan
    > ### Aliases: project
    > ### Keywords: 3d points cloud 2d points cloud projection
    >
    > ### ** Examples
    >
    > data(treecloud_vox)
    >
    > #-projection in "xy" plan
    >
    > proj <- project(treecloud_vox,dim="xy")
    >
    > #-creating vectors with interests variables
    >
    > npts <- c(proj[,4])
    > nvox <- c(proj[,3])
    > ratio <- c(proj[,5])
    >
    > #-discretisation level
    >
    > # by quantiles (20% quantiles or 25% quantiles)
    > lev_vox <- level(nvox,by="quantiles",levels=c(0.2))
    > lev_ratio <- level(ratio,by="quantiles",levels=c(0.25))
    > # by percents
    > lev_pts <- level(npts,by="percents",levels=c(0.2,0.4,0.6,0.8))
    >
    >
    > #- computing surfaces
    >
    > # surface in proportion
    > surf_nvox <- surface(proj,method="nvox",levels=lev_vox,res=0.02,proportion=TRUE)
    > # surface in absolute
    > surf_ratio <- surface(proj,method="ratio",levels=lev_ratio,res=1,proportion=FALSE)
    > # surface in absolute
    > surf_npts <- surface(proj,method="npts",levels=lev_pts,res=0.02,proportion=FALSE)
    >
    > #- ploting raster images
    >
    > par(mfrow=c(1,1),mai=c(1,0,1,0),omi=c(0,1,0,0))
    >
    > raster.proj(proj,title="nvox",res=0.02,method="nvox",levels=lev_vox,
    + colors=c("lightblue","green","yellow","red","purple"),
    + contour=TRUE,surf=surf_nvox,dim="xy")
    Loading required package: raster
    Loading required package: sp
    Error in as.double(y) :
     cannot coerce type 'S4' to vector of type 'double'
    Calls: raster.proj -> 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.5.1
Check: R code for possible problems
Result: NOTE
    level: no visible global function definition for 'quantile'
    obj.rec: no visible global function definition for 'txtProgressBar'
    obj.rec: no visible global function definition for 'setTxtProgressBar'
    project: no visible global function definition for 'aggregate'
    raster.proj: no visible global function definition for 'quantile'
    raster.proj: no visible global function definition for 'rasterFromXYZ'
    raster.proj: no visible global function definition for 'plot.new'
    raster.proj: no visible global function definition for 'plot'
    raster.proj: no visible global function definition for 'legend'
    sub.obj: no visible global function definition for 'aggregate'
    sub.obj: no visible global function definition for 'txtProgressBar'
    sub.obj: no visible global function definition for 'setTxtProgressBar'
    surface: no visible global function definition for 'quantile'
    Undefined global functions or variables:
     aggregate legend plot plot.new quantile rasterFromXYZ
     setTxtProgressBar txtProgressBar
    Consider adding
     importFrom("graphics", "legend", "plot", "plot.new")
     importFrom("stats", "aggregate", "quantile")
     importFrom("utils", "setTxtProgressBar", "txtProgressBar")
    to your NAMESPACE file.
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