Error(s) in re-building vignettes:
  ...
--- re-building ‘intro.rmd’ using rmarkdown
--- finished re-building ‘intro.rmd’

--- re-building ‘plots-for-Stat-paper.rmd’ using rmarkdown

Quitting from lines 16-20 [Packages] (plots-for-Stat-paper.rmd)
Error: processing vignette 'plots-for-Stat-paper.rmd' failed with diagnostics:
there is no package called 'ggplot2'
--- failed re-building ‘plots-for-Stat-paper.rmd’

--- re-building ‘test-Auto.rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/surveyCV.Rcheck/vign_test/surveyCV/vignettes/test-Auto_files/figure-html/unnamed-chunk-2-1.png
288x288 pixels, 8 bits/pixel, 249 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 3313 bytes
Input file size = 4150 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 2889
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 2889

Output IDAT size = 2889 bytes (424 bytes decrease)
Output file size = 2967 bytes (1183 bytes = 28.51% decrease)

** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/surveyCV.Rcheck/vign_test/surveyCV/vignettes/test-Auto_files/figure-html/unnamed-chunk-7-1.png
288x288 pixels, 8 bits/pixel, 256 colors in palette
Reducing image to 8 bits/pixel, grayscale
Input IDAT size = 5017 bytes
Input file size = 5875 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 4582
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 4582

Output IDAT size = 4582 bytes (435 bytes decrease)
Output file size = 4660 bytes (1215 bytes = 20.68% decrease)

--- finished re-building ‘test-Auto.rmd’

SUMMARY: processing the following file failed:
  ‘plots-for-Stat-paper.rmd’

Error: Vignette re-building failed.
Execution halted