===============================
R CMD BUILD
===============================
* checking for file PloidyPeaks/DESCRIPTION ... OK
* preparing PloidyPeaks:
* checking DESCRIPTION meta-information ... OK
* installing the package (it is needed to build vignettes)
* creating vignettes ... ERROR
--- re-building ploidyPeaks.Rmd using rmarkdown
Quitting from ploidyPeaks.Rmd:396-408 [unnamed-chunk-23]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `method(update_ggplot, list(class_any, ggplot2::ggplot))`:
! Can't add `ggcyto::as.ggplot(gatedDataPlot)` to a <ggplot> object.
---
Backtrace:
1. PloidyPeaks::rectGateFlowFrame(...)
2. S7:::Ops.S7_object(ggcyto::as.ggplot(rawDataPlot), ggcyto::as.ggplot(gatedDataPlot))
3. base::tryCatch(return(base_ops[[.Generic]](e1, e2)), S7_error_method_not_found = function(cnd) cnd)
4. base (local) tryCatchList(expr, classes, parentenv, handlers)
5. base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
6. base (local) doTryCatch(return(expr), name, parentenv, handler)
7. base_ops[[.Generic]](e1, e2)
8. S7::S7_dispatch()
9. ggplot2 (local) `method(+, list(ggplot2::ggplot, class_any))`(...)
10. ggplot2:::add_ggplot(e1, e2, e2name)
11. ggplot2::ggplot_add(object, p, objectname)
12. ggplot2:::ggplot_add.default(object, p, objectname)
13. ggplot2::update_ggplot(object = object, plot = plot, ...)
14. S7::S7_dispatch()
15. ggplot2 (local) `method(update_ggplot, list(class_any, ggplot2::ggplot))`(object = `<ggplt2::>`, plot = `<ggplt2::>`, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ploidyPeaks.Rmd' failed with diagnostics:
Can't add `ggcyto::as.ggplot(gatedDataPlot)` to a <ggplot> object.
--- failed re-building ploidyPeaks.Rmd
SUMMARY: processing the following file failed:
ploidyPeaks.Rmd
Error: Vignette re-building failed.
Execution halted