We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reclass_timespan
As mentioned in the title, there appears to be a type at coercion.r#117:
setGeneric("reclass_timespan", useAsDefault = function(new, orig) { stop(sprintf("reclass_timespan is not defined for class '%s'", class(x))) } )
It seems that class(x) should be class(orig) instead.
class(x)
class(orig)
Minimal example:
library(lubridate) t <- period(100, "seconds") cl <- numeric(1) reclass_timespan(t, cl) #> Error in reclass_timespan(t, cl): object 'x' not found
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As mentioned in the title, there appears to be a type at coercion.r#117:
It seems that
class(x)
should beclass(orig)
instead.Minimal example:
The text was updated successfully, but these errors were encountered: