Address issues reported by lintr::lint_package().
lintr::lint_package()
After these are fixed, automate checking for lints in the future in tests.