Re: [R-pkg-devel] Analysing namespace reverse dependencies

2019-03-10 Thread Roger Bivand
On Sat, 9 Mar 2019, Gábor Csárdi wrote: https://github.com/r-lib/pkgapi has map_package() which will list all the functions of a package, where they were defined, and also all function calls, internal ones and calls to external packages as well: map <- pkgapi::map_package("~/works/processx")

Re: [R-pkg-devel] Analysing namespace reverse dependencies

2019-03-10 Thread Roger Bivand
On Sat, 9 Mar 2019, Iñaki Ucar wrote: On Sat, 9 Mar 2019 at 15:07, Roger Bivand wrote: Hi, Is anyone aware of tools permitting the listing of functions in the namespace of package A used by package B when package B declares that it depends on A, suggests A, or imports(A) without specifying

Re: [R-pkg-devel] Analysing namespace reverse dependencies

2019-03-09 Thread Gábor Csárdi
https://github.com/r-lib/pkgapi has map_package() which will list all the functions of a package, where they were defined, and also all function calls, internal ones and calls to external packages as well: map <- pkgapi::map_package("~/works/processx") names(map) #> [1] "name""exports" "defs"

Re: [R-pkg-devel] Analysing namespace reverse dependencies

2019-03-09 Thread Iñaki Ucar
On Sat, 9 Mar 2019 at 15:07, Roger Bivand wrote: > > Hi, > > Is anyone aware of tools permitting the listing of functions in the > namespace of package A used by package B when package B declares that it > depends on A, suggests A, or imports(A) without specifying the functions > from A that B is

[R-pkg-devel] Analysing namespace reverse dependencies

2019-03-09 Thread Roger Bivand
Hi, Is anyone aware of tools permitting the listing of functions in the namespace of package A used by package B when package B declares that it depends on A, suggests A, or imports(A) without specifying the functions from A that B is using? If B imports functions from A, and uses