Re: [Rd] Correct use of tools::R_user_dir() in packages?

2023-06-28 Thread Carl Boettiger
Thanks Simon, I was very much hoping that would be the case! It may be that I just need to put the version requirement on 4.0 then. I will be sure to add this version restriction to my packages (which technically I should be doing anyway since this function didn't exist in early versions of `tool

Re: [Rd] Correct use of tools::R_user_dir() in packages?

2023-06-28 Thread Simon Urbanek
Carl, I think your statement is false, the whole point of R_user_dir() is for packages to have a well-defined location that is allowed - from CRAN policy: "For R version 4.0 or later (hence a version dependency is required or only conditional use is possible), packages may store user-specific d