Changes in R

We present selected changes in the development version of R, which is referred to as R-devel and is to become R 4.5. We also provide some statistics on bug tracking activities in 2024, which covers 4 months before the release of R 4.4 and 8 months of work on R-devel.

Tomas Kalibera (R Core Team) , Sebastian Meyer (Friedrich-Alexander-Universität Erlangen-Nürnberg)
2024-06-01

1 Selected changes in R-devel

R 4.5.0 is due to be released around April 2025. The following gives a selection of changes in R-devel, which are likely to appear in the new release.

For a more complete list of changes, run news(is.na(Version)) in R-devel or inspect the nightly rendered version of the NEWS.Rd source file at https://CRAN.R-project.org/doc/manuals/r-devel/NEWS.html or its RSS feed at https://developer.R-project.org/RSSfeeds.html. The bundled R News give concise descriptions of a large number of changes, including many smaller ones.

1.1 Selected user-visible changes

1.2 Selected low-level changes

A number of changes in R-devel — perhaps more than usual — are low-level and invisible to R users, but important for the reliability and maintainability of R and R packages now and in the future. Some changes of this kind are listed here.

2 Bug statistics for 2024

Summaries of bug-related activities over the past year were derived from the database underlying R’s Bugzilla system. Overall, 183 new bugs or feature requests (15%) were submitted in 2024, very much like in the previous two years. The top 5 selected components for these reports were “Documentation”, “Low-level”, “Misc”, “Language”, and “Graphics”, where the first and last increased their rank compared to 2023.

A total of 107 contributors added 742 comments on 250 different reports; 149 reports were closed. Whereas the number of new submissions remained at the same level, open issues were handled at a slower rate compared to 2023, with a decrease in the numbers of closures (–27%), comments (–21%), and contributors (–11%). Compared to 2022, there is also a decrease in bug closures and comments, but it is smaller (–13% closures, –15% comments, –13% contributors).

The numbers of comments and different contributors in the bug tracking system may be influenced by ‘R Dev Days’ organized by the R Contribution Working Group: the bugs are pre-discussed at those events mostly outside the core system, which later receives summarized comments. An ‘R Dev Day’ organized just after UseR 2024 had 8 R Core Team members present, so some “comments” were exchanged in person.

The monthly numbers shown in Figure 1 suggest that more issues were closed in April/May, July/August and November. April/May was around the release of R 4.4, but also one of the ‘R Dev Days’ took place. July/August covers the UseR! 2024 conference with an attached R Core Team meeting and ‘R Dev Day’.

As every year, not all bug reports go through R Bugzilla. Some are picked up from the R-devel, R-pkg-devel or R-help mailing lists. Some come via private communication by e-mail or in person. A number of bugs are always discovered by the R Core Team when testing changes in R or packages; these bugs are usually not reported by any channel, but are fixed directly.

Barplots of the number of opened bugs, closed bugs and comments by month.

Figure 1: Bug tracking activity by month in 2024.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Kalibera & Meyer, "Changes in R", The R Journal, 2024

BibTeX citation

@article{RJ-2024-2-rcore,
  author = {Kalibera, Tomas and Meyer, Sebastian},
  title = {Changes in R},
  journal = {The R Journal},
  year = {2024},
  note = {https://journal.r-project.org/news/RJ-2024-2-rcore},
  volume = {16},
  issue = {2},
  issn = {2073-4859},
  pages = {205-210}
}