o2r-project / containerit

Package an R workspace and all dependencies as a Docker container
https://o2r.info/containerit/
GNU General Public License v3.0
290 stars 29 forks source link

Add lintr to testthat tests #1

Open nuest opened 8 years ago

nuest commented 8 years ago

See https://github.com/jimhester/lintr#testthat

MatthiasHinz commented 7 years ago

Lint should run after successful build, but Travis fails at the moment :( .

I did not include it in testthat, because it throws many style-issues and causes R CMD Check to fail (it does not terminate).

lintr many need to be customized for messages like

'lines should not be more that 80 characters'

nuest commented 7 years ago

We can add a file .lintr to configure what is checked, see https://github.com/jimhester/lintr#project-configuration