===============================
R CMD BUILD
===============================
* checking for file ‘MetaboAnnotatoR/DESCRIPTION’ ... OK
* preparing ‘MetaboAnnotatoR’:
* checking DESCRIPTION meta-information ... OK
* installing the package (it is needed to build vignettes)
* creating vignettes ... ERROR
--- re-building ‘gen_library_entry.Rmd’ using rmarkdown
Warning in in_dir(input_dir(), expr) :
You changed the working directory to /tmp/RtmpfuJkNL (probably via setwd()). It will be restored to /tmp/RtmpotDioV/Rbuild78bc17050b7c3/MetaboAnnotatoR/vignettes. See the Note section in ?knitr::knit
--- finished re-building ‘gen_library_entry.Rmd’
--- re-building ‘import_from_msp.Rmd’ using rmarkdown
Warning in in_dir(input_dir(), expr) :
You changed the working directory to /tmp/RtmpfuJkNL (probably via setwd()). It will be restored to /tmp/RtmpotDioV/Rbuild78bc17050b7c3/MetaboAnnotatoR/vignettes. See the Note section in ?knitr::knit
--- finished re-building ‘import_from_msp.Rmd’
--- re-building ‘introduction.Rmd’ using rmarkdown
Warning in in_dir(input_dir(), expr) :
You changed the working directory to /tmp/RtmpfuJkNL (probably via setwd()). It will be restored to /tmp/RtmpotDioV/Rbuild78bc17050b7c3/MetaboAnnotatoR/vignettes. See the Note section in ?knitr::knit
Quitting from introduction.Rmd:66-72 [lipids_example]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `seq.default()`:
! wrong sign in 'by' argument
---
Backtrace:
▆
1. └─MetaboAnnotatoR::annotateRC(...)
2. └─MetaboAnnotatoR::searchLib(...)
3. ├─base::seq(1, length(libfiles), 1)
4. └─base::seq.default(1, length(libfiles), 1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'introduction.Rmd' failed with diagnostics:
wrong sign in 'by' argument
--- failed re-building ‘introduction.Rmd’
SUMMARY: processing the following file failed:
‘introduction.Rmd’
Error: Vignette re-building failed.
Execution halted