Sometimes, upgrading Fedora on a Dell laptop may not be the experience you are after in a computer.
read moreBuild Pelican static website using GitHub actions
It is easy to automatically build Pelican static website and deploy it to GitHub Pages using GitHub actions.
read morePin package versions in your production Docker image
Making sure R package versions stay the same when deploying Docker containers to production is a nightmare. When you
read moreinstall.packages()
, the newest version and its dependencies are installed, potentially messing up your carefully crafted pipeline. To make package versions predictable, I show how I try to make this a reality using the wonderfulrenv
package.Insert changes into deep commits
A quick guide on how to do a fixup, inserting changes into a "deep" commit
read moreVectorizing functions in R is easy
Imagine you have a function that only takes one argument, but you would really like to work on a vector of values. A short example on how function
Vectorize()
can accomplish this. Let's say we have adata.frame
read morexy <- data.frame(sample = c("C_pre_sample1", "C_post_sample1 …