install logo correctly

This commit is contained in:
Jared Knowles
2020-07-06 11:48:10 -04:00
parent f5f288974f
commit 20f65a7126
32 changed files with 582 additions and 95 deletions
+9 -12
View File
@@ -1,17 +1,14 @@
#' Title
#' Make the Civilytics plot theme
#'
#' @param font_size
#' @param font_family
#' @param line_size
#' @param rel_small
#' @param rel_tiny
#' @param rel_large
#'
#' @return
#' @param font_size default 14, a number representing the base font for the theme
#' @param font_family default "", a character for the font family to use in the theme
#' @param line_size default 0.5, the line size to use for the theme
#' @param rel_small default 12/14, the scale factor to create a small font from the base font_size
#' @param rel_tiny default 11/14, the scale factor to create a tiny font from the base font_size
#' @param rel_large default 16/14, the scale factor to create a large font from the base font_size
#' @importFrom graphics plot
#' @return a ggplot2 theme object suitable for combining with ggplot objects to theme them
#' @export
#'
#' @examples
theme_civilytics <-
function (font_size = 14,
font_family = "",