No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
7 changed files with
13 additions and
5 deletions
-
.Rbuildignore
-
DESCRIPTION
-
R/ft.R
-
R/ipsum-pdf.R
-
R/modern.r
-
R/scales.r
-
man/scale_x_percent.Rd
|
|
@ -1,3 +1,4 @@ |
|
|
|
^\.github |
|
|
|
^CRAN-RELEASE$ |
|
|
|
^.*\.Rproj$ |
|
|
|
^\.Rproj\.user$ |
|
|
|
|
|
@ -2,7 +2,7 @@ Package: hrbrthemes |
|
|
|
Type: Package |
|
|
|
Title: Additional Themes, Theme Components and Utilities for 'ggplot2' |
|
|
|
Version: 0.8.0 |
|
|
|
Date: 2020-02-25 |
|
|
|
Date: 2020-03-05 |
|
|
|
Authors@R: c( |
|
|
|
person("Bob", "Rudis", email = "bob@rud.is", role = c("aut", "cre"), |
|
|
|
comment = c(ORCID = "0000-0001-5670-2640")), |
|
|
@ -44,7 +44,7 @@ Suggests: |
|
|
|
vdiffr, |
|
|
|
svglite |
|
|
|
Depends: |
|
|
|
R (>= 3.2.0) |
|
|
|
R (>= 3.4.0) |
|
|
|
Imports: |
|
|
|
ggplot2 (>= 3.3.0), |
|
|
|
grDevices, |
|
|
|
|
|
@ -21,7 +21,6 @@ white = "#ffffff" |
|
|
|
#' @export |
|
|
|
ft_text_col <- "#929299" |
|
|
|
|
|
|
|
#' @inheritParams hrbrthemes::theme_ipsum_rc |
|
|
|
#' @rdname theme_ipsum_rc |
|
|
|
#' @export |
|
|
|
theme_ft_rc <- function (base_family = "Roboto Condensed", base_size = 11.5, |
|
|
|
|
|
@ -2,7 +2,6 @@ |
|
|
|
#' |
|
|
|
#' Template for creating an R markdown documents with an emphasis on typography |
|
|
|
#' |
|
|
|
#' @inheritParams rmarkdown::pdf_document |
|
|
|
#' @param ... Arguments to \code{rmarkdown::pdf_document} |
|
|
|
#' |
|
|
|
#' @return R Markdown output format to pass to \code{\link[rmarkdown:render]{render}} |
|
|
|
|
|
@ -1,4 +1,3 @@ |
|
|
|
#' @inheritParams hrbrthemes::theme_ipsum_rc |
|
|
|
#' @rdname theme_ipsum_rc |
|
|
|
#' @export |
|
|
|
theme_modern_rc <- function (base_family = "Roboto Condensed", base_size = 11.5, |
|
|
|
|
|
@ -27,6 +27,10 @@ is.formula <- function (x) { inherits(x, "formula") } |
|
|
|
#' each major break) |
|
|
|
#' - A numeric vector of positions |
|
|
|
#' - A function that given the limits returns a vector of minor breaks. |
|
|
|
#' @param guide guide A function used to create a guide or its name. See [guides()] for more information. |
|
|
|
#' @param n.breaks An integer guiding the number of major breaks. The algorithm may choose a |
|
|
|
#' slightly different number to ensure nice break labels. Will only have an effect if |
|
|
|
#' `breaks = waiver()`. Use NULL to use the default number of breaks given by the transformation. |
|
|
|
#' @param labels Specifying overrides the default format (i.e. you really don't |
|
|
|
#' want to do that). `NULL` means no labels. |
|
|
|
#' @param limits A numeric vector of length two providing limits of the scale. |
|
|
|
|
|
@ -128,6 +128,12 @@ each major break) |
|
|
|
\item A function that given the limits returns a vector of minor breaks. |
|
|
|
}} |
|
|
|
|
|
|
|
\item{guide}{guide A function used to create a guide or its name. See \code{\link[=guides]{guides()}} for more information.} |
|
|
|
|
|
|
|
\item{n.breaks}{An integer guiding the number of major breaks. The algorithm may choose a |
|
|
|
slightly different number to ensure nice break labels. Will only have an effect if |
|
|
|
\code{breaks = waiver()}. Use NULL to use the default number of breaks given by the transformation.} |
|
|
|
|
|
|
|
\item{labels}{Specifying overrides the default format (i.e. you really don't |
|
|
|
want to do that). \code{NULL} means no labels.} |
|
|
|
|
|
|
|