Skip to content
Prev 9468 / 12125 Next

[R-pkg-devel] Setting valgrind options when running R CMD check --use-valgrind

When I invoke valgrind via
   R -d valgrind -e '...'
the options in the file ~/.valgrindrc are being picked up. Good.

When I invok valgrind via
   R CMD check --use-valgrind ...
the options in the file ~/.valgrindrc are NOT being picked up. Bad.

And valgrind complains.  How can I add the needed options?  Adding
   --debugger-args="...."
does not work.  Is there another trick?

Dirk