RGLab / FAUST

Full annotation using shape-constrained trees
GNU General Public License v3.0
26 stars 6 forks source link

Make PFDA vignette not stop on error #21

Open MiguelRodo opened 2 years ago

MiguelRodo commented 2 years ago

Running on CentOS 7 with R 4.1.2 with fully-updated packages on 2022 March 17 produced the following error

   --- re-building ‘faustPFDA.Rmd’ using rmarkdown
   Quitting from lines 426-439 (faustPFDA.Rmd) 
   Error: processing vignette 'faustPFDA.Rmd' failed with diagnostics:
   Downdated VtV is not positive definite
   --- failed re-building ‘faustPFDA.Rmd’

when building vignettes on install, which blocked the install. To allow the Rmd to complete even with the error (and allow at least to see part of that vignette and the other two vignettes when installing with vignettes), I added error = TRUE as an argument to knitr::opts_chunk$set.

Of course, it would be better to fix the error, but this at least allows installation with two out of three vignettes.

Attached is a PDF of the output from running the PFDA vignette. FAUST PFDA.pdf