Explorar el Código

Automated package maintenance (#71)

Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com>
tags/v0.4.1
github-actions[bot] hace 4 años
padre
commit
ad73c59080
Ninguna cuenta vinculada a la dirección de correo electrónico del committer
Se han modificado 20 ficheros con 25 adiciones y 37 borrados
  1. +9
    -13
      DESCRIPTION
  2. +1
    -1
      README.md
  3. +4
    -2
      index.md
  4. +0
    -1
      man/apply_alpha.Rd
  5. +0
    -1
      man/choose_dark_or_light.Rd
  6. BIN
      man/figures/index-theme_xaringan_demo-1.png
  7. +0
    -1
      man/lighten_darken_color.Rd
  8. +0
    -1
      man/scale_xaringan.Rd
  9. +1
    -1
      man/style_duo.Rd
  10. +1
    -1
      man/style_duo_accent.Rd
  11. +1
    -1
      man/style_duo_accent_inverse.Rd
  12. +1
    -1
      man/style_mono_accent.Rd
  13. +1
    -1
      man/style_mono_accent_inverse.Rd
  14. +1
    -1
      man/style_mono_dark.Rd
  15. +1
    -1
      man/style_mono_light.Rd
  16. +1
    -1
      man/style_solarized_dark.Rd
  17. +1
    -1
      man/style_solarized_light.Rd
  18. +1
    -1
      man/style_xaringan.Rd
  19. +0
    -1
      man/theme_xaringan_get_value.Rd
  20. +1
    -6
      man/xaringanthemer-package.Rd

+ 9
- 13
DESCRIPTION Ver fichero

@@ -3,17 +3,13 @@ Package: xaringanthemer
Title: Custom 'xaringan' CSS Themes
Version: 0.4.0.9000
Authors@R:
person(given = "Garrick",
family = "Aden-Buie",
role = c("aut", "cre"),
email = "garrick@adenbuie.com",
person("Garrick", "Aden-Buie", , "garrick@adenbuie.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7111-0077"))
Description: Create beautifully color-coordinated and customized
themes for your 'xaringan' slides, without writing any CSS. Complete
your slide theme with 'ggplot2' themes that match the font and colors
used in your slides. Customized styles can be created directly in
your slides' 'R Markdown' source file or in a separate external
script.
Description: Create beautifully color-coordinated and customized themes
for your 'xaringan' slides, without writing any CSS. Complete your
slide theme with 'ggplot2' themes that match the font and colors used
in your slides. Customized styles can be created directly in your
slides' 'R Markdown' source file or in a separate external script.
License: MIT + file LICENSE
URL: https://pkg.garrickadenbuie.com/xaringanthemer/,
https://github.com/gadenbuie/xaringanthemer
@@ -28,10 +24,10 @@ Imports:
utils,
whisker
Suggests:
mockery,
callr,
ggplot2,
knitr,
mockery,
rmarkdown,
scales,
showtext,
@@ -40,8 +36,8 @@ Suggests:
xaringan
VignetteBuilder:
knitr
Config/testthat/edition: 3
Config/Needs/website: pkgdown
Config/testthat/edition: 3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2

+ 1
- 1
README.md Ver fichero

@@ -40,6 +40,6 @@ remotes::install_github("gadenbuie/xaringanthemer")

## Features

There’s a lot more that **xaringanthemer** can do! [Discover
There’s a lot more that **xaringanthemer** can do\! [Discover
xaringanthemer’s
features.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)

+ 4
- 2
index.md Ver fichero

@@ -103,7 +103,7 @@ ggplot(diamonds) +
**xaringanthemer** is <kbd>Tab</kbd> friendly – [use autocomplete to
explore](#theme-settings) the [template
variables](vignettes/template-variables.md) that you can adjust in each
of the themes!
of the themes\!

<img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/example-rstudio-completion.gif" alt="Demonstration of argument auto-completion with RStudio" data-external="1" />

@@ -113,11 +113,13 @@ You can also skip the above and just create a *Ninja Themed
Presentation* from the New R Markdown Document menu in RStudio.

<center>

<img src="https://raw.githubusercontent.com/gadenbuie/xaringanthemer/assets/rmarkdown-template-screenshot.png" alt="The 'New R Markdown Document' menu in RStudio" data-external="1" />

</center>

## Features

There’s a lot more that **xaringanthemer** can do! [Discover
There’s a lot more that **xaringanthemer** can do\! [Discover
xaringanthemer’s
features.](https://pkg.garrickadenbuie.com/xaringanthemer/articles/xaringanthemer.html)

+ 0
- 1
man/apply_alpha.Rd Ver fichero

@@ -26,5 +26,4 @@ blue_transparent <- apply_alpha(blue)
if (requireNamespace("scales", quietly = TRUE)) {
scales::show_col(c(blue, blue_transparent))
}

}

+ 0
- 1
man/choose_dark_or_light.Rd Ver fichero

@@ -33,7 +33,6 @@ contrast_purple <- choose_dark_or_light(dark_purple)
if (requireNamespace("scales", quietly = TRUE)) {
scales::show_col(c(light_green, contrast_green, dark_purple, contrast_purple))
}

}
\references{
\url{https://stackoverflow.com/a/3943023/2022615}

BIN
man/figures/index-theme_xaringan_demo-1.png Ver fichero

Antes Después
Anchura: 1248  |  Altura: 528  |  Tamaño: 49KB Anchura: 1248  |  Altura: 528  |  Tamaño: 24KB

+ 0
- 1
man/lighten_darken_color.Rd Ver fichero

@@ -32,5 +32,4 @@ blue_dark <- darken_color(blue, strength = 0.33)
if (requireNamespace("scales", quietly = TRUE)) {
scales::show_col(c(blue_light, blue, blue_dark))
}

}

+ 0
- 1
man/scale_xaringan.Rd Ver fichero

@@ -149,5 +149,4 @@ if (has_ggplot2) {
# Fill color matches teal text
scale_xaringan_color_discrete(direction = -1)
}

}

+ 1
- 1
man/style_duo.Rd Ver fichero

@@ -447,7 +447,7 @@ colors.
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_duo_accent.Rd Ver fichero

@@ -466,7 +466,7 @@ accents on select elements (headers, bold text, etc.).
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_duo_accent_inverse.Rd Ver fichero

@@ -468,7 +468,7 @@ for color accents on select elements (headers, bold text, etc.).
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_mono_accent.Rd Ver fichero

@@ -451,7 +451,7 @@ accents on select elements (headers, bold text, etc.).
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_mono_accent_inverse.Rd Ver fichero

@@ -452,7 +452,7 @@ for color accents on select elements (headers, bold text, etc.).
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_mono_dark.Rd Ver fichero

@@ -452,7 +452,7 @@ A dark monotone theme based around a single color.
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_mono_light.Rd Ver fichero

@@ -452,7 +452,7 @@ A light monotone theme based around a single color.
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_solarized_dark.Rd Ver fichero

@@ -433,7 +433,7 @@ Works well with "\code{highlightStyle: solarized-dark}" or
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_solarized_light.Rd Ver fichero

@@ -433,7 +433,7 @@ Works well with "\code{highlightStyle: solarized-dark}" or
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 1
- 1
man/style_xaringan.Rd Ver fichero

@@ -443,7 +443,7 @@ font fallbacks.
To use the styles created by this theme function, make sure
that you use \code{xaringan-themer.css} as your CSS file in your slides' YAML
header. If you change the name of the output file using the \code{outfile}
argument, use that name instead of the default file name.\if{html}{\out{<div class="yaml">}}\preformatted{output:
argument, use that name instead of the default file name.\if{html}{\out{<div class="sourceCode yaml">}}\preformatted{output:
xaringan::moon_reader:
css: xaringan-themer.css
}\if{html}{\out{</div>}}

+ 0
- 1
man/theme_xaringan_get_value.Rd Ver fichero

@@ -103,5 +103,4 @@ theme_xaringan_get_value("text_color")
theme_xaringan_get_value("background_color")
theme_xaringan_get_value("header_color")
theme_xaringan_get_value("text_bold_color")

}

+ 1
- 6
man/xaringanthemer-package.Rd Ver fichero

@@ -8,12 +8,7 @@
\description{
\if{html}{\figure{logo.png}{options: align='right' alt='logo' width='120'}}

Create beautifully color-coordinated and customized
themes for your 'xaringan' slides, without writing any CSS. Complete
your slide theme with 'ggplot2' themes that match the font and colors
used in your slides. Customized styles can be created directly in
your slides' 'R Markdown' source file or in a separate external
script.
Create beautifully color-coordinated and customized themes for your 'xaringan' slides, without writing any CSS. Complete your slide theme with 'ggplot2' themes that match the font and colors used in your slides. Customized styles can be created directly in your slides' 'R Markdown' source file or in a separate external script.
}
\seealso{
Useful links:

Cargando…
Cancelar
Guardar