Here are the logs of the error:
https://gitlab.com/Rdatatable/data.table/-/jobs/10696837289
I think we should fix the bug (presumably introduced by #7138) before continuing to dig a hole with further edits to the file.
Originally posted by @MichaelChirico in #7181 (comment)