knitr::opts_chunk$set( collapse = TRUE, message = FALSE, warning = FALSE, comment = "#>", fig.path = "man/README/README-" )
viz_void <- ggplot2::ggplot() + ggplot2::theme_void() dir_logo <- file.path("man", "figures") if(!exists(dir_logo)) { dir.create(dir_logo, recursive = TRUE) } path_logo <- file.path(dir_logo, paste0("logo.png")) hexSticker::sticker( subplot = viz_void, package = "espn2", filename = path_logo, p_y = 1.0, p_color = "white", # p_family = "sans", p_size = 40, h_size = 1.5, h_color = "white", h_fill = "red" ) logo <- magick::image_read(path_logo) magick::image_write(magick::image_scale(logo, "120"), path = path_logo) # badgecreatr::badgeplacer(status = "wip", githubaccount = "tonyelhabr", githubrepo = "espn2")
This package contains functions that I use often in projects.
devtools::install_github("tonyelhabr/espn2")
.
Here is a list of all functions in the package.
library("espn2") ls("package:espn2")
https://dusty-turner.netlify.com/post/mathlete-fantasy-football-analysis/
# print(covr::package_coverage())
...
Unfortunately, none (right now).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.