Bioconductor/BiocFileCache

tools::R_user_dir vs rappdirs::user_cache_dir

Closed this issue · 5 comments

Hi Lori, I was wondering whether it would make sense to use tools::R_user_dir(which = "cache") (introduced in R-4.0.0) for BiocFileCache's default cache directory to strip off the rappdirs dependency? Just a thought.

lshep commented

Yes. thank you for reminding me that this was added into tools. I'll look into updating to lighten the dependency structure. Cheers!

lshep commented

We have just pushed changes that will implement this. See committ Note: rappdirs currently remains in the dependency structure and will for at least one release cycle to help notify users of the location change. It will be removed completely in either 3.14 or 3.15 release.

Thanks @lshep !

Just stumbled over this again and wondered whether the time is here to get rid of rappdirs.

lshep commented

@vjcitn / @mtmorgan thoughts? perhaps at the start of the next release remove it completely in the devel branch?