##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Resources/bin/R CMD build --keep-empty-dirs --no-resave-data phemd
###
##############################################################################
##############################################################################


* checking for file ‘phemd/DESCRIPTION’ ... OK
* preparing ‘phemd’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘phemd.Rmd’ using rmarkdown

Quitting from lines  at lines 72-74 [unnamed-chunk-4] (phemd.Rmd)
Error: processing vignette 'phemd.Rmd' failed with diagnostics:
invalid class "Phemd" object: invalid object for slot "version" in class "Phemd": got class "S4", should be or extend class "package_version"
--- failed re-building ‘phemd.Rmd’

SUMMARY: processing the following file failed:
  ‘phemd.Rmd’

Error: Vignette re-building failed.
Execution halted