I had some issues with R bombing when I was using export_TextGridCollection() and traced it to a typo I made in bundlePattern. I should just stop making typos of course, but it could perhaps be nice to add a check to export_TextGridCollection() whether the bundle exists to avoid R crashing entirely.
Note that the crash only appears to happen with verbose = FALSE, because the utils progress bar function will shoot an error and cause the function to fail gracefully when verbose = TRUE.
Hi Markus!
I had some issues with R bombing when I was using
export_TextGridCollection()
and traced it to a typo I made inbundlePattern
. I should just stop making typos of course, but it could perhaps be nice to add a check toexport_TextGridCollection()
whether the bundle exists to avoid R crashing entirely.This should reproduce the error:
Note that the crash only appears to happen with
verbose = FALSE
, because theutils
progress bar function will shoot an error and cause the function to fail gracefully whenverbose = TRUE
.