You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dear @jofeggg and @edzer
The error is raised by the sf package v1.0-19 which seems to have lost compatibility with functions in gdalUtilities. The error does not occur when using sf v1.0-18 and stars v0.6-7.
an example code is provided here below to reproduce the error. The data are Sentinel-2 raster subsets downloaded from my repository and used as illustration for the package biodivMapR.
in this example, gdalUtilities::gdalinfo works with sf v1.0-18 (and stars v0.6-7), but the error reported by @jofeggg occurs with sf v1.0-19.
When I run perform_PCA funtion of the biodivMapR package, I got this error after installing stars package (latest version)
Error: lexical error: invalid char in json text.
Driver: ENVI/ENVI .hdr Labelled
(right here) ------^
Here is a link to the function code:
https://github.com/jbferet/biodivMapR/blob/master/R/Lib_PerformPCA.R
With stars 0.6-6 it worked perfectly
The text was updated successfully, but these errors were encountered: