Guillawme / rfret

Analyze FRET Binding Data with R
https://guillawme.github.io/rfret
Other
2 stars 5 forks source link

Use package lintr in unit tests #46

Closed Guillawme closed 4 years ago

Guillawme commented 5 years ago

See https://github.com/jimhester/lintr Useful to enforce a consistent coding style automatically.

Guillawme commented 5 years ago

I tried to set up automatic lint checking as part of testthat tests, following the instructions from lintr README.md.

Several problems here:

As a result, I must pass options directly in the unit test function instead of via the .lintr file, which is a bit of a mess...