Sfoglia il codice sorgente

no rlang, use base warning

tags/v0.3.0
Garrick Aden-Buie 6 anni fa
parent
commit
74c4927910
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R Vedi 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…
Annulla
Salva