Skip to content

Commit 0592077

Browse files
committed
Use rprojroot::is_vscode_project now that it's in a CRAN release
1 parent 2d2e155 commit 0592077

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Imports:
3737
purrr,
3838
rappdirs,
3939
rlang (>= 1.1.0),
40-
rprojroot (>= 1.2),
40+
rprojroot (>= 2.1.1),
4141
rstudioapi,
4242
stats,
4343
tools,

R/proj.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ proj_crit <- function() {
197197
rprojroot::is_rstudio_project |
198198
rprojroot::is_r_package |
199199
rprojroot::is_git_root |
200-
# use rprojroot::is_vscode_project at some point in the future
201-
rprojroot::has_file(".vscode/settings.json") |
200+
rprojroot::is_vscode_project |
202201
rprojroot::is_quarto_project |
203202
rprojroot::is_renv_project |
204203
rprojroot::is_remake_project |

0 commit comments

Comments
 (0)