[R-pkg-devel] Error handling in C code

2024-05-03 Thread Jarrod Hadfield
Hi, I have an R library with C code in it. It has failed the CRAN checks for Debian. The problem is with the error function being undefined. Section 6.2 of the Writing R extensions (see below) suggests error handling can be handled by error and the appropriate header file is included in R.h, b

Re: [R-pkg-devel] Error handling in C code

2024-05-06 Thread Jarrod Hadfield
:38 To: Jarrod Hadfield Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Error handling in C code This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe. Jarrod

[R-pkg-devel] Sweave vignette and bibtex

2021-01-06 Thread Jarrod Hadfield
Hi, I have a Sweave vignette in a package I have written. When building, the citations are not put into the pdf - perhaps because two passes of the tex file are required but only one is executed. Is there a way to force two passes of the tex file? Kind Regards, Jarrod The University of Edinbur

Re: [R-pkg-devel] Sweave vignette and bibtex

2021-01-06 Thread Jarrod Hadfield
ou by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe. Dear Jarrod It works for me with Sweave so perhaps we need some more details. Michael On 06/01/2021 11:20, Jarrod Hadfield wrote: Hi, I have a S