I have a R package in the directory ~/package; I also keep the output from my use of the package in the directory ~/package/out. When the content of ~/package/out gets very large, it takes minutes instead of seconds to build this package. Is there a way to have “R CMD build package” ignore the ~/package/out directory?
Share
You are a little short on details about what is in there — but
R CMDrespects.Rbuildignore.Here is a real example:
which tells
R CMD buildto ignore the doxygen=-generated documentation, as well as a library directory.