Comments (5)
@steveped You should edit ~/.lintr
.
from vscode-r.
@hafen I didn't know that, and I'll try.
Thank you for your good information!
from vscode-r.
👍 Thanks for looking into it and making this extension.
from vscode-r.
@hafen , new this extension 0.5.0 supported folder's lintr by settings r.lintr.isPackages
to true
.
However, supporting .lintr
is still on TODO yet.
Please change r.lintr.linter
in setting.json until support.
Such as
"r.lintr.linters": "with_defaults(line_length_linter(100))"
from vscode-r.
I currently have this issue on Ubuntu 18.04 using lintr 2.0.1
and R4.0.3. On a separate Windows machine with an WSL installation running Ubuntu 20.04 and R4.1.x the situation is identical.
cat ~/.vscode/extensions/ikuyadeu.r-2.0.0/R/.lintr
linters: with_defaults(
line_length_linter(120),
cyclocomp_linter = NULL,
object_name_linter = NULL,
object_usage_linter = NULL)
I'm getting problems detected such as:
Lines should not be more than 80 characters
Variable and function name style should be snake_case
Changing the values in the .lintr
file makes no difference. Linting manually using lintr::lint("path/to/file") behaves as expected.
from vscode-r.
Related Issues (20)
- vscode version constraint may need bumping
- r.libPaths setting for renv-enabled projects not working HOT 1
- "Error identifying terminal!" When trying to open R server
- Migrating ~/vscode-R directory to XDG appropiate locations - Linux
- How to allocate a keyboard shortcut to Restart R? HOT 3
- Disable linting when previewing file differences in source control panel HOT 3
- Data viewer with Tabulator HOT 2
- Rtmp files left in /tmp directory HOT 4
- Setup with conda installed R: attaching active Terminal fails HOT 4
- httpgd has been archived the 24/01/2024 HOT 4
- Environment variables inaccessible from R Interactive after change from bash to zsh HOT 1
- Change default file extension from .r to .R
- Running extension error HOT 2
- open plot in external browser cannot load image in vscode insider HOT 1
- Expand Session watcher when parantheses HOT 1
- how to show variables? HOT 2
- Support launching Shiny apps via the run button in VS Code HOT 4
- Convert stale bot to be manual rather than automatic HOT 1
- Base R Terminal error on `R: Run from Beginning to Line` HOT 1
- Bad highlighting of nested code chunks in R Markdown documents
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-r.