Skip to content

Commit

Permalink
fix #397
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Nov 25, 2024
1 parent ebf7113 commit b895f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geoflow_validator.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ geoflow_validator_cell <- R6Class("geoflow_validator_cell",
#If cell is empty and can be empty it's okay, nothing to validate
if(private$na_authorized){
if(is.na(private$str)) return(report)
if(private$str == "") return(report)
if(as(private$str, "character") == "") return(report)
}
#If cell is empty and should't be empty return a error
if(!private$na_authorized){
Expand Down

0 comments on commit b895f6d

Please sign in to comment.