- using R version 4.1.1 Patched (2021-09-05 r80862)
- using platform: aarch64-apple-darwin20 (64-bit)
- using session charset: UTF-8
- checking for file ‘stars/DESCRIPTION’ ... OK
- this is package ‘stars’ version ‘0.5-6’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: ‘starsdata’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘stars’ can be installed ... [6s/6s] OK
- checking installed package size ... NOTE
installed size is 5.5Mb
sub-directories of 1Mb or more:
doc 1.7Mb
nc 1.7Mb
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s/8s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [14s/15s] ERROR
Running examples in ‘stars-Ex.R’ failed
The error most likely occurred in:
> ### Name: st_warp
> ### Title: Warp (resample) grids in stars objects to a new grid, possibly
> ### in an new coordinate reference system
> ### Aliases: st_warp
>
> ### ** Examples
>
> geomatrix = system.file("tif/geomatrix.tif", package = "stars")
> (x = read_stars(geomatrix))
stars object with 2 dimensions and 1 attribute
attribute(s):
Min. 1st Qu. Median Mean 3rd Qu. Max.
geomatrix.tif 74 107 123 126.765 132 255
dimension(s):
from to offset delta refsys point values x/y
x 1 20 1841002 1.5 WGS 84 / UTM zone 11N TRUE NULL [x]
y 1 20 1144003 -1.5 WGS 84 / UTM zone 11N TRUE NULL [y]
sheared raster with parameters: -5 -5
> new_crs = st_crs(4326)
> y = st_warp(x, crs = new_crs)
> plot(st_transform(st_as_sfc(st_bbox(x)), new_crs), col = NA, border = 'red')
> plot(st_as_sfc(y, as_points=FALSE), col = NA, border = 'green', axes = TRUE, add = TRUE)
> image(y, add = TRUE, nbreaks = 6)
> plot(st_as_sfc(y, as_points=TRUE), pch=3, cex=.5, col = 'blue', add = TRUE)
> plot(st_transform(st_as_sfc(x, as_points=FALSE), new_crs), add = TRUE)
> # warp 0-360 raster to -180-180 raster:
> r = read_stars(system.file("nc/reduced.nc", package = "stars"))
trying to read file: /Volumes/Builds/packages/big-sur-arm64/results/4.1/stars.Rcheck/stars/nc/reduced.nc
Error in CPL_read_gdal(as.character(x), as.character(options), as.character(driver), :
file not found
Calls: read_stars ... is_big -> read_stars -> <Anonymous> -> CPL_read_gdal
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/7s] ERROR
Running ‘aggregate.R’ [1s/1s]
Comparing ‘aggregate.Rout’ to ‘aggregate.Rout.save’ ...4c4
< Linking to GEOS 3.10.2, GDAL 3.4.2, PROJ 8.2.1; sf_use_s2() is TRUE
---
> Linking to GEOS 3.10.2, GDAL 3.4.3, PROJ 8.2.0; sf_use_s2() is TRUE
Running ‘align.R’ [1s/1s]
Comparing ‘align.Rout’ to ‘align.Rout.save’ ... OK
Running ‘area.R’ [1s/1s]
Comparing ‘area.Rout’ to ‘area.Rout.save’ ... OK
Running ‘crop.R’ [2s/2s]
Comparing ‘crop.Rout’ to ‘crop.Rout.save’ ... OK
Running ‘curvilinear.R’ [1s/1s]
Comparing ‘curvilinear.Rout’ to ‘curvilinear.Rout.save’ ... OK
Running ‘datasets.R’ [1s/1s]
Comparing ‘datasets.Rout’ to ‘datasets.Rout.save’ ... OK
Running ‘dimensions.R’ [1s/1s]
Running the tests in ‘tests/dimensions.R’ failed.
Complete output:
> # https://github.com/r-spatial/stars/issues/295
> suppressPackageStartupMessages(library(stars))
> raw <- read_stars(system.file("nc/bcsd_obs_1999.nc", package = "stars"))
trying to read file: /Volumes/Builds/packages/big-sur-arm64/results/4.1/stars.Rcheck/stars/nc/bcsd_obs_1999.nc
Error in CPL_read_gdal(as.character(x), as.character(options), as.character(driver), :
file not found
Calls: read_stars ... is_big -> read_stars -> <Anonymous> -> CPL_read_gdal
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [1s/2s] NONE
‘stars1.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars2.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars3.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars4.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars5.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars6.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars7.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘stars8.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [30s/34s] OK
- checking PDF version of manual ... OK
- DONE
Status: 2 ERRORs, 2 NOTEs
- using check arguments '--no-clean-on-error '