Re: [R-pkg-devel] List of reverse dependencies, including archived packages
On 26 February 2019 at 20:38, Uwe Ligges wrote: | | | On 26.02.2019 18:59, Iñaki Ucar wrote: | > On Tue, 26 Feb 2019 at 18:38, Oliver Dechant wrote: | >> | >> Somewhat relatedly is there a way to monitor when a package has new | >> reverse depends or imports added? | > | > I don't know of any service currently providing this, if that's what | > you're asking. But it's pretty straightforward to set up a cron job to | > monitor the DESCRIPTION file of interest. | | Well, if *reverse* dependencies are of interest, rather monitor he | package's CRAN webpage which lists reverse dependencis. Or access the already-parsed-and-ready-to-use info: R> crandb <- tools::CRAN_package_db() R> colnames(crandb) [1] "Package" "Version" "Priority" [4] "Depends" "Imports" "LinkingTo" [7] "Suggests""Enhances""License" [10] "License_is_FOSS" "License_restricts_use" "OS_type" [13] "Archs" "MD5sum" "NeedsCompilation" [16] "Additional_repositories" "Author" "Authors@R" [19] "Biarch" "BugReports" "BuildKeepEmpty" [22] "BuildManual" "BuildResaveData" "BuildVignettes" [25] "Built" "ByteCompile" "Classification/ACM" [28] "Classification/ACM-2012" "Classification/JEL" "Classification/MSC" [31] "Classification/MSC-2010" "Collate" "Collate.unix" [34] "Collate.windows" "Contact" "Copyright" [37] "Date""Description" "Encoding" [40] "KeepSource" "Language""LazyData" [43] "LazyDataCompression" "LazyLoad""MailingList" [46] "Maintainer" "Note""Packaged" [49] "RdMacros""SysDataCompression" "SystemRequirements" [52] "Title" "Type""URL" [55] "VignetteBuilder" "ZipData" "Published" [58] "Path""X-CRAN-Comment" "Reverse depends" [61] "Reverse imports" "Reverse linking to" "Reverse suggests" [64] "Reverse enhances""MD5sum" R> R> dim(crandb) [1] 1377665 R> Now, if Oliver wants this _through time_ he will have snapshot it. The information provided is always 'as is' for 'right now'. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] List of reverse dependencies, including archived packages
On 26.02.2019 18:59, Iñaki Ucar wrote: On Tue, 26 Feb 2019 at 18:38, Oliver Dechant wrote: Somewhat relatedly is there a way to monitor when a package has new reverse depends or imports added? I don't know of any service currently providing this, if that's what you're asking. But it's pretty straightforward to set up a cron job to monitor the DESCRIPTION file of interest. Well, if *reverse* dependencies are of interest, rather monitor he package's CRAN webpage which lists reverse dependencis. Best, Uwe Ligges Iñaki __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] List of reverse dependencies, including archived packages
On Tue, 26 Feb 2019 at 18:38, Oliver Dechant wrote: > > Somewhat relatedly is there a way to monitor when a package has new > reverse depends or imports added? I don't know of any service currently providing this, if that's what you're asking. But it's pretty straightforward to set up a cron job to monitor the DESCRIPTION file of interest. Iñaki __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] List of reverse dependencies, including archived packages
Somewhat relatedly is there a way to monitor when a package has new reverse depends or imports added? -- Oliver Dechant __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] List of reverse dependencies, including archived packages
That works quite well! Thank you for the suggestion. Peter On Tue, Feb 26, 2019 at 1:45 AM Iñaki Ucar wrote: > On Tue, 26 Feb 2019 at 05:29, Peter Carbonetto > wrote: > > > > I'm wondering if there is a way to get a list of reverse dependencies on > > CRAN that includes archived packages. > > > > I am asking because "ashr", an R package I maintain, was recently removed > > from CRAN, and now it is back after I fixed the critical problem. > However, > > some of the downstream packages that were affected by this removal are no > > longer listed as a reverse dependency. > > I think that the easiest way is to use Microsoft's CRAN time machine > [1]. Simply set the session's repo to the day before the archiving > date, and then you can get the complete list using regular procedures. > > [1] https://mran.microsoft.com/timemachine > > Iñaki > [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] List of reverse dependencies, including archived packages
On Tue, 26 Feb 2019 at 05:29, Peter Carbonetto wrote: > > I'm wondering if there is a way to get a list of reverse dependencies on > CRAN that includes archived packages. > > I am asking because "ashr", an R package I maintain, was recently removed > from CRAN, and now it is back after I fixed the critical problem. However, > some of the downstream packages that were affected by this removal are no > longer listed as a reverse dependency. I think that the easiest way is to use Microsoft's CRAN time machine [1]. Simply set the session's repo to the day before the archiving date, and then you can get the complete list using regular procedures. [1] https://mran.microsoft.com/timemachine Iñaki __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel