Ver código fonte

no rlang, use base warning

tags/v0.3.0
Garrick Aden-Buie 6 anos atrás
pai
commit
74c4927910
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R Ver arquivo

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

Carregando…
Cancelar
Salvar