att / rcloud.params

Notebook parameters for RCloud
3 stars 9 forks source link

implement type checking #3

Closed gordonwoodhull closed 6 years ago

gordonwoodhull commented 9 years ago

The R side requires either a default value or a type argument to param, but this is not checked on the client side, which always sends back a string.

The type argument might also help select the control in some cases (like date). but the text entry control should accept either the (R) type 'numeric' or 'character', JavaScript string or number. And it should send only this type back.

gordonwoodhull commented 6 years ago

I am not sure I understand this; think it might not be relevant given how the package has evolved. Closing for now.