Parcourir la source

no rlang, use base warning

tags/v0.3.0
Garrick Aden-Buie il y a 6 ans
Parent
révision
74c4927910
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R Voir le fichier

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

Chargement…
Annuler
Enregistrer