[R-pkg-devel] Debugging M1mac problems

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sun Mar 28 06:49:03 CEST 2021

Hi Ivan,

On 27 March 2021 at 19:11, Ivan Krylov wrote:
| Dirk, thank you a prompt reply!
| I see the issue you took part in solving:
| https://github.com/x13org/x13binary/issues/49

Yes. Temporary files are now written to a temporary directory which I make
sure to remove at end of examples (and tests, see below).


| I will make sure to address this deficiency of ?write.openfluor in the
| next version and avoid leaving files in tempdir() in the future, but
| I'm afraid this won't help me fix tests/feemlist.R on M1mac. Or is it
| not enough that I clean up all temporary files created in
| tests/feemlist.R at the very end by means of unlink(..., recursive =
| TRUE)?

I started using the idiom above in tests. So it might be a good idea to do it
there too as the issue has already been identified in your package.

What is a little frustrating is that when we keep r-devel around yet are
unable to replicate the issues (yet?) -- and as you noted we do not have
access to that 'M1mac' machine so there is some poking in the dark here too.


https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org

More information about the R-package-devel mailing list