Last updated on 2020-01-27 00:48:10 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.0.1 | 15.57 | 126.56 | 142.13 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.0.1 | 13.81 | 118.12 | 131.93 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 0.1.0.1 | 202.82 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.0.1 | 202.05 | NOTE | |||
r-devel-windows-ix86+x86_64 | 0.1.0.1 | 46.00 | 255.00 | 301.00 | NOTE | |
r-devel-windows-ix86+x86_64-gcc8 | 0.1.0.1 | 45.00 | 225.00 | 270.00 | NOTE | |
r-patched-linux-x86_64 | 0.1.0.1 | 13.55 | 136.59 | 150.14 | OK | |
r-patched-solaris-x86 | 0.1.0.1 | 272.90 | NOTE | |||
r-release-linux-x86_64 | 0.1.0.1 | 14.85 | 136.56 | 151.41 | OK | |
r-release-windows-ix86+x86_64 | 0.1.0.1 | 25.00 | 182.00 | 207.00 | NOTE | |
r-release-osx-x86_64 | 0.1.0.1 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.0.1 | 21.00 | 168.00 | 189.00 | NOTE | |
r-oldrel-osx-x86_64 | 0.1.0.1 | NOTE |
Version: 0.1.0.1
Check: examples
Result: ERROR
Running examples in 'oceanmap-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cust.colorbar
> ### Title: defines colorbar settings for 'v.raster' and 'add.region'-calls.
> ### Aliases: cust.colorbar
> ### Keywords: internal
>
> ### ** Examples
>
> ## Example:
> path <- system.file("test_files", package="oceanmap")
> nfiles <- Sys.glob(paste0(path,'/herring*.nc')) # load sample-'.nc'-files
> head(nfiles)
[1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/oceanmap/test_files/herring_lavae.nc"
> rfile <- nc2raster(nfiles[1], varname='Conc', layer=1)
File /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/oceanmap/test_files/herring_lavae.nc (NC_FORMAT_CLASSIC):
1 variables (excluding dimension variables):
float Conc[lon,lat,time]
_FillValue: -1
3 dimensions:
lon Size:352
lat Size:310
time Size:4 *** is unlimited ***
units: seconds since 2006-03-01 00:00:00
----------- FAILURE REPORT --------------
--- failure: the condition has length > 1 ---
--- srcref ---
:
--- package (from environment) ---
oceanmap
--- call from context ---
matrix2raster(z, x = lon, y = lat)
--- call from argument ---
if (class(z) == "array") {
cat("\nconverting array to RasterStack object")
if (missing(layer))
layer <- 1:dim(z)[3]
h <- raster()
for (ts in layer) {
h.add <- raster(t(z[, , ts])[ncol(z):1, ])
h <- raster::addLayer(h, h.add)
}
} else {
cat("\nconverting matrix to RasterLayer")
h <- raster(t(z)[ncol(z):1, ])
}
--- R stacktrace ---
where 1: matrix2raster(z, x = lon, y = lat)
where 2: nc2raster(nfiles[1], varname = "Conc", layer = 1)
--- value of length: 2 type: logical ---
[1] FALSE TRUE
--- function from context ---
function (z, x, y, layer, proj = "+proj=longlat")
{
if (class(z) == "array") {
cat("\nconverting array to RasterStack object")
if (missing(layer))
layer <- 1:dim(z)[3]
h <- raster()
for (ts in layer) {
h.add <- raster(t(z[, , ts])[ncol(z):1, ])
h <- raster::addLayer(h, h.add)
}
}
else {
cat("\nconverting matrix to RasterLayer")
h <- raster(t(z)[ncol(z):1, ])
}
if (!missing(x) & !missing(y)) {
raster::extent(h) <- raster::extent(c(range(x), range(y)))
}
else {
warning("\nconverting without geographical coordinates!")
}
raster::projection(h) <- proj
return(h)
}
<bytecode: 0x4d73798>
<environment: namespace:oceanmap>
--- function search by body ---
Function matrix2raster in namespace oceanmap has this body.
----------- END OF FAILURE REPORT --------------
Error in if (class(z) == "array") { : the condition has length > 1
Calls: nc2raster -> matrix2raster
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0.1
Check: for non-standard things in the check directory
Result: NOTE
Found the following files/directories:
'Gulf_of_Lions.pdf'
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.0.1
Check: for non-standard things in the check directory
Result: NOTE
Found the following files/directories:
‘Gulf_of_Lions.pdf’ ‘Gulf_of_Lions_extended.pdf’
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.0.1
Check: installed package size
Result: NOTE
installed size is 6.2Mb
sub-directories of 1Mb or more:
R 1.5Mb
test_files 4.2Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64