r-spatial / rgeopackage

R package with helper tools in creating or handling GeoPackage files
GNU General Public License v3.0
10 stars 1 forks source link

Add unit tests #5

Open florisvdh opened 2 years ago

florisvdh commented 2 years ago

Since the package may be going to expand substantially (#4), it will be wise to add unit tests as well as automated package checks on different platforms in GH Actions, in order to maintain and guarantee functionality in the future.

Do you agree @elipousson ?

elipousson commented 2 years ago

Yep! I just added a test with testthat on my fork and added an empty GeoPackage file for testing on. I already use codecov.io on several other packages if you're comfortable with using that here.

florisvdh commented 2 years ago

Cool! It would be great if you could add the covr + codecov workflow indeed.