Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-23 Thread Kelter, Riko
ee no way to solve this except for not using rstanarm which is inconvenient. Kind regards, Riko From: Alexandre Courtiol mailto:alexandre.court...@gmail.com)> Sent: 22 September 2022 14:06 To: Kelter, Riko Cc: r-package-devel@r-project.org (mailto:r-package-devel@r-project

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-23 Thread Riko Kelter
rrently see no way to solve this except for not using rstanarm which is inconvenient. Kind regards, Riko From: Alexandre Courtiol (mailto:alexandre.court...@gmail.com)> Sent: 22 September 2022 14:06 To: Kelter, Riko Cc: r-package-devel@r-project.org (mailto:r-package-devel@r-projec

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-23 Thread Duncan Murdoch
alexandre.court...@gmail.com)> Sent: 22 September 2022 14:06 To: Kelter, Riko Cc: r-package-devel@r-project.org (mailto:r-package-devel@r-project.org) Subject: Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package In rstanarm, the function posterior_vs_pr

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-23 Thread Riko Kelter
is except for > > not using rstanarm which is inconvenient. > > > > > > Kind regards, > > Riko > > > > > > > > > > > > > > > > From: Alexandre Courtiol > (mailto:alexandre.court...@gmail.com)> > > Sent: 22 Septe

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-22 Thread Alexandre Courtiol
gt; > Riko > > > > > > > -- > *From:* Alexandre Courtiol > *Sent:* 22 September 2022 14:06 > *To:* Kelter, Riko > *Cc:* r-package-devel@r-project.org > *Subject:* Re: [R-pkg-devel] Warning about ggplot although no ggplot is > used a

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-22 Thread Alexandre Courtiol
In rstanarm, the function posterior_vs_prior and pp_validate use bayesplot::grid_lines which is defined as: function (color = "gray50", size = 0.2) { theme(panel.grid.major = element_line(color = color, size = size), panel.grid.minor = element_line(color = color, size = size *

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-22 Thread Alexandre Courtiol
You could trace the ggplot function using trace(ggplot2::element_line) and then load the package and run your examples. Whenever the function is used in the background, it should tell you. ++ On Thu, 22 Sept 2022 at 13:40, Duncan Murdoch wrote: > On 21/09/2022 5:09 p.m., Riko Kelter wrote: > >

Re: [R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-22 Thread Duncan Murdoch
On 21/09/2022 5:09 p.m., Riko Kelter wrote: Hello everyone, I ran R CMD check --as-cran without any errors. However, when I run a check on the current version of r-devel I obtain the following strange error about some ggplot function: * installing *source* package 'fbst' ... ** using staged in

[R-pkg-devel] Warning about ggplot although no ggplot is used anywhere in the package

2022-09-22 Thread Riko Kelter
Hello everyone, I ran R CMD check --as-cran without any errors. However, when I run a check on the current version of r-devel I obtain the following strange error about some ggplot function: * installing *source* package 'fbst' ... ** using staged installation ** R ** inst ** byte-compile and pr