Re: [R-pkg-devel] A problem with Sweave in developing a package vignette

2017-11-24 Thread Duncan Murdoch
On 24/11/2017 12:34 PM, Magnus Peterson wrote: I am using Sweave to create a vignette for a package, but when it appears in a code chunk of the .Rnw file the following line causes an execution halt of Sweave:- data("WingPoints",envir = environment(())) This is surprising since this data call as

[R-pkg-devel] A problem with Sweave in developing a package vignette

2017-11-24 Thread Magnus Peterson
I am using Sweave to create a vignette for a package, but when it appears in a code chunk of the .Rnw file the following line causes an execution halt of Sweave:- data("WingPoints",envir = environment(())) This is surprising since this data call as a line of a function within the package is acce