70
Kind regards,
Berry
*From:* Duncan Murdoch
*Sent:* Monday, February 4, 2019 15:11
*To:* Berry Boessenkool; R package devel
*Subject:* Re: [R-pkg-devel] sf subsetting with square bracket
On 03/02/2019 8:26 p.m., Duncan M
On 03/02/2019 8:26 p.m., Duncan Murdoch wrote:
On 03/02/2019 5:21 p.m., Berry Boessenkool wrote:
Hi,
my package in question can only be online next week, but here's a script
for a MWE:
https://gist.github.com/brry/7728b9b2d35afad7f1fc5978c3315009
The script uses devtools and osmplotr to
- creat
--
*From:* Duncan Murdoch
*Sent:* Sunday, February 3, 2019 21:41
*To:* Berry Boessenkool; R package devel
*Subject:* Re: [R-pkg-devel] sf subsetting with square bracket
On 03/02/2019 3:02 p.m., Berry Boessenkool wrote:
Hi,
if sf is not loaded,
On 03/02/2019 3:02 p.m., Berry Boessenkool wrote:
Hi,
if sf is not loaded, subsetting an sf object with square brackets loses the sf
class in the geometry column:
sfobj[somerows,]
For usage in a package, I do not want to call library(sf) first.
[ is an S3 method in sf:
https://github.com/r-sp