Re: [R-pkg-devel] Executable file warning in CRAN check

2019-04-09 Thread Sebastian Meyer
Let's look at the check_executables() function inside tools:::.check_packages() [https://svn.r-project.org/R/trunk/src/library/tools/R/check.R]. If the 'file' program is available on the check system, the check for executable files is based on what 'file' thinks about each file in the source

Re: [R-pkg-devel] Executable file warning in CRAN check

2019-04-08 Thread Travers Ching
Thanks Sebastian, I'll give it a shot. It seems weird that I can't replicate the warning on a mac laptop, or any other system. Travers On Mon, Apr 8, 2019 at 2:27 PM Sebastian Meyer wrote: > > No false positive. This file is indeed marked as an executable file, see > also at

Re: [R-pkg-devel] Executable file warning in CRAN check

2019-04-08 Thread Sebastian Meyer
No false positive. This file is indeed marked as an executable file, see also at https://github.com/cran/qs/blob/0.14.1/src/LZ4/LICENSE, which says > Executable File | 25 lines (20 sloc) | 1.28 KB On a Unix-based system you could do > chmod -x src/LZ4/LICENSE to remove the executable bit from