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
> library(bigmemory) > X <- as.big.matrix(matrix(1:10, nrow = 2L)) > class(X) [1] "big.matrix" attr(,"package") [1] "bigmemory"
In other words, if X is a global, we should append:
X
packages <- c(packages, attr(class(X), "package"))
The text was updated successfully, but these errors were encountered:
A core R example:
> def <- methods::getClass("MethodDefinition") > base::isS4(def) [1] TRUE > class(def) [1] "classRepresentation" attr(,"package") [1] "methods"
Since isS4() is defined in base, we can do something like:
isS4()
x <- globals[[1]] if (isS4(x)) packages <- c(packages, attr(class(x), "package"))
without adding a dependency on methods.
Sorry, something went wrong.
Use the 'stats4' for testing; it's a 'base' package
This might bring to the globals package, i.e. packagesOf.Globals
No branches or pull requests
In other words, if
X
is a global, we should append:The text was updated successfully, but these errors were encountered: