Check out the blog post with a fully developed example.

Installation

install.packages("remotes") # if `remotes` is not installed
remotes::install_github("arcruz0/tesseractgt")