Skip to content
Prev 8492 / 12125 Next

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

Hello again,

thanks for the help. Here is a link to download the .tar.gz package:
https://uni-siegen.sciebo.de/s/Z9BKwutIPGMieGh
I followed the advice to scan the examples, source code and vignettes with the trace function for occurrences of the element_line call.

Results: Only when loading either the fbst package (which also loads rstanarm) or loading rstanarm any appearance of element_line is noticed by the tracer (see below). This is regardless of whether a size option is specified or not.
As mentioned earlier as a potential solution, rstanarm loads bayesplot and indeed two functions in bayesplot make use of the size option in ggplot2::element_line(). However, I do not use these functions but they are loaded when using library(rstanarm) I guess. I see no way to load rstanarm then. Any suggestions?
Lade n?tiges Paket: cubature
Lade n?tiges Paket: ks

Warnung: Paket ?ks? wurde unter R Version 4.0.5 erstellt
Lade n?tiges Paket: viridis
Lade n?tiges Paket: viridisLite

Lade n?tiges Paket: rstanarm

Lade n?tiges Paket: Rcpp
Registered S3 methods overwritten by 'htmltools':

method from print.html
tools:rstudio
print.shiny.tag

tools:rstudio
print.shiny.tag.list

tools:rstudio

Registered S3 method overwritten by 'htmlwidgets':

method from print.htmlwidget tools:rstudio
trace: element_line

trace: element_line

trace: element_line
trace: element_line

trace: element_line

trace: element_line

trace: element_line

This is rstanarm version 2.21.3
-

See https://mc-stan.org/rstanarm/articles/priors for changes to default priors!
-

Default priors may change, so it's safest to specify priors, even if equivalent to
the defaults.
- For execution on a local, multicore CPU with excess RAM we recommend

calling
options(mc.cores = parallel::detectCores())

Kind regards,
Riko
On Sep. 22 2022, at 5:05 pm, Alexandre Courtiol <alexandre.courtiol at gmail.com> wrote: