Teun van den Brand
5071cb3d14
Use logical `NA` that can be cast to character ( #82 )
* use logical `NA` that can be cast to character
* chore: Use ggplot2's default color scale `na.value`
* chore: document()
* chore: Also set `na.value = "grey50"` in `scale_xaringan_discrete()`.
* chore: Add news item
---------
Co-authored-by: Garrick Aden-Buie <garrick@adenbuie.com>
il y a 11 mois
Garrick Aden-Buie
2d981e144e
v0.4.3 ( #81 )
* Increment version number to 0.4.3
* chore: add cran comments
* Fix indents and invisible characters (GitHub Actions)
* Re-build README.Rmd (GitHub Actions)
* Re-build index.Rmd (GitHub Actions)
* chore: urlchecker::url_update()
* chore: align and register s3 print methods
* tests: Update and fix tests
* docs: update link in thanks
---------
Co-authored-by: gadenbuie <gadenbuie@users.noreply.github.com>
il y a 1 an
Garrick Aden-Buie
66852c14e0
fix whitespace
il y a 4 ans
Garrick Aden-Buie
b271eaccb7
Set global or chunk fig.showtext = FALSE to keep from setting this option on load
For #36
il y a 5 ans
Garrick Aden-Buie
ddcbccf55c
Don't set `fig.showtext` if it's already set to `FALSE`
Fixes #36
il y a 5 ans
Garrick Aden-Buie
b9bea9db0d
Detect presence of {showtext} as default of `use_showtext` ( #56 )
Updates color examples and adds left-column headings demo to skeleton
il y a 5 ans
Garrick Aden-Buie
dd57776684
v0.3.3
il y a 5 ans
Garrick Aden-Buie
e5ecb0eca9
Fix #34
il y a 6 ans
Garrick Aden-Buie
7a5472a9ae
Add missing Rd tags, namely value/@eturn
il y a 6 ans
Garrick Aden-Buie
21c6d0e83f
Ask before downloading "Droid Serif" to a temporary file
il y a 6 ans
Garrick Aden-Buie
9e27e3522a
spellcheck
il y a 6 ans
Garrick Aden-Buie
d1d3042906
Link to ggplot2-themes vignette in various places
il y a 6 ans
Garrick Aden-Buie
f7284abf41
Change formatting of colorspace function links in roxygen
il y a 6 ans
Garrick Aden-Buie
b68578bb62
rethinking check
il y a 6 ans
Garrick Aden-Buie
74c4927910
no rlang, use base warning
il y a 6 ans
Garrick Aden-Buie
55fe9084c5
theme_xaringan() and friends accept google_fonts()s for font arguments
il y a 6 ans
Garrick Aden-Buie
d8ec41f343
Ensure that text_font reaches theme_xaringan_set_defaults() when set_ggplot_defaults == TRUE
il y a 6 ans
Garrick Aden-Buie
fc1b0610f3
suppress partial match warning from colorspace::sequential_hcl()
il y a 6 ans
Garrick Aden-Buie
c086ba95d8
Set plot title position to "plot" for ggplot2 >= 3.3.0
il y a 6 ans
Garrick Aden-Buie
78d38c2400
Add xaringanthemer_font_default()
Avoids note for long argument length and allows for more consistent checking if supplied arguments are default values
il y a 6 ans
Garrick Aden-Buie
5e55c5646c
Add examples to color functions
il y a 6 ans
Garrick Aden-Buie
aa7413b19d
Add missing theme declaration to scales examples
il y a 6 ans
Garrick Aden-Buie
899bb02f83
Add examples for scale_xaringan* functions
il y a 6 ans
Garrick Aden-Buie
3d8723e55f
ggplot2 theme features are maturing
il y a 6 ans
Garrick Aden-Buie
9fefdf5814
Don't rely on dot passing for theme_xarinan* functions
il y a 6 ans
Garrick Aden-Buie
85cd8124db
Add use_showtext option to theme_xaringan_base()
Fixes #31
il y a 6 ans
Garrick Aden-Buie
77271b9634
Fix function name used in errors in register_font() and get_theme_font()
il y a 6 ans
Garrick Aden-Buie
1e6e51422c
Set fig.showtext chunk option on package load and error loudly if fig.showtext = FALSE for a chunk with theme_xaringan()
il y a 6 ans
Garrick Aden-Buie
8fa287c256
Set background color of theme_xaringan_base plot example to match docs
il y a 6 ans
Garrick Aden-Buie
8f979684da
Update theme_xaringan* examples
il y a 6 ans
Garrick Aden-Buie
d87c8580b6
plot theme examples are interactive only
il y a 6 ans
Garrick Aden-Buie
2aecc9fc10
Move requires_package to r/utils.R and add tests
il y a 6 ans
Garrick Aden-Buie
8392cf653f
requires_xaringanthemer_env() doesn't have to check for theme elements
il y a 6 ans
Garrick Aden-Buie
802c2a557f
More ggplot tests, store font_is_google in pkg env
il y a 6 ans
Garrick Aden-Buie
c544647c20
Add full_length_hex() because ggplot needs #123abc
il y a 6 ans
Garrick Aden-Buie
d0c8a5b45b
Add css_file arg to theme_xaringan_inverse()
il y a 6 ans
Garrick Aden-Buie
d358596c70
Don't register default fonts with google if `google` is explicitly FALSE
il y a 6 ans
Garrick Aden-Buie
f95db77d76
download.files is from {utils}
il y a 6 ans
Garrick Aden-Buie
85f512caa9
Add base_font_size and convert font sizes to rem
Now, font size is inherited from `base_font_size` which should be in absolute units.
il y a 6 ans
Garrick Aden-Buie
13821a7004
work around droid serif being de-listed from google fonts
See google/fonts issue number 1223
il y a 6 ans
Garrick Aden-Buie
86f096b56c
Read and load css variables from xaringan css files
il y a 6 ans
Garrick Aden-Buie
46643574e3
Store whether font is from google fonts in css vars
il y a 6 ans
Garrick Aden-Buie
adc43779f9
More rcmd check fixes
* fix style of ggplot2, xaringan pkg refs
* fix name of theme_xaringan_restore_defaults()
il y a 6 ans
Garrick Aden-Buie
6ddb81e9c1
Fix a few rcmd check issues
il y a 6 ans
Garrick Aden-Buie
dac3f90311
grkstyle
il y a 6 ans
Garrick Aden-Buie
699d107292
mark ggplot2 themes and functions as experimental
il y a 6 ans
Garrick Aden-Buie
7202d2ab5a
Fixup scale_xaringan...()
il y a 7 ans
Garrick Aden-Buie
f642e56e7a
Fix scale_xaringan_discrete()
il y a 7 ans
Garrick Aden-Buie
2c836ff3c5
WIP adding scale_xaringan...
not working because {colorspace} doesn't force evaluation of
input arguments to scale_color_xxx_xxx() before passing down
to sequential_hcl()
il y a 7 ans
Garrick Aden-Buie
9f00685e46
Tweak documentation of theme_xaringan_get_value()
...and renamed from get_xaringanthemer_value()
il y a 7 ans