Publications by Steven M. Mortimer
Most Starred R Packages on GitHub
It seems like all the best R packages proudly use GitHub and have a README adorned with badges across the top. The recent Microsoft acquisition of GitHub got me wondering: What proportion of current R packages use GitHub? Or at least refer to it in the URL of the package description. Also, what is the relationship between the number of CRAN downl...
5039 sym R (11925 sym/3 pcs) 6 img 5 tbl
Scraping Responsibly with R
I recently wrote a blog post here comparing the number of CRAN downloads an R package gets relative to its number of stars on GitHub. What I didn’t really think about during my analysis was whether or not scraping CRAN was a violation of its Terms and Conditions. I simply copy and pasted some code from R-bloggers that seemed to work and went o...
4583 sym R (485 sym/3 pcs) 6 img
One R Package a Day
Discover one R package a day by following the @RLangPackage account on Twitter! Inspired by One R Tip Day (@RLangTip) I created a Twitter bot that will feature one package with its description and GitHub URL each day. The R programming language (referred to as #rstats on Twitter) now has over 12,600 packages. Tweeting one each day would take more...
3070 sym Python (3101 sym/1 pcs) 4 img
salesforcer 0.1.3 – Features for Better CRM Data Management
The latest version of the salesforcer package (v0.1.3) is now available on CRAN and it is ready to help you better manage your Salesforce data. Along with a host of bug fixes this release has three big features: Pull lists of deleted and updated records by timeframe and be able to undelete them or permanently delete them from the Recycle Bin to ...
6786 sym R (6854 sym/10 pcs) 2 img
Setting up VS Code for Python Development like RStudio
In this article I will highlight the features of VS Code that match RStudio exactly, such as the “interactive notebook window” (called the Console in R) or the “variable explorer” (like running View() on a data frame in RStudio). At the bottom of this post I will provide two JSON files (settings.json and keybindings.json) and a block of c...
9422 sym R (7590 sym/5 pcs) 14 img
5 steps to change GitHub default branch from master to main
The R community is a diverse and inclusive group. About a month ago (June 2020) GitHub announced it would start to remove references to ‘master’ across its sites and I’m surprised the R community hasn’t jumped on the opportunity to be on the bleeding edge of this change. I think we can all take a very quick and very small step forward in ...
4642 sym Python (715 sym/7 pcs) 16 img
Running GitHub Actions Sequentially
TL;DR: If you need sequential execution in GitHub Actions consider these solutions: Sequential steps: Steps within a job are always executed sequentially! Sequential jobs: Set max-parallel: 1 within the jobs.strategy element of the workflow. Sequential workflows: Use a repository_dispatch API call at the end of the workflow to trigger the next w...
8683 sym R (738 sym/5 pcs) 8 img
salesforcer 0.2.2 – Relationship Queries and the Reports API
The latest version of the {salesforcer} package (v0.2.2) is now available on CRAN and is ready to help you have better access to data in your Salesforce Org. Along with a host of bug fixes this release has three big features: Experimental Functions for the Reports and Dashboards REST API (jump to section) – Now you have programmatic access to ...
6835 sym R (4596 sym/5 pcs) 4 img