iobis / obistools

Tools for data enhancement and quality control
https://iobis.github.io/obistools
Other
25 stars 6 forks source link

depth check issue #42

Closed pieterprovoost closed 6 years ago

pieterprovoost commented 6 years ago
library(robis)
library(obistools)

pol <- occurrence("Polychaeta", geometry = "POLYGON ((6.50391 54.59753, 6.45996 53.14677, 8.26172 53.17312, 8.08594 54.54658, 6.50391 54.59753))")
problems <- check_depth(pol)
Error in data.frame(field = column, level = "error", row = i, message = message,  : 
  arguments imply differing number of rows: 2, 1, 3
samuelbosch commented 6 years ago

Fixed with this commit https://github.com/iobis/obistools/commit/6e9ad7855ba0c1741871adeb5a11ddb35fda2d60