Re: [Rd] R CMD build fails with try(stop()) in vignette

2007-04-12 Thread Friedrich Leisch
> On Thu, 12 Apr 2007 07:35:28 -0500 (CDT), > Luke Tierney (LT) wrote: > On Thu, 12 Apr 2007, Friedrich Leisch wrote: >>> On Wed, 11 Apr 2007 17:28:31 -0500 (CDT), >>> Luke Tierney (LT) wrote: >> >> > It would appear that printing the error message to stderr() is what is

Re: [Rd] R CMD build fails with try(stop()) in vignette

2007-04-12 Thread Luke Tierney
On Thu, 12 Apr 2007, Friedrich Leisch wrote: >> On Wed, 11 Apr 2007 17:28:31 -0500 (CDT), >> Luke Tierney (LT) wrote: > > > It would appear that printing the error message to stderr() is what is > > causing the build to fail; replace > > >try(stop('err')) > > > with > > >cat('

Re: [Rd] R CMD build fails with try(stop()) in vignette

2007-04-12 Thread Friedrich Leisch
> On Wed, 11 Apr 2007 17:28:31 -0500 (CDT), > Luke Tierney (LT) wrote: > It would appear that printing the error message to stderr() is what is > causing the build to fail; replace > try(stop('err')) > with > cat('Error in try(stop("err")) : err\n', file = stderr())

Re: [Rd] R CMD build fails with try(stop()) in vignette

2007-04-11 Thread Luke Tierney
It would appear that printing the error message to stderr() is what is causing the build to fail; replace try(stop('err')) with cat('Error in try(stop("err")) : err\n', file = stderr()) and I get the same failure. Best, luke On Wed, 11 Apr 2007, Martin Morgan wrote: > A vign

[Rd] R CMD build fails with try(stop()) in vignette

2007-04-11 Thread Martin Morgan
A vignette in /inst/doc with \documentclass[]{article} \begin{document} <>= try(stop('err')) @ \end{document} produces an error with R CMD build : ... ** building package indices ... * DONE (testPkg) * creating vignettes ... ERROR Error in try(stop("err")) : err This is not seen with Sweave al