From pdalgd at gmail.com  Mon Oct 31 13:35:28 2011
From: pdalgd at gmail.com (peter dalgaard)
Date: Mon, 31 Oct 2011 13:35:28 +0100
Subject: [Rd] R CMD check and error in an \Sexpr in an Rd file
In-Reply-To: <4EAE9345.5000209@cbio.uct.ac.za>
References: <4EAAC0DF.7060704@cbio.uct.ac.za> <4EAAC1F3.8020505@gmail.com>
	<4EAAC96A.2020803@gmail.com> <4EAE90FC.7010200@cbio.uct.ac.za>
	<4EAE926B.6040102@statistik.tu-dortmund.de>
	<4EAE9345.5000209@cbio.uct.ac.za>
Message-ID: <312AD5D5-135F-417E-A157-69082C04FCE5@gmail.com>


On Oct 31, 2011, at 13:23 , Renaud Gaujoux wrote:

> I do not see it on main CRAN home page.
> Do you mean http://cran.r-project.org/src/base-prerelease/R-latest.tar.gz ?

Links need to be updated. Have a look in

http://cran.r-project.org/src/base/R-2

> 
> On 31/10/2011 14:19, Uwe Ligges wrote:
>> 
>> 
>> On 31.10.2011 13:13, Renaud Gaujoux wrote:
>>> Thank you Duncan.
>>> 
>>> I tried with:
>>> * using R version 2.14.0 RC (2011-10-24 r57417)
>>> * using platform: x86_64-unknown-linux-gnu (64-bit)
>>> 
>>> But I still get the errors for verbatim multiline and the strange error
>>> if an error occurs in \Sexpr.
>>> Is your patch included in this version? I will try now with
>>> R-rc_2011-10-27_r57452.tar.gz.
>> 
>> Try R-2.14.0, it is already released. Or R-devel.
>> 
>> Best,
>> Uwe Ligges
>> 
>> 
>>> 
>>> Renaud
>>> 
>>> On 28/10/2011 17:25, Duncan Murdoch wrote:
>>>> On 28/10/2011 10:53 AM, Duncan Murdoch wrote:
>>>>> On 28/10/2011 10:49 AM, Renaud Gaujoux wrote:
>>>>> > Hi,
>>>>> >
>>>>> > another Rd related issue I encountered is that if an error occurs
>>>>> in an
>>>>> > \Sexpr in an Rd file, then on get the following error:
>>>>> >
>>>>> > * checking for portable compilation flags in Makevars ... OK
>>>>> > * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
>>>>> > * checking examples ... ERROR
>>>>> > Error in paste(before, x, after, sep = "") : object 'exfile' not found
>>>>> > Execution halted
>>>>> >
>>>>> > To reproduce, put a call like this in an Rd section:
>>>>> >
>>>>> > \Sexpr[results=verbatim, stage=render]{x<- 1; stop("sexpr error")}
>>>>> >
>>>>> > The strange thing is that it occurs at the example checking step.
>>>>> > Not sure why it does not break before.
>>>>> >
>>>>> > Thank you.
>>>>> >
>>>>> > Renaud
>>>>> >
>>>>> > PS: I am on R version 2.13.2 (2011-09-30) - x86_64-pc-linux-gnu
>>>>> (64-bit)
>>>>> >
>>>>> 
>>>>> I would update to 2.13.2 patched, or the release candidate of 2.14.0.
>>>> 
>>>> Oops, sorry, 2.13.2 is "final", so I didn't backport the patch. 2.14.0
>>>> is what you should get.
>>>> 
>>>> Duncan Murdoch
>>> 
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] R CMD check and error in an \Sexpr in an Rd file
peter dalgaard