Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Yihui Xie
I mentioned the same thing a couple of months ago but didn't get a response: https://stat.ethz.ch/pipermail/r-devel/2019-May/04.html In your case of package vignettes, it is easy enough to suppress the messages via the knitr chunk option message = FALSE. However, I still wonder if it will be a

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Lenth, Russell V
Ben and Henrik, My package tends to load other packages ‘ namespaces on an as-needed basis, e.g. ggplot2 when a plotting function is called. I have been thinking I would use suppressMessages() in my code, but it is probably a better idea to instead have a setup chunk in each vignette that loads

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Henrik Singmann
Dear Russ, I had the same problem in my vignettes and setting both message and warning to FALSE seems to remove all unwanted output: ```{r message=FALSE, warning=FALSE} library("afex") library("ggplot2") library("cowplot") theme_set(theme_grey()) ``` Result: https://cran.r-project.org/web/packag

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Ben Bolker
Does setting message=FALSE in the chunk options of the vignette help? Or less preferably, using supressMessages() ? On 2019-07-23 9:36 a.m., Lenth, Russell V wrote: > Lionel, > > Thanks for your response. I understand that method overriding can be a > serious issue, but as you say, this i

Re: [Rd] [External] Re: quiet namespace load is noisy

2019-07-23 Thread Lenth, Russell V
Lionel, Thanks for your response. I understand that method overriding can be a serious issue, but as you say, this is not something that the user can act upon. Yet the message lands at the user’s feet. In my case, the messages are cluttering my package vignettes, and may or may not represent