Skip to content

Commit

Permalink
add skip; update activate
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Feb 4, 2025
1 parent 921da57 commit fd43454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/resources/activate.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@ local({

# R help links
pattern <- "`\\?(renv::(?:[^`])+)`"
replacement <- "`\033]8;;ide:help:\\1\a?\\1\033]8;;\a`"
replacement <- "`\033]8;;x-r-help:\\1\a?\\1\033]8;;\a`"
text <- gsub(pattern, replacement, text, perl = TRUE)

# runnable code
pattern <- "`(renv::(?:[^`])+)`"
replacement <- "`\033]8;;ide:run:\\1\a\\1\033]8;;\a`"
replacement <- "`\033]8;;x-r-run:\\1\a\\1\033]8;;\a`"
text <- gsub(pattern, replacement, text, perl = TRUE)

# return ansified text
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-update.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ test_that("can upgrade gitlab", {

test_that("we guard against invalid mc.cores values", {

skip_on_windows()
renv_scope_options(renv.config.updates.parallel = TRUE)

local({
Expand Down

0 comments on commit fd43454

Please sign in to comment.