I don't know exactly what went wrong but this version of a module has some \r line endings that broke LoadModule.
https://github.com/zoonproject/modules/blob/c1bca5e8776f6967be488b932ff92ad63b66f70d/R/LonLatToCovariates.R
Discussed in PR zoonproject/modules#166
This particular instance fixed in zoonproject/modules#167 I hope.
But we should add a test in test_module for this once we've worked out exactly what is and isn't allowe.d