As an example lets take df <- head(iris). How would I encode this into a base64 string. I need it for the GitHub API content argument.
df <- head(iris)
At the moment I