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 …
How I implemented googleSignIn in R (shiny) and lived
Known user identity when building shiny apps can sometimes come really handy. While you can implement your own user login, for instance using cookies, you can also use some of the services which authenticate a user for you, such as Google. This way, you don't have to handle cookies or …
read more