Jeff Newmiller
2020-Jan-03 21:49 UTC
[R] Fwd: Which external functions are called in a package?
If you are so lucky as to have this problem, perhaps you could take a look at the reverse dependencies on your packages' CRAN web page. On January 3, 2020 1:45:42 PM PST, Hans W Borchers <hwborchers at gmail.com> wrote:>You are absolutely right. I forgot that there is a difference between >the unpacked and the installed directory of a package. The >documentation of the *pkgapi* package in development is quite scarce >and does not mention the details. Thanks for the tip. > >--HW > >PS: Still I would like to learn about other approaches for listing >external calls of a package. This must be a general problem for >package developers whose packages are depended on by many other CRAN >packages. > > >On Fri, 3 Jan 2020 at 20:19, Duncan Murdoch <murdoch.duncan at gmail.com> >wrote: >> >> I'm not really familiar with pkgapi, but I believe the first argument >is >> to the source directory for a package. It looks as though you are >> pointing to the installed copy of it. >> >> Duncan Murdoch > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.-- Sent from my phone. Please excuse my brevity.
Hans W Borchers
2020-Jan-03 21:52 UTC
[R] Fwd: Which external functions are called in a package?
Jeff, the problem is: There I see the packages that depend on mine, but not which functions are used Or maybe I misunderstood your comment. On Fri, 3 Jan 2020 at 22:49, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:> > If you are so lucky as to have this problem, perhaps you could take a look at the reverse dependencies on your packages' CRAN web page. > > On January 3, 2020 1:45:42 PM PST, Hans W Borchers <hwborchers at gmail.com> wrote: > >You are absolutely right. I forgot that there is a difference between > >the unpacked and the installed directory of a package. The > >documentation of the *pkgapi* package in development is quite scarce > >and does not mention the details. Thanks for the tip. > > > >--HW > > > >PS: Still I would like to learn about other approaches for listing > >external calls of a package. This must be a general problem for > >package developers whose packages are depended on by many other CRAN > >packages. > > > > > >On Fri, 3 Jan 2020 at 20:19, Duncan Murdoch <murdoch.duncan at gmail.com> > >wrote: > >> > >> I'm not really familiar with pkgapi, but I believe the first argument > >is > >> to the source directory for a package. It looks as though you are > >> pointing to the installed copy of it. > >> > >> Duncan Murdoch > > > >______________________________________________ > >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > >https://stat.ethz.ch/mailman/listinfo/r-help > >PLEASE do read the posting guide > >http://www.R-project.org/posting-guide.html > >and provide commented, minimal, self-contained, reproducible code. > > -- > Sent from my phone. Please excuse my brevity.
Jeff Newmiller
2020-Jan-04 00:49 UTC
[R] Fwd: Which external functions are called in a package?
No, sorry, I misunderstood your question. a) Read the NAMESPACE file of package B? If they use importFrom that would be specific enough. b) "Suggests" can refer to usage that does not even appear in the loaded package at all. c) Try asking in the r-package-devel mailing list? On January 3, 2020 1:52:51 PM PST, Hans W Borchers <hwborchers at gmail.com> wrote:>Jeff, the problem is: >There I see the packages that depend on mine, but not which functions >are used >Or maybe I misunderstood your comment. > >On Fri, 3 Jan 2020 at 22:49, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> >wrote: >> >> If you are so lucky as to have this problem, perhaps you could take a >look at the reverse dependencies on your packages' CRAN web page. >> >> On January 3, 2020 1:45:42 PM PST, Hans W Borchers ><hwborchers at gmail.com> wrote: >> >You are absolutely right. I forgot that there is a difference >between >> >the unpacked and the installed directory of a package. The >> >documentation of the *pkgapi* package in development is quite scarce >> >and does not mention the details. Thanks for the tip. >> > >> >--HW >> > >> >PS: Still I would like to learn about other approaches for listing >> >external calls of a package. This must be a general problem for >> >package developers whose packages are depended on by many other CRAN >> >packages. >> > >> > >> >On Fri, 3 Jan 2020 at 20:19, Duncan Murdoch ><murdoch.duncan at gmail.com> >> >wrote: >> >> >> >> I'm not really familiar with pkgapi, but I believe the first >argument >> >is >> >> to the source directory for a package. It looks as though you are >> >> pointing to the installed copy of it. >> >> >> >> Duncan Murdoch >> > >> >______________________________________________ >> >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> >https://stat.ethz.ch/mailman/listinfo/r-help >> >PLEASE do read the posting guide >> >http://www.R-project.org/posting-guide.html >> >and provide commented, minimal, self-contained, reproducible code. >> >> -- >> Sent from my phone. Please excuse my brevity.-- Sent from my phone. Please excuse my brevity.