Browse Source

no rlang, use base warning

tags/v0.3.0
Garrick Aden-Buie 6 years ago
parent
commit
74c4927910
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R View File

@@ -491,7 +491,7 @@ theme_xaringan_restore_defaults <- function() {

safely_set_geom <- function(geom, new) {
warn <- function(x) {
rlang::warn(x$message)
warning(x$message, call. = TRUE, immediate. = TRUE)
invisible()
}
tryCatch(

Loading…
Cancel
Save