Skip to content

Commit f6b2867

Browse files
committed
fix valid_keys for DateType
1 parent 826605d commit f6b2867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geoflow_validator.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ geoflow_validator_entity_Date <- R6Class("geoflow_validator_entity_Date",
456456
#'@param j col index (internal index to be used for graphical \pkg{geoflow} validation handlers)
457457
#'@param str string to validate
458458
initialize = function(i, j, str){
459-
valid_keys <- list(geometa::ISODateType$values(),"edition","embargo")
459+
valid_keys <- c(geometa::ISODateType$values(),"edition","embargo")
460460
super$initialize(TRUE,TRUE, TRUE, valid_keys, "creation",FALSE, TRUE, TRUE, i, j, as(str,"character"))
461461
},
462462

0 commit comments

Comments
 (0)