avoid code duplication in `validate_obs()`/ `validate_var()`
Closed this issue · 0 comments
mtmorgan commented
It seems like the code duplication here could be avoided by writing private[[field]]
instead of using private$.obs
, something like
.validate_dataframe = function(field) {
value <- private[[field]]
...
}