diff --git a/DESCRIPTION b/DESCRIPTION index 644391e..981db50 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -23,6 +23,7 @@ Suggests: lintr, magrittr, mockery, + rprofile, rprojroot, stringi, stringr, diff --git a/tests/testthat/helper-utils.R b/tests/testthat/helper-utils.R index b07d263..ec5b748 100644 --- a/tests/testthat/helper-utils.R +++ b/tests/testthat/helper-utils.R @@ -28,6 +28,7 @@ language_client <- function(working_dir = getwd(), diagnostics = FALSE, capabili write(rprofile, ".Rprofile", append = TRUE) readLines(".Rprofile") }) + rprofile::load() if (nzchar(Sys.getenv("R_LANGSVR_LOG"))) { script <- sprintf(