On 8 March 2022 at 18:01, Sebastian Meyer wrote:
| Not an expert here, but that does seem to be possible, according to WRE 
| (Section 4.3.2):
| 
| > It is possible to run all the examples, tests and vignettes covered by R 
CMD check under valgrind by using the option --use-valgrind. If you do this you 
will need to select the valgrind options some other way, for example by having 
a ~/.valgrindrc file containing
| > 
| > --leak-check=full
| > --track-origins=yes
| > 
| > or setting the environment variable VALGRIND_OPTS. As from R 4.2.0, 
--use-valgrind also uses valgrind when re-building the vignettes. 

Oh, a most excellent find, thank you.

I completely missed that towards the end of Section 4.3.2 in WRE.

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to