[R-SIG-Mac] R CMD check --as-cran NOTE about thinlto-* in temporary directory

Mikael Jagan j@g@nmn2 @end|ng |rom gm@||@com
Thu Nov 28 21:09:42 CET 2024


I've configured R-devel with

     --enable-lto LTO="-flto=thin" LTO_FC="" LTO_LD="-Wl,-mllvm,-threads=4"

and built with tools from Xcode 15.3.  R CMD check --as-cran emits

     * checking for detritus in the temp directory ... NOTE
     Found the following files/directories:
       'thinlto-197f23' 'thinlto-1e920d' 'thinlto-9cf7f8' 'thinlto-a5ab80'
       'thinlto-b85e70' 'thinlto-bd46e8' 'thinlto-c56505'

which seems spurious.  Should tools:::.check_packages be adjusted to either
remove or ignore these?  I'm aware that locally I can do

     _R_CHECK_THINGS_IN_TEMP_DIR_EXCLUDE_="^thinlto-[0-9a-z]{6}$"

but I figured that I would report anyway ...

Mikael



More information about the R-SIG-Mac mailing list