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

Travers Ching tr@ver@c @end|ng |rom gm@||@com
Tue Apr 9 00:56:28 CEST 2019


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 <seb.meyer using fau.de> wrote:
>
> 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 that file.
>
> Cheers,
>
>         Sebastian
>
>
> Am 08.04.19 um 23:02 schrieb Travers Ching:
> > I see the following warning on CRAN:
> >
> > Result: WARN
> >     Found the following executable file:
> >      src/LZ4/LICENSE
> >     Source packages should not contain undeclared executable files.
> >     See section ‘Package structure’ in the ‘Writing R Extensions’ manual.
> > https://cran.r-project.org/web/checks/check_results_qs.html
> >
> > This seems like a false positive since it's clearly not an executable,
> > but I'm wondering if there's anything I should do on my end?
> >
> > Travers
> >
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list