Re: [R-pkg-devel] duplicate function during build

2016-07-22 Thread Sven E. Templer
Not during build, but before, you could run in a bash from the package source root: $ awk '/function/{print $1}' R/* | uniq -d To find the files, use: $ grep R/* Best wishes, Sven > On 23 Jul 2016, at 05:01, ProfJCNash wrote: > > In trying to rationalize some files in a package I'm workin

[R-pkg-devel] duplicate function during build

2016-07-22 Thread ProfJCNash
In trying to rationalize some files in a package I'm working on, I copied a function from one file to another, but forgot to change the name of one of them. It turns out the name of the file containing the "old" function was later in collation sequence than the one I was planning to be the "new" on