[R-pkg-devel] Testing on old R versions
murdoch@dunc@n @end|ng |rom gm@||@com
Sun Jan 31 18:35:18 CET 2021
On 31/01/2021 10:57 a.m., Gábor Csárdi wrote:
> Do you actually experience any problems, if you don't treat this case specially?
Yes, what was happening was that remotes::install_deps skipped
installing rgl from CRAN because the local copy had a later version
number. Sorry, I deleted most of the runs that had failures in them, so
I can't quote the exact message about this.
> AFAIR, in most cases this is not a problem in practice. remotes might
> install the CRAN version of rgl as the dependency of alphashape3d, but
> `R CMD check` will install and use the local copy of the rgl package
> for the check, anyway, so that does not matter much.
> More precisely, it would only matter if alphashape3d had some install
> time dependency on rgl, because at install time, it will use the CRAN
> rgl version. But this is pretty rare I think.
> If you still want to fix this, you can replace
> `remotes::install_deps()` with `remotes::install_local()` and then
> remotes will install the local package as well, not only its
I'll try that.
> On Sun, Jan 31, 2021 at 11:32 AM Duncan Murdoch
> <murdoch.duncan using gmail.com> wrote:
>> I am trying out a modified version of the tidyverse actions, and it does
>> seem to be going well. Just one question:
>> rgl has a soft dependency on alphashape3d, and alphashape3d has a hard
>> dependency on rgl. This means that I need to install in the order
>> rgl hard dependencies
>> rgl soft dependencies
>> Currently I'm using this code to do that:
>> # First install rgl with minimal deps then the rest
>> remotes::install_deps(dependencies = TRUE)
>> but devtools seems unnecessarily heavy for this. Does remotes have a
>> way to specify the install in the right order?
>> Duncan Murdoch
>> On 29/01/2021 2:26 p.m., Hadley Wickham wrote:
>>> On Thu, Jan 28, 2021 at 6:27 PM Henrik Bengtsson
>>> <henrik.bengtsson using gmail.com> wrote:
>>>> you're probably already aware of it, but 'rgl' depends on 'magrittr'
>>>> which depends on 'rlang', and the latter requires R (>= 3.3.0).
>>> For the reference, we support R-release, R-devel, and the last four
>>> versions of R:
>>> We automatically run checks on all these R versions using GitHub
>>> actions. You can use the same config as us by running
>>> usethis::use_tidy_github_actions(). If you're already using GitHub,
>>> I'm pretty confident that this is the fastest/easiest way to check
>>> with older versions of R.
>> R-package-devel using r-project.org mailing list
More information about the R-package-devel