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

Riko Kelter r|ko@ke|ter @end|ng |rom un|-@|egen@de
Wed Sep 21 23:09:41 CEST 2022


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 prepare package for lazy loading
Warning message:
The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0.
Please use the `linewidth` argument instead.
The weird thing is: Although my package fbst depends on the package rstanarm which itself imports ggplot,
(1) no package code uses ggplot in any form,
(2) no examples use any ggplot commands and
(3) no vignette uses any ggplot command.

Logs are available at https://win-builder.r-project.org/CX36AbHDU6Tl/
I am thankful for any suggestion why this error occurs.
All the best and kind regards,
Riko


	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list