TL; DR: Don’t be an absolutist– use relative paths. Use the here package instead of setwd() or getwd() to increase reproducibility and avoid wasting your and other people’s time.
TL; DR: Don’t be an absolutist– use relative paths. Use the here package instead of setwd() or getwd() to increase reproducibility and avoid wasting your and other people’s time.
It was 2015, a Political Science master’s student had to process data to hand in his thesis and decided to take the opportunity to learn how to use R. To the long and winding road of the academic requirement was added an extra degree of difficulty: incorporating programming software from scratch, with a somewhat steep learning curve.
The latest version of the opencv R package can detect and decode QR codes! # Install latest opencvinstall.packages("opencv", repos = "https://ropensci.r-universe.dev") There are two ways of using this: the ocv_qr_detect function tries to find the QR in an image file.
Maintaining a package can be a lonesome activity, which sometimes poses a problem if you prefer team work or if you encounter a very thorny-for-you problem.Beside belonging to a supportive community of maintainers (like rOpenSci 😉), for collaborative help and commiseration you can try to build a community of contributors around your package!In this post, we’ll explore one tool helping you towards that goal: “help wanted” issues, with which your
Summary Installing a package that has just been released to CRAN is painful for many users on Mac and Windows because often the difference between a ‘binary’ and a ‘source’ version is not immediately clear and they end up trying to install the source version, which leads to errors and heartbreak.When I was designing The Carpentries Workbench, I needed to make sure that people could reliably install R packages at any time
Introducing cran.dev shortlinks! On r-universe you can find package repositories from many different organizations and maintainers. But sometimes you just want to lookup a particular CRAN package, without knowing the developer.The new cran.dev shortlink service lets you navigate or link directly to the r-universe homepage and docs of any established CRAN package.
Downloading repository snapshots The new snapshot API lets you download a full copy of any CRAN-like repository on r-universe. You can use such a snapshot to mirror the entire CRAN-like repository on your own servers, or for example to build a stable, validated release of your package suite. The API endpoint is simply /api/snapshot and has several options to filter content.
I’m thrilled to share that waywiser, my R package focused on providing framework-agnostic (but tidymodels-friendly) methods for assessing models fit to spatial data 1 , has passed peer review and been accepted to rOpenSci.
How packages appear in r-universe Last month we explained how r-universe makes it easy to search and browse through the countless R packages, articles, and datasets to let you discover and learn new things. We are continuously growing this database by adding more R projects, to guide you through everything the R ecosystem has to offer. Currently r-universe is tracking and indexing of over 18.000 R packages.
Finding the right tool for the job The hardest part about effectively using R is finding the best packages for the problem you are trying to solve. I think this is even more important than being fluent in the language itself, which you will pick up along the way as you start using R more frequently. However, building your code on reliable foundations is essential for good results, and difficult to fix later on in a project.