r-lib / rcmdcheck

Run R CMD check from R and collect the results
https://rcmdcheck.r-lib.org
Other
115 stars 27 forks source link

Set _R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_ to true #219

Open Bisaloo opened 10 months ago

Bisaloo commented 10 months ago

This is based on my understanding of R source code, and some tests we ran in https://github.com/epiverse-trace/serofoi/pull/134.

https://github.com/wch/r-source/blob/b12ffba7584825d6b11bba8b7dbad084a74c1c20/src/library/tools/R/check.R#L2960

It looks like, in spite of its name, _R_CHECK_CRAN_INCOMING_NOTE_GNU_MAKE_ will actually trigger the note when set to FALSE.

I'm struggling a little bit to make a minimal reprex that will trigger this NOTE. Please let me know if you need this and if you have some advice on how to build it.