[R] Problem with latex when checking a package
Leandro Roser
learoser at gmail.com
Fri Jan 16 06:56:11 CET 2015
Hi, Richard. I was putting some piece of code in a wrong section
(description). After correcting that, I have no more errors.
Many tanks for your help,
Leandro.
2015-01-16 1:59 GMT-03:00 Richard M. Heiberger <rmh at temple.edu>:
> You didn't show your code, so this is a guess.
>
> My guess is that the \dontrun{} is outside the \examples{} section.
> It must be inside the \examples{} section.
>
> This is right
>
> \examples{
> abc <- 123
> \dontrun{
> def <- 456
> }
> ghi <- 789
> }
>
> This is my guess as to what you did.
> \examples{
> abc <- 123
> ghi <- 789
> }
> \dontrun{
> def <- 456
> }
>
> Rich
>
> On Thu, Jan 15, 2015 at 10:31 PM, Leandro Roser <learoser at gmail.com> wrote:
>> Hello everyone. I'm checking a package in Windows 8.1, and when the
>> program starts to create the PDF manual, exits with status 1, printing
>> the following message:
>>
>>
>> # End(Not run)
>> Sorry, but I'm not programmed to handle this case;
>> I'll just pretend that you didn't ask for it.
>> ! You can't use `macro parameter character #' in vertical mode.
>> l.164 ##
>>
>>
>> I think the program is having problems with the \dontrun{} sections
>> when creating the PDF. Does anyone know how to solve this problem?
>>
>> Thanks in advance,
>>
>>
>>
>> --
>> Lic. Leandro Gabriel Roser
>> Laboratorio de Genética
>> Dto. de Ecología, Genética y Evolución,
>> F.C.E.N., U.B.A.,
>> Ciudad Universitaria, PB II, 4to piso,
>> Nuñez, Cdad. Autónoma de Buenos Aires,
>> Argentina.
>> tel ++54 +11 4576-3300 (ext 219)
>> fax ++54 +11 4576-3384
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
--
Lic. Leandro Gabriel Roser
Laboratorio de Genética
Dto. de Ecología, Genética y Evolución,
F.C.E.N., U.B.A.,
Ciudad Universitaria, PB II, 4to piso,
Nuñez, Cdad. Autónoma de Buenos Aires,
Argentina.
tel ++54 +11 4576-3300 (ext 219)
fax ++54 +11 4576-3384
More information about the R-help
mailing list