浏览代码

no rlang, use base warning

tags/v0.3.0
父节点
当前提交
74c4927910
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R 查看文件

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

正在加载...
取消
保存