- using R version 4.1.2 (2021-11-01)
- using platform: x86_64-apple-darwin17.0 (64-bit)
- using session charset: UTF-8
- checking for file ‘localsolver/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘localsolver’ version ‘2.3’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘localsolver’ can be installed ... [2s/2s] OK
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/0s] ERROR
Running examples in ‘localsolver-Ex.R’ failed
The error most likely occurred in:
> ### Name: add.output.expr
> ### Title: Add expression to output of ls.problem.
> ### Aliases: add.output.expr
>
> ### ** Examples
>
> model.text.lsp <- lsp.model.example('extdata/knapsack.txt')
> lsp <- ls.problem(model.text.lsp)
sh: localsolver: command not found
Error in ls.problem(model.text.lsp) :
has.localsolver(ls.path) is not TRUE
Calls: ls.problem -> stopifnot
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘localsolver.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [1s/1s] WARNING
Error(s) in re-building vignettes:
...
--- re-building ‘localsolver.Rmd’ using knitr
sh: localsolver: command not found
Quitting from lines 66-68 (localsolver.Rmd)
Error: processing vignette 'localsolver.Rmd' failed with diagnostics:
has.localsolver(ls.path) is not TRUE
--- failed re-building ‘localsolver.Rmd’
SUMMARY: processing the following file failed:
‘localsolver.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 WARNING
- using check arguments '--no-clean-on-error '