question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lintr can not be disabled with VS Code 1.21.1 on macOS 10.13.4

See original GitHub issue
  • VSCode Version: 1.21.1
  • VSCode-R Version: 0.5.6
  • OS Version: macOS 10.13.4

Steps to Reproduce:

  1. Install lintr in R terminal.
  2. Open VS Code with vscode-R extension enabled.
  3. set “r.lintr.enabled” to false.
  4. Open an R file.

(If related)setting.json

// R path for Mac OS X
"r.rterm.mac": "/usr/local/bin/R",

// Enable lintr
"r.lintr.enabled": false,

// list of linter functions
"r.lintr.linters": "default_linters",

// toggle caching of lint results
"r.lintr.cache": false,

// R executable path for lintr
"r.lintr.executable": "",

// If true, lintr exec lint_package() instead of lint()
"r.lintr.ispackage": false

Thanks for reading this. I found a similar issue at here while it can’t be solved with upgrading to the newest version.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
randy3kcommented, Feb 3, 2019

@Ikuyadeu Diagnostics can be disabled by using the setting diagnostics in package.json of vscode-r-lsp. Something like

 "contributes": {
        "configuration": {
            "title": "R Language Server Configuration",
            "properties": {
                "diagnostics": {
.....
1reaction
ohmlovesamperecommented, Feb 3, 2019

How to disable lintr on Windows? Is it necessary to remove the “languagesever” package? I want to use the R LSP which needs it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lintr can not be disabled with VS Code 1.21.1 on macOS ...
VSCode Version: 1.21.1 VSCode-R Version: 0.5.6 OS Version: macOS 10.13.4 Steps to Reproduce: Install lintr in R terminal. Open VS Code with ...
Read more >
visual studio code - Disable R-linting in VScode - Stack Overflow
I'm trying to disable/modify these but I cannot figure out how. Using this guide I cannot find the path Tools > Options >...
Read more >
Running Visual Studio Code on macOS
Launching from the command line. You can also run VS Code from the terminal by typing 'code' after adding it to the path:...
Read more >
macOS 10.13, 10.14 and 10.15: Video functionality not enabled
If this is set to "No" then the KEXT is blocked and needs to be enabled following the steps below. Enabling the DisplayLink...
Read more >
Visual Studio Code (Mac) - Setting up a Python Development ...
In this Python Programming Tutorial, we will be learning how to set up a Python development environment in VSCode on MacOS. VSCode is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found