search for: getnamespaceinfo

Displaying 9 results from an estimated 9 matches for "getnamespaceinfo".

2019 Feb 18
0
Error in rbind(info, getNamespaceInfo(env, "S3methods"))
...he 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 date > according to update.packages(). > > The error is : > ** byte-compile and prepare package for lazy loading > Error in rbind(info, getNamespaceInfo(env, "S3methods")) : > number of columns of matrices must match (see arg 2) > ERROR: lazy loading failed for package ?staRdom? > * removing ?/home/mdowle/build/revdeplib/staRdom? > > This package (staRdom) has had a recent update but CRAN checks page is > showing OK,...
2019 Feb 18
2
Error in rbind(info, getNamespaceInfo(env, "S3methods"))
...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 date according to update.packages(). The error is : ** byte-compile and prepare package for lazy loading Error in rbind(info, getNamespaceInfo(env, "S3methods")) : number of columns of matrices must match (see arg 2) ERROR: lazy loading failed for package ?staRdom? * removing ?/home/mdowle/build/revdeplib/staRdom? This package (staRdom) has had a recent update but CRAN checks page is showing OK, mostly: https://cran.r-project...
2019 Aug 01
1
c2d4u3.5 packages not working in R 3.5 anymore
Travis users are reporting a lot of these errors when testing packages on R 3.5: Error: package or namespace load failed for ?....? in rbind(info, getNamespaceInfo(env, "S3methods")): This problem seems to happen when a c2d4u package was compiled with R 3.6 and is loaded in R 3.5. The problem does not appear when using the same r-cran-xyz package on R 3.6. I'm not entirely sure what the root cause is but I think it has to do with a new feature...
2007 May 15
1
getNamespaceExports("base") error
Hi! >getNamespaceExports("base") Error in ls(NULL, all = TRUE) : using 'as.environment(NULL)' is defunct getNamespaceExports function (ns) { ns <- asNamespace(ns) if (isBaseNamespace(ns)) ls(NULL, all = TRUE) else ls(getNamespaceInfo(ns, "exports"), all = TRUE) } <environment: namespace:base> One possible way to fix this could be to changed to e.g. if (isBaseNamespace(ns)) ls(envir=baseenv(), all = TRUE) Observed with R 2.5.0 & R 2.6.0 devel (2007-05-12 r41546) (one has to go back to R 2.3.1 to see i...
2015 Jan 22
3
speedbump in library
...quot;))]) - } + paths <- file.path(lib.loc, pkg) + paths <- paths[ file.exists(file.path(paths, "DESCRIPTION")) ] if(use_loaded && pkg %in% loadedNamespaces()) { dir <- if (pkg == "base") system.file() else getNamespaceInfo(pkg, "path") Pete ____________________ Peter M. Haverty, Ph.D. Genentech, Inc. phaverty at gene.com
2015 Jan 23
0
speedbump in library
...+ paths <- file.path(lib.loc, pkg) > + paths <- paths[ file.exists(file.path(paths, "DESCRIPTION")) ] > if(use_loaded && pkg %in% loadedNamespaces()) { > dir <- if (pkg == "base") system.file() > else getNamespaceInfo(pkg, "path") > > Pete > > ____________________ > Peter M. Haverty, Ph.D. > Genentech, Inc. > phaverty at gene.com > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
2015 Jan 22
5
:: and ::: as .Primitives?
On Thu, Jan 22, 2015 at 11:44 AM, <luke-tierney at uiowa.edu> wrote: > > For default methods there ought to be a way to create those so the > default method is computed at creation or load time and stored in an > environment. We had considered that, but we thought the definition of the function would be easier to interpret if it explicitly specified the namespace, instead of
2010 Oct 15
0
R 2.12.0 is released
...sed.levels = TRUE) did not take into account NA values of factors when deciding to drop levels. (PR#14393) ? library.dynam.unload required an absolute path for libpath. (PR#14385) Both library() and loadNamespace() now record absolute paths for use by searchpaths() and getNamespaceInfo(ns, "path"). ? The self-starting model NLSstClosestX failed if some deviation was exactly zero. (PR#14384) ? X11(type = "cairo") (and other devices such as png using cairographics) and which use Pango font selection now work around a bug in Pango whe...
2010 Oct 15
0
R 2.12.0 is released
...sed.levels = TRUE) did not take into account NA values of factors when deciding to drop levels. (PR#14393) ? library.dynam.unload required an absolute path for libpath. (PR#14385) Both library() and loadNamespace() now record absolute paths for use by searchpaths() and getNamespaceInfo(ns, "path"). ? The self-starting model NLSstClosestX failed if some deviation was exactly zero. (PR#14384) ? X11(type = "cairo") (and other devices such as png using cairographics) and which use Pango font selection now work around a bug in Pango whe...