Skip to content

Don't use camel_case_linter on package names #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bmwilly opened this issue Feb 2, 2017 · 3 comments
Closed

Don't use camel_case_linter on package names #201

bmwilly opened this issue Feb 2, 2017 · 3 comments

Comments

@bmwilly
Copy link

bmwilly commented Feb 2, 2017

Reproducible example:

$ echo "library(randomForest)" > bad.R
$ Rscript -e "lintr::lint('bad.R')"
bad.R:1:9: style: Variable and function names should be all lowercase.
library(randomForest)
        ^~~~~~~~~~~~

Strangely, this doesn't happen if only the first letter is capitalized:

$ echo "library(Rcpp)" > good.R
$ Rscript -e "lintr::lint('good.R')"
$ 
@jfiksel
Copy link

jfiksel commented Feb 10, 2017

I'm having the same issue, would love to see this fixed

@fangly
Copy link
Contributor

fangly commented Feb 13, 2017

You could use object_name_linter in the meantime (#194).

@fangly
Copy link
Contributor

fangly commented Mar 13, 2017

Fixed in #214

@fangly fangly closed this as completed Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants