[Rd] Rbuildignore question
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? (R 2.15.1) __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rbuildignore question
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 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Rbuildignore question
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 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel