Skip to content
Prev 2030 / 12125 Next

[R-pkg-devel] Package valgrind problem I can't solve: Direction?

Impossible or not? it just happened (unless I am being really stupid, which is entirely possible, indeed probable).  I confirmed again this morning: After rebuilding (R CMD build) and checking (R CMD check) without any errors, I used rhub and the command line again:


Running valgrind at the command line, I get this error:

==5097== Conditional jump or move depends on uninitialised value(s)
==5097==    at 0x1118F61FB: smallp_ (in /Users/pdunn2/Library/R/3.4/library/tweedie/libs/tweedie.so)

?when I am here:

$ pwd
/Users/pdunn2/Documents/Research/Rpackages/tweedie/tweedie-debug/CRAN-update/tweedie.Rcheck



In rhub:

check_with_valgrind("tweedie")

gives:

?? 0 errors ? | 0 warnings ? | 0 notes ?
?  Done with R CMD check
?  Saving artifacts

?when I am here:
[1] "/Users/pdunn2/Documents/Research/Rpackages/tweedie/tweedie-debug/CRAN-update"




I will take this to mean that there really is no problem? and put this down to things I don?t understand and ?experience?.

Thanks for everyone?s help.

P.

From: I?aki ?car <i.ucar86 at gmail.com>
Date: Friday, 3 November 2017 at 7:45 pm
To: Peter Dunn <PDunn2 at usc.edu.au>
Cc: "r-package-devel at r-project.org" <r-package-devel at r-project.org>
Subject: Re: [R-pkg-devel] Package valgrind problem I can't solve: Direction?

2017-11-03 6:01 GMT+01:00 Peter Dunn <PDunn2 at usc.edu.au>:
That's impossible. Did you rebuild and reinstall the package after
making those changes?

I?aki



USC, Locked Bag 4, Maroochydore DC, Queensland, 4558 Australia.
CRICOS Provider No: 01595D
Please consider the environment before printing this email.
This email is confidential. If received in error, please delete it from your system.