put ggplot2 in Suggests:
see 1.1.3 of https://cran.r-project.org/doc/manuals/r-release/R-exts.html
The ‘Suggests’ field uses the same syntax as ‘Depends’ and lists packages
that are not necessarily needed. This includes packages used only in
examples, tests or vignettes (see Writing package vigne
I believe this type of dependency belongs in the Suggests: field of the
DESCRIPTION file.
Lori Shepherd
Bioconductor Core Team
Roswell Park Cancer Institute
Department of Biostatistics & Bioinformatics
Elm & Carlton Streets
Buffalo, New York 14263
From: Bi