diff --git a/tests/testthat/test-parse.R b/tests/testthat/test-parse.R index 8deca1cd..063ee88f 100644 --- a/tests/testthat/test-parse.R +++ b/tests/testthat/test-parse.R @@ -1029,7 +1029,7 @@ test_that("RHS array for non-dimensioned variable", { update(x) <- a[1] update(a) <- 1 }), - "Missing 'dim\\(\\)' for expression used as an array") + "Missing 'dim()' for expression used as an array", fixed = TRUE) }) test_that("Invalid argument to func that expects an array", { @@ -1069,7 +1069,7 @@ test_that("Non-array passed to func that expects an array", { initial(y) <- 0 update(y) <- 1 }), - "Missing 'dim\\(\\)' for expression used as an array" + "Missing 'dim()' for expression used as an array", fixed = TRUE ) }) diff --git a/vignettes/errors.Rmd b/vignettes/errors.Rmd index 50936b21..0c8cd54e 100644 --- a/vignettes/errors.Rmd +++ b/vignettes/errors.Rmd @@ -1119,7 +1119,7 @@ b <- a + 1 browser("update") ``` -Because the `browser` call is always put a the end of the phase, repeating `browser()` as above does not achieve anything. +Because the `browser` call is always put at the end of the phase, repeating `browser()` as above does not achieve anything. # `E3001`