courtiol / IsoriX

This is the GitHub repository dedicated to the development of the R package IsoriX
13 stars 6 forks source link

Terra sf conversion #163

Closed wenzmo closed 1 year ago

wenzmo commented 1 year ago

Hi, I switched everyhting to terra and mostly sf. Please note that I did "main" changes in the script zzz.R. I removed the function .onload and .onUnload because there is no replacement in sf. Maybe it is not necessary anymore. Additionally, I changed the function .summarize_values because there is no RatserBrick in the terra package. I used the number of layers instead and this shoul work in the same way. Unfortunately, I couldn't test the package, because the onboard data did not work. These are maybe Rasterlayers created with the raster package and I didn't found where to recreate.

Calibfit.R and plots.R have still some sp functions in there, but I was not able to find a solution for that.

courtiol commented 1 year ago

This was instead done in PR #168