Re: [Rd] valgrind and C++

2014-03-18 Thread Jarrod Hadfield
Hi Martyn, Thanks for the email - you are right. I thought I was getting the valgrind checks on my submission, not the version on CRAN. Kind Regards, Jarrod Quoting Martyn Plummer on Tue, 18 Mar 2014 16:53:55 +: I think the server that runs the valgrind checks is still running the

Re: [Rd] valgrind and C++

2014-03-18 Thread Martyn Plummer
I think the server that runs the valgrind checks is still running the old version of your package (2.17) not the new one (2.18). Wait for an update. Martyn On Mon, 2014-03-17 at 17:26 +, Jarrod Hadfield wrote: > Hi, > > I am sorry if this is perceived as a C++ question rather than an R > q

[Rd] valgrind and C++

2014-03-17 Thread Jarrod Hadfield
Hi, I am sorry if this is perceived as a C++ question rather than an R question. After uploading an R library to CRAN (MCMCglmm) the C++ code failed to pass the memory checks. The errors come in pairs like: Mismatched free() / delete / delete [] at 0x4A077E6: free (vg_replace_malloc.c:446)