njtierney / geotargets

Targets extensions for geospatial data
https://njtierney.github.io/geotargets/
Other
49 stars 4 forks source link

create_format_terra_vect: temp fix for issue with replacing function body and {covr} #39

Closed brownag closed 3 months ago

brownag commented 3 months ago

This is a workaround for replacement of a function body not working properly within the evaluation environment created by covr, targets tests, and testthat.

More commentary in new issue #38

brownag commented 3 months ago

We now have a better way to do this, that does not require body<- nor getting package options inside write function body