Closed mikejohnson51 closed 1 year ago
Fixed in https://github.com/rsbivand/rgrass/pull/79 and published on CRAN, please update and check, reporting back on whether this works for you.
You are correct. I thought I had reinstalled the package but clearing messed something up in the testing. I can confirm 0.3.9 works for me. Thanks!
Hello @rsbivand ,
Thanks for this package!
I am experiencing an issue when running
initGRASS
using aSpatRast
object as theSG
input.Using the example from the documentation yields the same error:
Created on 2023-09-14 by the reprex package (v2.0.1)
The notion of
s4
classes/pointers is marginally familiar to me but it seems the slot name inSpatRast
objects is nowpnt
instead ofptr
.Could this be a hint of where the initiation is getting caught?
Things do work as expected when I convert the
SpatRast
to aSpatialGridDataFrame
and use that as input.If you have any advice it would be appreciated and thanks for everything you do for this community,
Mike