-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning with R 3.6
#669
Comments
Ah, interesting, thanks! We just need to remove those methods from ggplot2 once rlang 0.3.0 is on CRAN. @hadley Seems like overwriting S3 methods has finally become verbose. |
Until this is implemented, what can I do so that my package won't clutter the terminal with all these messages (I am getting similar things from |
What similar thing are you getting from dplyr? This is not high priority because R 3.6 is still a long ways from being released. |
For
Completely understandable that this is not a high priority. But I'd still like to not have these messages on my local system with |
These are messages so you can use |
But in the context of a package where can I add So, for example, this is what I get with
|
You can use it like this: Your users are not going to see the messages because we'll fix them before R 3.6 is out. |
Ah, fair point! Thank you very much. |
And depend on rlang >= 0.3.0 Closes r-lib/rlang#669
And depend on rlang >= 0.3.0 Closes r-lib/rlang#669
Since the release of library(rlang)
library(ggplot2)
#> Registered S3 methods overwritten by 'ggplot2':
#> method from
#> [.quosures rlang
#> c.quosures rlang
#> print.quosures rlang Created on 2019-04-10 by the reprex package (v0.2.1.9000) Session infodevtools::session_info()
#> - Session info ----------------------------------------------------------
#> setting value
#> version R version 3.6.0 alpha (2019-03-29 r76300)
#> os Windows 10 x64
#> system x86_64, mingw32
#> ui RTerm
#> language (EN)
#> collate English_United States.1252
#> ctype English_United States.1252
#> tz America/New_York
#> date 2019-04-10
#>
#> - Packages --------------------------------------------------------------
#> package * version date lib
#> assertthat 0.2.1 2019-03-21 [1]
#> backports 1.1.4 2019-04-10 [1]
#> callr 3.2.0 2019-03-15 [1]
#> cli 1.1.0 2019-03-19 [1]
#> colorspace 1.4-1 2019-03-18 [1]
#> crayon 1.3.4 2017-09-16 [1]
#> desc 1.2.0 2019-04-03 [1]
#> devtools 2.0.2 2019-04-08 [1]
#> digest 0.6.18 2018-10-10 [1]
#> dplyr 0.8.0.9009 2019-03-15 [1]
#> evaluate 0.13 2019-02-12 [1]
#> fs 1.2.7 2019-03-19 [1]
#> ggplot2 * 3.1.1 2019-04-07 [1]
#> glue 1.3.1 2019-03-12 [1]
#> gtable 0.3.0 2019-03-25 [1]
#> highr 0.8 2019-03-20 [1]
#> htmltools 0.3.6 2017-04-28 [1]
#> knitr 1.22.8 2019-04-08 [1]
#> lazyeval 0.2.2 2019-03-15 [1]
#> magrittr 1.5 2014-11-22 [1]
#> memoise 1.1.0 2017-04-21 [1]
#> munsell 0.5.0 2018-06-12 [1]
#> pillar 1.3.1 2018-12-15 [1]
#> pkgbuild 1.0.3 2019-03-20 [1]
#> pkgconfig 2.0.2 2018-08-16 [1]
#> pkgload 1.0.2 2018-10-29 [1]
#> plyr 1.8.4 2016-06-08 [1]
#> prettyunits 1.0.2 2015-07-13 [1]
#> processx 3.3.0 2019-03-10 [1]
#> ps 1.3.0 2018-12-21 [1]
#> purrr 0.3.2 2019-03-15 [1]
#> R6 2.4.0 2019-02-14 [1]
#> Rcpp 1.0.1 2019-03-17 [1]
#> remotes 2.0.4 2019-04-10 [1]
#> rlang * 0.3.4 2019-04-07 [1]
#> rmarkdown 1.12.3 2019-03-25 [1]
#> rprojroot 1.3-2 2018-01-03 [1]
#> scales 1.0.0 2018-08-09 [1]
#> sessioninfo 1.1.1 2018-11-05 [1]
#> stringi 1.4.3 2019-03-12 [1]
#> stringr 1.4.0 2019-02-10 [1]
#> testthat 2.0.1 2018-10-13 [1]
#> tibble 2.1.1 2019-03-16 [1]
#> tidyselect 0.2.5 2018-10-11 [1]
#> usethis 1.5.0 2019-04-07 [1]
#> withr 2.1.2 2018-03-15 [1]
#> xfun 0.6 2019-04-02 [1]
#> yaml 2.2.0 2018-07-25 [1]
#> source
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> Github (r-lib/desc@c860e7b)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> Github (tidyverse/dplyr@df735d1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> Github (yihui/knitr@6103edd)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.3)
#> Github (rstudio/rmarkdown@503cc5f)
#> CRAN (R 3.5.1)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#> CRAN (R 3.6.0)
#> CRAN (R 3.5.1)
#>
#> [1] C:/Users/inp099/Documents/R/win-library/3.6
#> [2] C:/Program Files/R/R-3.6.0alpha/library |
They might have released off-branch. |
+1 that I'm seeing these messages pop up again on R 3.6. |
This is a ggplot2 issue. |
Not a solution, but still perhaps helpful: the messages can be muted by setting the |
I'm getting similar messages with mailR when I run library(mailR). mailR version is 0.6 The details are |
@GeraldCNelson This is purely between the |
This may be true for this particular example with R.oo and R.methodsS3, but it seems like most of the packages I run now have this same message. Here's one for Rselenium.
|
This is because these packages don't prefix their class with the package name (e.g. If we were writing rlang now, we'd use |
What process should we (I) follow to get rid of these?
Is there any way to send out a message to all the relevant authors to revise their packages as you suggested? |
2 would be ideal but this might be a highly breaking change as all methods written by downstream packages will need to be renamed as well. |
Is this something that could be fixed in R3.6.1. It seems like the change that created these messages was made in R3.6. I suppose though that the messages will prompt enough issue reports to authors that they will make the changes. Can you suggest some language to put in an issue report on GitHub for those of us who don't really understand the problem? |
There were always collisions, they just were silent. So I don't think R should remove the message. I would say something like this:
|
I figured that was the case. Thanks for the text to nudge package authors with! |
I am getting a similar message with ez on R 3.6.0
|
This has nothing to do with There is already issue at |
I have noted that if I have the code if (requireNamespace("ggplot2", quietly = TRUE)) {
...
} then the messages shown in the first comment on this thread appear. However, |
|
``` Registered S3 methods overwritten by 'ggplot2': method from [.quosures rlang c.quosures rlang print.quosures rlang ``` r-lib/rlang#669.
With the development version of
R 3.6
I am getting the following warning once per session. Is this expected? Wasn't getting any such warning with3.5
, so just wanted to raise this issue before the next release.The text was updated successfully, but these errors were encountered: