pRotectionism: The way to compete in 2024

[This article was first published on sweissblaug, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Have you ever…

…spent hours, maybe even days, tackling a tricky coding problem at work, only to discover a better, cleaner, and faster open-source alternative? UGH! There’s got to be a better way!

You’re in luck!

Inspired by the populist policies of recent US administrations and a global resurgence in protectionist trade policies, we present to you the pRotectionism package for R. This package aims to level the playing field by extending the runtime of more efficient code.

Key Features

  • taRiff(): Want to delay the execution of an efficient function? Simply call taRiff() on the function along with the desired delay time in seconds. Voila! You’re back in the game, competing against more efficient code on a more even playing field.
  • autaRky(): If you are Jones-ing for that extra edge, autaRky() is for you. This function removes all imported libraries, providing you with a self-sufficient coding environment that just might help you keep your job.

Get Started

Download the package from GitHub: pRotectionism


Interested in adding functionality? You’re more than welcome to contribute! Just be aware that any new functionality might incur an additional taRiff() at my discretion.

To leave a comment for the author, please follow the link and comment on their blog: sweissblaug. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)