(51.16 kB)
Download file


Download (51.16 kB)
posted on 03.08.2018, 07:02 by Gede Primahadi Wijaya RajegGede Primahadi Wijaya Rajeg
An R wrapper function to format strings into small-capitals when writing in an R Markdown document.

I create this R function to save me from writing the HTML mark-up over and over again (which is prone to error) for turning strings into small capital during the writing of the analyses for my thesis in R Markdown. I wrap the mark-up into an R function-call `scaps()` that can be used in an inline-code when writing report in R Markdown.

Creating this package is also a way for me to learn how (i) to develop an R package (based on Hadley Wickham's book R Packages) and (ii) to generate a static website for the package using the pkgdown


Monash International Postgraduate Research Scholarships (MIPRS) & Monash Graduate Scholarships (MGS)