Mostly to lighten the dependency tree using tools that is built in with R would remove one additional dependency. Also clarity; the tools directory adds an R folder for distinction that they are used with R packages which seemed like if a user was ever investigating, they would have a better idea where those files came from.
Lori Shepherd Bioconductor Core Team Roswell Park Comprehensive Cancer Center Department of Biostatistics & Bioinformatics Elm & Carlton Streets Buffalo, New York 14263 ________________________________ From: Bioc-devel <bioc-devel-boun...@r-project.org> on behalf of Aaron Lun <infinite.monkeys.with.keyboa...@gmail.com> Sent: Wednesday, April 7, 2021 4:10 AM To: bioc-devel@r-project.org <bioc-devel@r-project.org> Subject: Re: [Bioc-devel] Updates to BiocFileCache, AnnotationHub, and ExperimentHub rebook and basilisk are also currently using rappdirs. I would be interested in the motivation behind the switch for the Hubs and whether that is applicable to those two packages as well. -A On 4/5/21 6:41 AM, Kern, Lori wrote: > We are in process of making some major updates to the caching in > BiocFileCache, AnnotationHub, and ExperimentHub. Namely, the default caching > location will change from using rappdirs::user_cache_dir to using > tools::R_user_dir eventually relieving the dependency on rappdirs. To avoid > conflicting default caches, if anyone used an old default caching directory, > there will be an error to decide how to deal with the old location before > proceeding and documentation in the vignettes for how to resolve. Currently > I have update BiocFileCache, the changes were just pushed to the devel branch > and should propagate tonight. I plan on doing the same for both > AnnotationHub and ExperimentHub within the next few days. We appreciate any > feedback or questions with regards to these updates. > > This is only relevant to using the default cache location, if a user > manually specified a unique location, used environment variables, or created > a package specific cache the code/location is not affected. Anyone using > package specific caching that utilizes rappdirs is encouraged also to > consider changing package code to use the now available function in tools. > > Cheers, > > > Lori Shepherd > > Bioconductor Core Team > > Roswell Park Comprehensive Cancer Center > > Department of Biostatistics & Bioinformatics > > Elm & Carlton Streets > > Buffalo, New York 14263 > > > This email message may contain legally privileged and/or confidential > information. If you are not the intended recipient(s), or the employee or > agent responsible for the delivery of this message to the intended > recipient(s), you are hereby notified that any disclosure, copying, > distribution, or use of this email message is prohibited. If you have > received this message in error, please notify the sender immediately by > e-mail and delete this email message from your computer. Thank you. > [[alternative HTML version deleted]] > > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://secure-web.cisco.com/1xDKtwmD7KF6XN2PGsO5WMb8MUBuVd1_7pAaiY6x4Jc1PgpDH8GiGacn-IzghnM40n60o567y87UdWrsqKF1LJRwGTwXOP598j5D7E6SPBKpWfVoTsB78DxjOEhJN0-wwvxq-4tw3xW2W3I1DpwxlybPtN8tG2zlJiSHn9OBn0hHbo8lo81oVIOopo4mAa_ui2PcrX6zQPeh322U9G813vyhB3BsSA7YM-V70ahEdb6JUf-XZBqeY_mSavleRlfFk4-ROT8ng5D16P9XlU-qk1i64Gjc_Q0dExIV1WKOh5Sr7c05LH0vQ6eRG-IHZTN7O/https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fbioc-devel > _______________________________________________ Bioc-devel@r-project.org mailing list https://secure-web.cisco.com/1xDKtwmD7KF6XN2PGsO5WMb8MUBuVd1_7pAaiY6x4Jc1PgpDH8GiGacn-IzghnM40n60o567y87UdWrsqKF1LJRwGTwXOP598j5D7E6SPBKpWfVoTsB78DxjOEhJN0-wwvxq-4tw3xW2W3I1DpwxlybPtN8tG2zlJiSHn9OBn0hHbo8lo81oVIOopo4mAa_ui2PcrX6zQPeh322U9G813vyhB3BsSA7YM-V70ahEdb6JUf-XZBqeY_mSavleRlfFk4-ROT8ng5D16P9XlU-qk1i64Gjc_Q0dExIV1WKOh5Sr7c05LH0vQ6eRG-IHZTN7O/https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fbioc-devel This email message may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited. If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you. [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel