search for: package_depend

Displaying 14 results from an estimated 14 matches for "package_depend".

2020 Oct 16
2
tools::package_dependencies problems
Hello, All: tools::package_dependencies('Ecfun') failed to find how my development version of Ecfun was using rJava, which generated errors in "R CMD build Ecfun". This is because package_dependencies by default uses CRAN and ignores locally installed packages. What do you think about having this function...
2022 Oct 29
1
tools:: extracting pkg dependencies from DCF
...way to address this common problem, as instructed by you (+stopifnot to suppress print). Rscript -e 'stopifnot(file.copy("DESCRIPTION", file.path(tdir<-tempdir(), "PACKAGES"))); db<-available.packages(paste0("file://", tdir)); install.packages(setdiff(tools::package_dependencies(read.dcf("DESCRIPTION", fields="Package")[[1L]], db, which="most")[[1L]], installed.packages(priority="high")[,"Package"]))' 3 liner, 310 chars long command, far from ideal, but does work. Best, Jan On Fri, Oct 28, 2022 at 10:42 PM Gab...
2016 Feb 13
0
Deprecating old pkgDepends(), package.dependencies() in tools
We will deprecate the functions pkgDepends(), package.dependencies() and 2-3 less prominent ones from package tools, in R's development version (short "R-devel"), i.e., the one that will probably become R 3.3.0 sometime in April. Instead, package_dependencies() should be used, possibly after non-default use of available.packages() to be used as argument 'db', i.e., conceptually package_dependencies(pkg, db = available.packages(.....), .....) The reason for deprecation is that some of these functions only work with "Depends",...
2023 Nov 09
1
Dependency errors for package pracma
I tried to update my package {pracma} on CRAN from 2.4.2 (2022-09-21) to version 2.4.4 (2023-11-08). This package reverse depends / imports / suggests on 350 packages on CRAN and 25 packages on Bioconductor. The only changes are small corrections on some help files, a new function for stereographic projection, and `gcd` and `Lcm` require integer inputs now (these functions are not used in the
2023 Nov 22
1
Matrix 1.6.2+ versus Matrix 1.6.2-
Naras, Thanks. I'm a bit confused, because Rmosek does not declare Matrix as a dependency: > tools::package_dependencies("Rmosek", which = "all")[[1L]] [1] "pkgbuild" nor does it contain code needing compilation: > packageDescription("Rmosek", fields="NeedsCompilation") [1] "no" Can you explain the nature of the dependency and how...
2017 Aug 01
1
How automatic Y on install y/n prompts?
...aving an open mind is that people keep coming along > and sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Mon, Jul 31, 2017 at 9:38 PM, Dimlak Gorkehgz <rain8dome9 at gmail.com> > wrote: > > tools::package_dependencies(packs, available.packages(), > > + which=c("Imports", > "LinkingTo","Enhances"), # > > + recursive=T) > > > > > > > > (and suggests, and imports, and everything) does n...
2017 Aug 01
0
How automatic Y on install y/n prompts?
...ep coming >along >> and sticking things into it." >> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) >> >> >> On Mon, Jul 31, 2017 at 9:38 PM, Dimlak Gorkehgz ><rain8dome9 at gmail.com> >> wrote: >> > tools::package_dependencies(packs, available.packages(), >> > + which=c("Imports", >> "LinkingTo","Enhances"), # >> > + recursive=T) >> > >> > >> > >> > (and suggests, and imp...
2011 Mar 20
1
Finding Imported Packages
Is there a function similar to pkgDepends() that returns the packages that a particular package imports or imports from? I believe I can get this information from the matrix returned from installed.packages() but something like pkgDepends() would be more convenient. I did not find anything useful in my search of the R-help archives (my search string may have been poorly chosen), my use of
2012 Jan 18
1
how to check all CRAN dependencies for my package, before submitting
Suppose I'm author of a package on which quite a few other packages depend. When I submit to CRAN, I run R CMD check on it, Kurt does that too, and if things work out fine, it is accepted. When one or more of the packages that depend on it break because of my changes, however, hell breaks loose. I would like to extend my testing (currently: R CMD check pkg) to running R CMD check on all
2011 Aug 22
1
Reading DESCRIPTION files to create dependency diagram
Hi I want to create a dependence diagram of a subset of the packages on CRAN and would therefore like to read the DEACRIPTION files into a list. The list should be as follow for each package: - package name: list - Package: character - Version: character - Date: character - ... - Depends: character vector - Suggests: character vector - ... I downloaded all packages and extracted
2012 Mar 30
0
R 2.15.0 is released
...w updated before the browser stops on entering a function. (Suggestion of PR#14818.) o There are 'bare-bones' functions .colSums(), .rowSums(), .colMeans() and .rowMeans() for use in programming where ultimate speed is required. o The formerly internal function .package_dependencies() from package tools for calculating (recursive) (reverse) dependencies on package databases has been renamed to package_dependencies() and is now exported. o There is a new function optimHess() to compute the (approximate) Hessian for an optim() solution if hessi...
2012 Mar 30
0
R 2.15.0 is released
...w updated before the browser stops on entering a function. (Suggestion of PR#14818.) o There are 'bare-bones' functions .colSums(), .rowSums(), .colMeans() and .rowMeans() for use in programming where ultimate speed is required. o The formerly internal function .package_dependencies() from package tools for calculating (recursive) (reverse) dependencies on package databases has been renamed to package_dependencies() and is now exported. o There is a new function optimHess() to compute the (approximate) Hessian for an optim() solution if hessi...
2023 Apr 21
0
[Rd] R 4.3.0 is released
...plot(x, y, ...) gains conf.level and conf.args arguments for computing and plotting a confidence band for the treatment function transforming the distribution of x into the distribution of y (Switzer, 1976, _Biometrika_). Contributed by Torsten Hothorn. * Performance of package_dependencies() has been improved for cases when the number of dependencies is large. * Strings newly created by gsub(), sub() and strsplit(), when any of the inputs is marked as "bytes", are also marked as "bytes". This reduces the risk of creating invalid string...
2023 Apr 21
0
[Rd] R 4.3.0 is released
...plot(x, y, ...) gains conf.level and conf.args arguments for computing and plotting a confidence band for the treatment function transforming the distribution of x into the distribution of y (Switzer, 1976, _Biometrika_). Contributed by Torsten Hothorn. * Performance of package_dependencies() has been improved for cases when the number of dependencies is large. * Strings newly created by gsub(), sub() and strsplit(), when any of the inputs is marked as "bytes", are also marked as "bytes". This reduces the risk of creating invalid string...