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

Deploy from Github Actions build 132491683 [ci skip]

Build URL: https://github.com/gadenbuie/xaringanthemer/actions/runs/132491683
Commit: e5ecb0eca9
gh-pages
Garrick Aden-Buie 6 лет назад
Родитель
Сommit
e56c10f530
8 измененных файлов: 14 добавлений и 14 удалений
  1. +1
    -1
      pkgdown.yml
  2. Двоичные данные
      reference/theme_xaringan-1.png
  3. +3
    -3
      reference/theme_xaringan.html
  4. Двоичные данные
      reference/theme_xaringan_base-1.png
  5. Двоичные данные
      reference/theme_xaringan_base-2.png
  6. +7
    -7
      reference/theme_xaringan_base.html
  7. Двоичные данные
      reference/theme_xaringan_inverse-1.png
  8. +3
    -3
      reference/theme_xaringan_inverse.html

+ 1
- 1
pkgdown.yml Просмотреть файл

@@ -7,7 +7,7 @@ articles:
template-variables: template-variables.html
themes: themes.html
xaringanthemer: xaringanthemer.html
last_built: 2020-06-11T04:16Z
last_built: 2020-06-11T18:36Z
urls:
reference: https://pkg.garrickadenbuie.com/xaringanthemer//reference
article: https://pkg.garrickadenbuie.com/xaringanthemer//articles

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

Before After
Width: 1400  |  Height: 866  |  Size: 107KB Width: 1400  |  Height: 866  |  Size: 92KB

+ 3
- 3
reference/theme_xaringan.html Просмотреть файл

@@ -308,10 +308,10 @@ not available locally.</p></td>
)

<span class='fu'><a href='https://rdrr.io/r/base/library.html'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>iris</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>Petal.Length</span>, <span class='no'>Petal.Width</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mpg</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>cty</span>, <span class='no'>hwy</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>ggtitle</a></span>(<span class='st'>"Yet another Iris plot"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>ggtitle</a></span>(<span class='st'>"Fuel Efficiency of Various Cars"</span>) +
<span class='fu'>theme_xaringan</span>()
}</div><div class='img'><img src='theme_xaringan-1.png' alt='' width='700' height='433' /></div></pre>
</div>

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

Before After
Width: 1400  |  Height: 866  |  Size: 122KB Width: 1400  |  Height: 866  |  Size: 110KB

Двоичные данные
reference/theme_xaringan_base-2.png Просмотреть файл

Before After
Width: 1400  |  Height: 866  |  Size: 83KB Width: 1400  |  Height: 866  |  Size: 84KB

+ 7
- 7
reference/theme_xaringan_base.html Просмотреть файл

@@ -302,8 +302,8 @@ not available locally.</p></td>
<span class='kw'>if</span> (<span class='no'>has_ggplot2</span>) {
<span class='fu'><a href='https://rdrr.io/r/base/library.html'>library</a></span>(<span class='no'>ggplot2</span>)

<span class='no'>plot1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>iris</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>Petal.Length</span>, <span class='no'>Petal.Width</span>) +
<span class='no'>plot1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mpg</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>cty</span>, <span class='no'>hwy</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'>theme_xaringan_base</span>(
<span class='kw'>text_color</span> <span class='kw'>=</span> <span class='st'>"#602f6b"</span>, <span class='co'># imperial</span>
@@ -314,16 +314,16 @@ not available locally.</p></td>
<span class='kw'>set_ggplot_defaults</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>
) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(
<span class='kw'>title</span> <span class='kw'>=</span> <span class='st'>"Basic Iris Plot"</span>,
<span class='kw'>title</span> <span class='kw'>=</span> <span class='st'>"Fuel Efficiency of Various Cars"</span>,
<span class='kw'>subtitle</span> <span class='kw'>=</span> <span class='st'>"+ theme_xaringan_base()"</span>,
<span class='kw'>caption</span> <span class='kw'>=</span> <span class='st'>"xaringanthemer"</span>
)

<span class='fu'><a href='https://rdrr.io/r/base/print.html'>print</a></span>(<span class='no'>plot1</span>)

<span class='no'>plot2</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>iris</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>Sepal.Width</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_histogram.html'>geom_histogram</a></span>(<span class='kw'>binwidth</span> <span class='kw'>=</span> <span class='fl'>0.1</span>) +
<span class='no'>plot2</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mpg</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>hwy</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_histogram.html'>geom_histogram</a></span>(<span class='kw'>binwidth</span> <span class='kw'>=</span> <span class='fl'>2</span>) +
<span class='fu'>theme_xaringan_base</span>(
<span class='kw'>text_color</span> <span class='kw'>=</span> <span class='st'>"#a8a9c8"</span>, <span class='co'># light purple</span>
<span class='kw'>background_color</span> <span class='kw'>=</span> <span class='st'>"#303163"</span>, <span class='co'># deep slate purple</span>
@@ -333,7 +333,7 @@ not available locally.</p></td>
<span class='kw'>set_ggplot_defaults</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>
) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>labs</a></span>(
<span class='kw'>title</span> <span class='kw'>=</span> <span class='st'>"Basic Iris Plot"</span>,
<span class='kw'>title</span> <span class='kw'>=</span> <span class='st'>"Highway Fuel Efficiency"</span>,
<span class='kw'>subtitle</span> <span class='kw'>=</span> <span class='st'>"+ theme_xaringan_base()"</span>,
<span class='kw'>caption</span> <span class='kw'>=</span> <span class='st'>"xaringanthemer"</span>
)

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

Before After
Width: 1400  |  Height: 866  |  Size: 103KB Width: 1400  |  Height: 866  |  Size: 90KB

+ 3
- 3
reference/theme_xaringan_inverse.html Просмотреть файл

@@ -308,10 +308,10 @@ not available locally.</p></td>
)

<span class='fu'><a href='https://rdrr.io/r/base/library.html'>library</a></span>(<span class='no'>ggplot2</span>)
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>iris</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>Petal.Length</span>, <span class='no'>Petal.Width</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/ggplot.html'>ggplot</a></span>(<span class='no'>mpg</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/aes.html'>aes</a></span>(<span class='no'>cty</span>, <span class='no'>hwy</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/geom_point.html'>geom_point</a></span>() +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>ggtitle</a></span>(<span class='st'>"Yet another Iris plot"</span>) +
<span class='fu'><a href='https://ggplot2.tidyverse.org/reference/labs.html'>ggtitle</a></span>(<span class='st'>"Fuel Efficiency of Various Cars"</span>) +
<span class='co'># themed to match the inverse slides: teal background with dark blue text</span>
<span class='fu'>theme_xaringan_inverse</span>()
}</div><div class='img'><img src='theme_xaringan_inverse-1.png' alt='' width='700' height='433' /></div></pre>

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