You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixedExit(offsetDays=0)
# Error in validObject(.Object) : # invalid class “FixedDurationExit” object: invalid object for slot "offsetDays" in class "FixedDurationExit": got class # "numeric", should be or extend class "integer"
which technically is correct, but would be nice if numeric is also allowed since R defaults all numbers to numeric.
The text was updated successfully, but these errors were encountered:
adding a coercion to integer within the function. in the json serialization if the value is numeric I have seen it turn into a double so I force everything to be an integer to avoid that problem. Adding the fix in the develop branch for now and will push to main when I add a few updates to the vignettes. Will close this issue when it is merged into main
Currently this throws an error:
which technically is correct, but would be nice if
numeric
is also allowed since R defaults all numbers to numeric.The text was updated successfully, but these errors were encountered: