Closed grimbough closed 5 years ago
Hi, thanks for the PR. I think I have half of that already in my cleanup
,
and I'll wait if that already makes BioC happy. Otherwise I'll take the rm
from your PR and build that into the normal cleanup
, no need to treat windows special.
I'll then close this PR without merging in the git sense. Yours, Steffen
Unfortunately, I think you have to treat Windows differently, or at least explicitly. I don't think cleanup
gets run on Windows, there has to be a cleanup.win
. At least that's my interpretation of this section of R extension manual:
You should bear in mind that the configure script will not be used on Windows systems. If your package is to be made publicly available, please give enough information for a user on a non-Unix-alike platform to configure it manually, or provide a configure.win script to be used on that platform. (Optionally, there can be a cleanup.win script....)
Feel free to copy rather than merge, happy to help.
Ok, merging now then.
Related to #13. Can't promise this is a complete solution, but explicitly making sure the object files that the BioC builder is complaining about are deleted once the package is built seems to fix the problem for me.
Tested on Windows 10 with Rtools 3.5 and R-3.6.0.beta via:
Happy to run more tests if this introduces something horrible.