Просмотр исходного кода

Automated package maintenance (#71)

Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com>
tags/v0.4.1
github-actions[bot] 4 лет назад
Родитель
Сommit
ad73c59080
Аккаунт пользователя с таким Email не найден
20 измененных файлов: 25 добавлений и 37 удалений
  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. Двоичные данные
      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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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}

Двоичные данные
man/figures/index-theme_xaringan_demo-1.png Просмотреть файл

Before After
Width: 1248  |  Height: 528  |  Size: 49KB Width: 1248  |  Height: 528  |  Size: 24KB

+ 0
- 1
man/lighten_darken_color.Rd Просмотреть файл

@@ -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 Просмотреть файл

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

}

+ 1
- 1
man/style_duo.Rd Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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 Просмотреть файл

@@ -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:

Загрузка…
Отмена
Сохранить