* using log directory 'd:/Rcompile/CRANpkg/local/4.3/DRviaSPCN.Rcheck'
* using R Under development (unstable) (2022-08-11 r82713 ucrt)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: UTF-8
* checking for file 'DRviaSPCN/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'DRviaSPCN' version '0.1.2'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'DRviaSPCN' can be installed ... ERROR
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.3/DRviaSPCN.Rcheck/00install.out' for details.
* DONE
The installation logfile:
* installing *source* package 'DRviaSPCN' ...
** package 'DRviaSPCN' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called 'ggplot2'
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package 'DRviaSPCN'
* removing 'd:/Rcompile/CRANpkg/lib/4.3/DRviaSPCN'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/DRviaSPCN'