search for: pkgc

Displaying 6 results from an estimated 6 matches for "pkgc".

Did you mean: pkg
2013 Aug 30
2
"False" warning on "replacing previous import" when re-exporting identical object
Hi, SETUP: Consider three packages PkgA, PkgB and PkgC. PkgA defines a generic function foo() and exports it; export(foo) PkgB imports PkgA::foo() and re-exports it; importFrom(PkgA, foo) export(foo) PkgC imports everything from PkgA and PkgB: imports(PkgA, PkgB) PROBLEM: Loading or attaching the namespace of PkgC will generate a warning: re...
2014 Sep 28
1
Using requireNamespace() instead of require()
...ces do arise: if (require("pkgB", quietly=TRUE)) { pkgB::funcB(...) } else { stop("Please install package 'pkgB' to do this.") } I understand that using requireNamespace() would be preferable and I would also prefer to do that. But funcB() depends on funcC() from pkgC that it lists under 'Depends'. So, with require("pkgB"), both namespaces (of pkgB and pkgC) are loaded and attached to the search list and things run. But with requireNamespace("pkgB"), only the namespace of pkgB is loaded, so funcC() can't be found. So, I figured, I...
2011 Dec 15
1
S4 NAMESPACE method imports and exports do not include (promoted?) generics
...Imports: methods, PkgA R/f.R: setClass("B", representation(b="numeric")) setMethod(unique, "B", function(x, incomparables=FALSE, ...) unique(x at b)) NAMESPACE: importFrom(PkgA, unique) exportClasses(B) exportMethods(unique) and PkgC wants to import PkgB's classes and methods DESCRIPTION Imports: methods, PkgB R/f.R cunique <- function(x) unique(x) NAMESPACE importMethodsFrom(PkgB, unique) export(cunique) then (a) the 'unique' generic is not available to the user of PkgB > library(P...
2020 Feb 14
3
R-3.6.2 make check fails
...; ## pkgB tests an empty R directory > dir.create(file.path(pkgPath, "pkgB", "R"), recursive = TRUE, + showWarnings = FALSE) > p.lis <- c(if("Matrix" %in% row.names(installed.packages(.Library))) + c("pkgA", "pkgB", "pkgC"), + "exNSS4", "exSexpr") > InstOpts <- list("exSexpr" = "--html") > pkgApath <- file.path(pkgPath, "pkgA") > if("pkgA" %in% p.lis && !dir.exists(d <- pkgApath)) { + cat("symlink 'pkgA...
2018 Aug 23
0
Re: [PATCH] Fix error with --uninstall option on SUSE
...with-licenses` and not available on the `zypper rm` command. > No problem with the patch, just one question: can it happen that zypper may decide to install packages when removing others, e.g. to keep some other dependency/relationship satisfied? For example: 1) package PkgA depends on PkgB | PkgC 2) when installing PkgA, PkgB is installed 3) you try to remove PkgB, and zypper decides to install PkgC to keep PkgA installed Of course the example above is overly simplified -- though, can the above happen? Thanks, -- Pino Toscano
2018 Aug 23
3
[PATCH] Fix error with --uninstall option on SUSE
The `-l` option for some `zypper` subcommands is short for `--auto-agree-with-licenses` and not available on the `zypper rm` command. --- customize/customize_run.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customize/customize_run.ml b/customize/customize_run.ml index f92e9a199..3eacdaca0 100644 --- a/customize/customize_run.ml +++ b/customize/customize_run.ml @@ -181,7