You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is on a clean laptop at a new job. I've installed VSCode and R 4.4.3 (both as a user install) along with the REditorSupport extension. lintr fails with the following error:
Failed to run diagnostics: ! in callr subprocess.
Caused by error in `lintr::lint(path, cache = cache, text = content)`:
! Linter `linter()` failed in '':
Caused by error in `normalizePath()`:
! path[1]="": The system cannot find the path specified
All my packages were installed fresh from CRAN this week; in particular lintr is version 3.2.0. What could be causing this?
The text was updated successfully, but these errors were encountered:
More information: looking at the error message, lintr is running normalizePath on a temp filename. When I try to do the same, it fails when I set mustWork=TRUE:
> z <- tempfile()
> normalizePath(z)
[1] "C:\\Users\\HOOI\\AppData\\Local\\Temp\\RtmpiCCS5H\\file4b906ddf61d6"
Warning message:
In normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:\Users\HOOI\AppData\Local\Temp\RtmpiCCS5H\file4b906ddf61d6": The system cannot find the file specified
> normalizePath(z, mustWork=FALSE)
[1] "C:\\Users\\HOOI\\AppData\\Local\\Temp\\RtmpiCCS5H\\file4b906ddf61d6"
> normalizePath(z, mustWork=TRUE)
Error in normalizePath(path.expand(path), winslash, mustWork) :
path[1]="C:\Users\HOOI\AppData\Local\Temp\RtmpiCCS5H\file4b906ddf61d6": The system cannot find the file specified
This is on a clean laptop at a new job. I've installed VSCode and R 4.4.3 (both as a user install) along with the REditorSupport extension. lintr fails with the following error:
All my packages were installed fresh from CRAN this week; in particular lintr is version 3.2.0. What could be causing this?
The text was updated successfully, but these errors were encountered: