diff --git a/R/ggthemes-package.R b/R/ggthemes-package.R index b781d5e..058611a 100644 --- a/R/ggthemes-package.R +++ b/R/ggthemes-package.R @@ -1,17 +1,12 @@ -#' ggthemes -#' -#' This package contains extra themes, scales, and geoms, and -#' functions for and related to \pkg{ggplot2}. See -#' \url{https://jrnold.github.io/ggthemes/} for documentation. -#' -#' @name ggthemes -#' @docType package +#' @keywords internal +"_PACKAGE" + #' @importFrom ggplot2 ggplot theme ggproto aes draw_key_path #' @importFrom grid grobTree grobName gTree gList segmentsGrob gpar #' @importFrom scales manual_pal div_gradient_pal seq_gradient_pal #' @importFrom graphics abline axis text points #' @importFrom methods hasArg as #' @importFrom graphics par -"_PACKAGE" +NULL globalVariables(".data") diff --git a/_pkgdown.yml b/_pkgdown.yml index 616539e..b15f0cf 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,3 +1,6 @@ +template: + bootstrap: 5 + reference: - title: Themes contents: diff --git a/man/ggthemes.Rd b/man/ggthemes-package.Rd similarity index 65% rename from man/ggthemes.Rd rename to man/ggthemes-package.Rd index c021103..ae6bf7a 100644 --- a/man/ggthemes.Rd +++ b/man/ggthemes-package.Rd @@ -1,18 +1,17 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/ggthemes-package.R \docType{package} -\name{ggthemes} -\alias{ggthemes-package} +\name{ggthemes-package} \alias{ggthemes} -\title{ggthemes} +\alias{ggthemes-package} +\title{ggthemes: Extra Themes, Scales and Geoms for 'ggplot2'} \description{ -This package contains extra themes, scales, and geoms, and -functions for and related to \pkg{ggplot2}. See -\url{https://jrnold.github.io/ggthemes/} for documentation. +Some extra themes, geoms, and scales for 'ggplot2'. Provides 'ggplot2' themes and scales that replicate the look of plots by Edward Tufte, Stephen Few, 'Fivethirtyeight', 'The Economist', 'Stata', 'Excel', and 'The Wall Street Journal', among others. Provides 'geoms' for Tufte's box plot and range frame. } \seealso{ Useful links: \itemize{ + \item \url{https://jrnold.github.io/ggthemes/} \item \url{https://github.com/jrnold/ggthemes} \item Report bugs at \url{https://github.com/jrnold/ggthemes} } @@ -35,3 +34,4 @@ Other contributors: } } +\keyword{internal}