Since buffland is provided explicitly for use as a reference with cc_sea(), I expected the following would work:
data("buffland")
cc_sea(data, ref = buffland)
This fails because buffland is not class "SpatVector", but is actually a "PackedSpatVector".
That's easy enough to do once you know how. Would it be possible to either:
- provide
buffland as a "SpatVector" so this conversion isn't necessary
- add a short example of using it in the documentation for
buffland or cc_sea? e.g.,
data("buffland")
buffland <- unwrap(buffland)
cc_sea(data, ref = buffland)
Otherwise, this step is only mentioned in the vignette, but not in any of the man pages for the associated functions.
Thanks!
Since
bufflandis provided explicitly for use as a reference withcc_sea(), I expected the following would work:This fails because
bufflandis not class "SpatVector", but is actually a "PackedSpatVector".That's easy enough to do once you know how. Would it be possible to either:
bufflandas a "SpatVector" so this conversion isn't necessarybufflandorcc_sea? e.g.,Otherwise, this step is only mentioned in the vignette, but not in any of the man pages for the associated functions.
Thanks!