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')"
$