[R-pkg-devel] Failing Valgrind Passing R CMD check
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Wed Mar 9 01:24:07 CET 2022
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 | edd using debian.org
More information about the R-package-devel
mailing list