knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "70%" )
The goal of learylib is to easily manage a few personal functions I find useful. A secondary goal is to explore package development in R, using pkgdown, usethis, & devtools to practice fully building out a package.
You can install the latest version of learylib from my Github repo with the devtools package. Given the limited scope & use of learylib, it will always live on Github.
install.packages("devtools") devtools::install_github("mleary/learylib")
Using theme_leary
with the mtcars
dataset.
``` {r example1} library(learylib) library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) + geom_point() + labs(title = "A basic example plot", subtitle = "A little more detail in subtitle?") + theme_leary()
Using `see_pkg_funcs` to see all the functions within a package. ``` {r example2} library(learylib) see_pkg_funcs(learylib)
I can't imagine why anyone would contribute to this, but hey it would be cool if you did! Feel free to submit a pull request or contact me if you want to add something.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.