Displaying 3 results from an estimated 3 matches for "allpackag".
Did you mean:
allpack
2012 Apr 05
1
issue with base:::namespaceImportMethods
...930,10 @@
namespaceImportMethods <- function(self, ns, vars) {
allVars <- character()
+ generics <- character()
+ packages <- character()
allFuns <- methods:::.getGenerics(ns) # all the methods tables in ns
- packages <- attr(allFuns, "package")
+ allPackages <- attr(allFuns, "package")
pkg <- methods:::getPackageName(ns)
if(!all(vars %in% allFuns)) {
message(gettextf("No methods found in \"%s\" for requests: %s",
@@ -950,16 +952,23 @@
## import methods tables if asked for
## or...
2019 Feb 18
2
Error in rbind(info, getNamespaceInfo(env, "S3methods"))
Dear all,
I'm experiencing an unusual installation error for one package. Could
anyone suggest how I can best investigate this from here please? I'm sorry
this isn't very much to go on. Hopefully someone can point me in the right
direction.
The problem seems to be my library. It is large (3,418 packages) and I'd
like to avoid rebuilding it, if possible. All packages are up to
2019 Feb 18
0
Error in rbind(info, getNamespaceInfo(env, "S3methods"))
...urs called "S3methods" is corrupted. I can't guess whether it
is one coming from staRdom or one already in your library, but it
appears yours doesn't have the usual number of columns (which I think is 3).
So you could get a list of all packages in your library, and run
sapply(allpackages, function(x)
ncol(asNamespace(x)$.__NAMESPACE__.$S3methods))
to see which of them don't return 3 as the number of columns. (This
will load all of them, so might need to be broken up into batches.)
Duncan Murdoch
>
> The problem seems to be my library. It is large (3,418 packages...