rOpenSci | rOpenSci News Digest, January 2024

rOpenSci News Digest, January 2024

Dear rOpenSci friends, it’s time for our monthly news roundup!

You can read this post on our blog. Now let’s dive into the activity at and around rOpenSci!

🔗 rOpenSci HQ

🔗 R-Universe

The R-Universe now builds MacOS ARM64 binaries for use on Apple Silicon (aka M1/M2/M3) systems!

Find out more in the related tech note.

🔗 Coworking

Read all about coworking in our recent post!

Join us for social coworking & office hours monthly on first Tuesdays! Hosted by Steffi LaZerte and various community hosts. Everyone welcome. No RSVP needed. Consult our Events page to find your local time and how to join.

And remember, you can always cowork independently on work related to R, work on packages that tend to be neglected, or work on what ever you need to get done!

🔗 Software 📦

🔗 New packages

The following three packages recently became a part of our software suite, or were recently reviewed again:

  • GLMMcosinor, developed by Rex Parsons together with Oliver Jayasinghe, Nicole White, and Oliver Rawashdeh: Allows users to fit a cosinor model using the glmmTMB framework. This extends on existing cosinor modelling packages, including cosinor and circacompare, by including a wide range of available link functions and the capability to fit mixed models. The cosinor model is described by Cornelissen (2014) https://doi.org/10.1186/1742-4682-11-16. It is available on CRAN. It has been reviewed by Michael Sachs and Joaquin Cavieres.

  • rangr, developed by Katarzyna Markowska together with Lechosław Kuczyński: Species range dynamics simulation toolset. It has been reviewed by Tad Dallas and Joanne Potts.

  • comtradr, developed by Paul Bochtler together with Harriet Goers and Chris Muir: Interface with and extract data from the United Nations Comtrade API https://comtradeplus.un.org/. Comtrade provides country level shipping data for a variety of commodities, these functions allow for easy API query and data returned as a tidy data frame. It has been reviewed by Alicia Schep, Rafael Hellwig, Ernest Guevarra, and Nicholas Potter.

Discover more packages, read more about Software Peer Review.

🔗 New versions

The following fifteen packages have had an update since the last newsletter: aorsf (v0.1.3), aRxiv (0.8), c14bazAAR (4.1.0), excluder (v0.5.1), GLMMcosinor (v0.2.0), hoardr (v0.5.4), nodbi (v0.10.0), piggyback (v0.1.5), qualtRics (v3.2.0), rerddap (v1.1.0-1), rgbif (v3.7.9), rgnparser (v0.3.0), tarchetypes (0.7.11), targets (1.4.1), and tidyhydat (v0.6.1).

🔗 Software Peer Review

There are sixteen recently closed and active submissions and 4 submissions on hold. Issues are at different stages:

Find out more about Software Peer Review and how to get involved.

🔗 On the blog

🔗 Tech Notes

🔗 Call for maintainers

If you’re interested in maintaining any of the R packages below, you might enjoy reading our blog post What Does It Mean to Maintain a Package?.

gendercoder, Provides functions and dictionaries for recoding of freetext gender responses into more consistent categories. Issue for volunteering.

sofa, Provides an interface to the NoSQL database CouchDB. Issue for volunteering

🔗 Call for co-maintainers

Refer to our help wanted page – before opening a PR, we recommend asking in the issue whether help is still needed.

🔗 Package development corner

Some useful tips for R package developers. 👀

🔗 How to get feedback from package users

Matthias Grenié recently asked an intriguing question on Mastodon: “Do you know any good resource to collect feedback from users? Or general frameworks?”. Among the answers, apart from rOpenSci software peer-review by Ralf Stubner, we note the mention of friction logs by Zhian N. Kamvar and of a dedicated feedback channel by Alvaro Mendoza.

🔗 A tip when refactoring a test file

When refactoring a test file used with testthat (for instance removing top-level code in favor of test helpers), you can add a return() in the middle of the file so that when you test the file, only the tests above the return statement are run. This way, you can make your way through your script, refactoring it little by little and moving the return statement towards the bottom as you go.

🔗 Code clubs

Heidi Seibold wrote about Code clubs in her newsletter. A great post to find out about them! She even mentions rOpenSci coworking sessions.

🔗 Cold-blooded software

Also not R-specific, but have you heard of the phrase “cold-blooded software”? An innovative way to think of software that’s not updated often but still runs.

🔗 A study of CRAN submissions

Lluís Revilla Sancho published an interesting analysis of CRAN submissions to find out how many were accepted on the first try. Any guess before reading the blog post?

🔗 Last words

Thanks for reading! If you want to get involved with rOpenSci, check out our Contributing Guide that can help direct you to the right place, whether you want to make code contributions, non-code contributions, or contribute in other ways like sharing use cases. You can also support our work through donations.

If you haven’t subscribed to our newsletter yet, you can do so via a form. Until it’s time for our next newsletter, you can keep in touch with us via our website and Mastodon account.