- using R version 4.2.0 (2022-04-22)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘stars/DESCRIPTION’ ... OK
- this is package ‘stars’ version ‘0.6-0’
- 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 ... [8s/8s] OK
- checking installed package size ... NOTE
installed size is 6.2Mb
sub-directories of 1Mb or more:
doc 2.4Mb
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 ... [11s/11s] OK
- checking Rd files ... [1s/1s] 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 ... [4s/4s] ERROR
Running examples in ‘stars-Ex.R’ failed
The error most likely occurred in:
> ### Name: mdim
> ### Title: Read or write data using GDAL's multidimensional array API
> ### Aliases: mdim read_mdim write_mdim
>
> ### ** Examples
>
> set.seed(135)
> m = matrix(runif(10), 2, 5)
> names(dim(m)) = c("stations", "time")
> times = as.Date("2022-05-01") + 1:5
> pts = st_as_sfc(c("POINT(0 1)", "POINT(3 5)"))
> s = st_as_stars(list(Precipitation = m)) |>
+ st_set_dimensions(1, values = pts) |>
+ st_set_dimensions(2, values = times)
> nc = tempfile(fileext=".nc")
> if (compareVersion(sf_extSoftVersion()["GDAL"], "3.4.0") > -1) {
+ write_mdim(s, nc)
+ # try ncdump on the generated file
+ print(read_mdim(nc))
+ }
Error: cannot open driver
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/11s] ERROR
Running ‘aggregate.R’ [2s/2s]
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.9.3, GDAL 3.5.2, PROJ 8.2.1; sf_use_s2() is TRUE
Running ‘align.R’ [2s/2s]
Comparing ‘align.Rout’ to ‘align.Rout.save’ ... OK
Running ‘area.R’ [1s/1s]
Comparing ‘area.Rout’ to ‘area.Rout.save’ ...51a52,64
> /PRODUCT/longitude,
> /PRODUCT/latitude,
> /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/nitrogendioxide_summed_total_column,
> stars object with 2 dimensions and 1 attribute
> attribute(s):
> Min. 1st Qu. Median Mean 3rd Qu. Max.
> area [m^2] 64503163 64957713 65834712 65849060 66734597 67218777
> dimension(s):
> from to refsys values x/y
> x 1 5 WGS 84 [5x5] -5.81066 [°],...,-5.26234 [°] [x]
> y 1 5 WGS 84 [5x5] 44.4439 [°],...,44.8693 [°] [y]
> curvilinear grid
> There were 15 warnings (use warnings() to see them)
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’ ...54a55,70
> /PRODUCT/longitude,
> /PRODUCT/latitude,
> /PRODUCT/SUPPORT_DATA/DETAILED_RESULTS/nitrogendioxide_summed_total_column,
> stars object with 3 dimensions and 1 attribute
> attribute(s):
> Min. 1st Qu. Median
> nitrogendioxide_summed_total_c... 3.650813e-05 7.451281e-05 8.296968e-05
> Mean 3rd Qu. Max. NA's
> nitrogendioxide_summed_total_c... 8.581399e-05 9.397442e-05 0.0004535302 330
> dimension(s):
> from to refsys values x/y
> x 1 450 WGS 84 [450x278] -5.81066 [°],...,30.9468 [°] [x]
> y 1 278 WGS 84 [450x278] 28.3605 [°],...,51.4686 [°] [y]
> time 1 1 NA NULL
> curvilinear grid
> There were 15 warnings (use warnings() to see them)
Running ‘datasets.R’ [1s/1s]
Comparing ‘datasets.Rout’ to ‘datasets.Rout.save’ ...29a30,38
> stars_proxy object with 1 attribute in 1 file(s):
> $`MTD_MSIL1C.xml:10m:EPSG_32632`
> [1] "[...]/MTD_MSIL1C.xml:10m:EPSG_32632"
>
> dimension(s):
> from to offset delta refsys values x/y
> x 1 10980 3e+05 10 WGS 84 / UTM zone 32N NULL [x]
> y 1 10980 6e+06 -10 WGS 84 / UTM zone 32N NULL [y]
> band 1 4 NA NA NA B4,...,B8
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/high-sierra-x86_64/results/4.2/stars.Rcheck/stars/nc/bcsd_obs_1999.nc
Error: file not found
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [3s/3s] 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/33s] OK
- checking PDF version of manual ... OK
- DONE
Status: 2 ERRORs, 2 NOTEs
- using check arguments '--no-clean-on-error '