Skip to content

bcd() fails for POINT features #7

@pramitghosh

Description

@pramitghosh

bcd() fails for sf obj with POINT geometry containing a single feature. Running

p = st_sf(st_sfc(st_point(c(0,0))))
bcd(p)

throws

Error in FUN(X[[i]], ...) : !anyNA(x) is not TRUE

Reason: overlay_grid() is not able to produce the required grid successfully using sf::st_make_grid(). Would be helpful if st_make_grid() returns NULL (or does something else) instead of throwing an error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions