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

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Wed Aug 23 20:54:02 CEST 2023


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

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list