[R-pkg-devel] corrupted NAMESPACE file

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Jan 20 15:53:56 CET 2023


В Fri, 20 Jan 2023 08:41:25 -0600
Spencer Graves <spencer.graves using effectivedefense.org> пишет:

> ** byte-compile and prepare package for lazy loading
> Error in parse(nsFile, keep.source = FALSE, srcfile = NULL) :
>    1:1: unexpected input

tools::showNonASCIIfile('https://raw.githubusercontent.com/JamesRamsay5/fda/master/NAMESPACE')
# 1: <ef><bb><bf>export(AmpPhaseDecomp,

Your NAMESPACE file starts with a U+FEFF ZERO WIDTH NO-BREAK SPACE.
You'll need to remove it, e.g. by re-creating the first line.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list