An R marathon updating packages

Recent and approaching code-breaking changes in the tidyverse packages ‘tidyselect’, ‘rlang’, ‘tidyr’, ‘dplyr’, ‘readr’ and ‘ggplot2’ meant that keeping my packages fully functional required changes to several of them. None of the changes in these packages made my packages fail CRAN checks, but they either made some functions unusable or triggered inumerable warnings in some use cases. In some cases the behaviour and warnings were weird and rather unpredictable, specially those due to the changes in ‘tidyselect’ version 1.2.0, which were also visible in ‘dplyr’ and ‘tidyr’. So below is a summary of my R-intensive week.

Continue reading

ggspectra 0.3.9

Some of the code in this package is rather complex and contained syntax and constructs that were known for some time to be on their way to deprecation and removal in different packages from the ‘tidyverse’. Updating the package to the syntax used in current ‘ggplot2’ versions had been in my to do list for some time. Now the update had to be done, and it is now done.

Continue reading

ggpmisc 0.5.1

Version 0.5.1 brings additional enhancements to the annotations based on model fits. These enhancements improve traceability by updating statistics to return additional information about the fitted models. Functions in ‘ggplot2’ that had been ealier announced as being at their end-of-life have now been deprecated. Some instances aes_() had remained lingering in the code and had to be replaced by aes() .

Continue reading

photobiology 0.10.14


COMPATIBILTY FIX: An update of package ‘tidyselect’ 1.2.0 now in CRAN deprecated syntax previously accepted. This change affected indirectly the syntax used in ‘dplyr’ and ‘tidyr’ resulting in lots of warnings and in a few odd behaviours in ‘photobiology’. To solve this I replaced several calls to dplyr::rename() and dplyr::select() with newly written code using only base R functions and operators.


Continue reading