diff --git a/NAMESPACE b/NAMESPACE index d75f824..08c223f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1 +1,8 @@ -exportPattern("^[[:alpha:]]+") +# Generated by roxygen2: do not edit by hand + +export(norad_pal) +export(scale_color_norad) +export(scale_color_norad_c) +export(scale_fill_norad) +export(scale_fill_norad_c) +export(theme_norad) diff --git a/R/palette_functions.R b/R/palette_functions.R index a63c809..75e07e8 100644 --- a/R/palette_functions.R +++ b/R/palette_functions.R @@ -37,6 +37,7 @@ norad_cols <- function(...) { #' #' @param palette Character name of palette in norad_palettes #' @param ... Additional arguments +#' @export #' norad_pal <- function(palette = "main", ...) { @@ -103,6 +104,7 @@ palette_gen_c <- function(palette = "main", direction = 1, ...) { #' @param palette Character name of palette in norad_palettes #' @param direction Integer indicating whether the palette should be reversed #' @param ... Additional arguments passed to discrete_scale() +#' @export #' scale_color_norad <- function(palette = "main", direction = 1, ...) { @@ -119,6 +121,7 @@ scale_color_norad <- function(palette = "main", direction = 1, ...) { #' @param palette Character name of palette in norad_palettes #' @param direction Integer indicating whether the palette should be reversed #' @param ... Additional arguments passed to discrete_scale() +#' @export #' scale_fill_norad <- function(palette = "main", direction = 1, ...) { @@ -134,6 +137,7 @@ scale_fill_norad <- function(palette = "main", direction = 1, ...) { #' @param palette Character name of palette in norad_palettes #' @param direction Integer indicating whether the palette should be reversed #' @param ... Additional arguments passed to discrete_scale() +#' @export #' scale_color_norad_c <- function(palette = "greenyellow", direction = 1, ...) { @@ -149,6 +153,7 @@ scale_color_norad_c <- function(palette = "greenyellow", direction = 1, ...) { #' @param palette Character name of palette in norad_palettes #' @param direction Integer indicating whether the palette should be reversed #' @param ... Additional arguments passed to discrete_scale() +#' @export #' scale_fill_norad_c <- function(palette = "greenyellow", direction = 1, ...) { diff --git a/R/style_functions.R b/R/style_functions.R index 631b453..0051e9b 100644 --- a/R/style_functions.R +++ b/R/style_functions.R @@ -1,5 +1,5 @@ #' Function for using Norad's theme in ggplot2 graphics -#' +#'@export #'@name theme_norad sysfonts::font_add_google(name = "Arimo") sysfonts::font_add_google(name = "EB Garamond")