Skip to content

Unable to build package with vignette due to vignette code chunk 52 #2

@jranke

Description

@jranke

Hi Karline,

as written in another mail I find your package very useful. However, the vignette ccSolve.Rnw fails to build on my systems so that I cannot build the package using default options of R CMD build. When I want to build the package just in the normal way (but with LANG=C to get error messages in English), I get:

jranke@tux:~/git$ LANG=C R CMD build ccSolve
* checking for file 'ccSolve/DESCRIPTION' ... OK
* preparing 'ccSolve':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* installing the package to build vignettes
* creating vignettes ... ERROR
Loading required package: inline
Loading required package: deSolve
Loading required package: bvpSolve
Loading required package: rootSolve

Attaching package: 'bvpSolve'

The following object is masked from 'package:stats':

    approx

Loading required package: minpack.lm

Error: processing vignette 'ccSolve.Rnw' failed with diagnostics:
 chunk 52 
Error in print(system.time(sol <- bvptwp(x = x, func = cswirl, yini = yini,  : 
  error in evaluating the argument 'x' in selecting a method for function 'print': Error in bvpsolver(0, yini, x, func, yend, parms, order, ynames, xguess,  : 
  `func' must be a function or character vector
Calls: system.time -> bvptwp -> bvpsolver

Execution halted

Only when I do

jranke@tux:~/git$ LANG=C R CMD build ccSolve --no-build-vignettes
* checking for file 'ccSolve/DESCRIPTION' ... OK
* preparing 'ccSolve':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking vignette meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'ccSolve_0.1.tar.gz'

the build succeeds. This is on Linux (Debian Jessie), as well as on Windows 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions