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?
to your account
If there are no existing methods, s4_methods_class, as a wrapper of utils::methods,
is not expected to throw an error:
setClass("virtualA", contains = "VIRTUAL")
#> Error in `$<-.data.frame`(`*tmp*`, class, value = "virtualA") :
# replacement has 1 row, data has 0
attr(utils::methods(class = "virtualA"), "info")
#>  visible from generic isS4
# <0 rows> (or 0-length row.names)
Maybe sloop:::methods_class can do a check for row number or other way to avoid the error...
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.