[Rd] Rbuildignore question
Terry Therneau
therneau at mayo.edu
Thu Sep 20 22:37:21 CEST 2012
Thanks, that answers my question.
1. I was running on the source tree. And by "leave in the source tree" I mean just
that, with local source code control managment. It's in a place I can find it when needed.
It would appear on Rforge. But per your comment, not on the CRAN source. Ok
2. I'll check the tarball soon, but I'm guessing you are right about the error going
away.
On 09/20/2012 12:57 PM, Duncan Murdoch wrote:
> On 20/09/2012 1:43 PM, Terry Therneau wrote:
>> I'm touching up changes to rpart and have a question with .Rbuildignore. Here is my file
>>
>> tmt1014% more .Rbuildignore
>> test.local
>> \.hg
>> src/print_tree.c
>>
>>
>> The source code included a module "print_tree.c", used for dubugging. Commented
>> out calls to can be found here and there. I want to leave it in the source tree
>> even though no submitted copy of rpart will use it.
>>
>> Even with the ignore line above, R CMD check still compiles it, and gives a "bad
>> boy" NOTE about use of printf. Can I/ should I/ how do I get rid of this?
>
> What do you mean, "leave it in the source tree"? Since you're telling build to ignore it,
> I assume that's just for your own use, not for users of your package. And what did you run
> check on, the tarball or the directory? If you ran it on the tarball, then there's
> something wrong with your tarball, because it shouldn't be there (you said to ignore it).
> If you're running check on the directory, then ignore the NOTE, because it shouldn't
> appear when you run it on the tarball.
>
> Duncan Murdoch
More information about the R-devel
mailing list