aphalo / photobiology

Package ‘photobiology’ defines a system of classes for storing spectral data and accompanying methods and operators. This is the core of a suite of R packages for photobiological calculations.
4 stars 1 forks source link

Use 'poorman' and plain R instead of 'dplyr' and 'tidyr'. #10

Open aphalo opened 1 year ago

aphalo commented 1 year ago

Once again package 'photobiology' was affected by code-breakiing changes in 'dplyr' and 'tidyr'. In this case indirectly as the change was made in 'tidyeval' and possibly not caught by tests of reverse dependencies.

I think the time has come for removing these dependencies from 'photobiology' and minimizing other dependencies on the 'tidyverse', as most of the unplanned and urgent maintenance work has been caused in recent years by their inestability, while they do not provide much of an advantage compared to base R.

aphalo commented 1 year ago

This is partially done (not much) and now an update to 'purrr' with several code breaking changes has been announced simultaneously with its release through CRAN. Hopefully nothing is broken in the package. tests are OK, CHECK as CRAN is OK

I move this to the next milestone, as some of the already implemented changes and additions need to be released ASAP.

aphalo commented 1 year ago

It should be possible to also avoid a dependency on 'poorman' and use only base R.

aphalo commented 10 months ago

In most cases the functionality of dplyr and tidyr is overkill and more especific code written in R performs similarly. However I am too busy at the moment to fix what is not yet broken.