Skip to content

Commit 0253184

Browse files
committed
Fix function name
1 parent 819895a commit 0253184

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/utils-projects.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ get_running_project_root <- function() {
204204
#' @description
205205
#' This function checks if the current working directory is within a Quarto
206206
#' project by looking for Quarto project files (`_quarto.yml` or `_quarto.yaml`).
207-
#' Unlike [is_running_quarto_project()], this works both during rendering and
207+
#' Unlike [get_running_project_root()], this works both during rendering and
208208
#' interactive sessions.
209209
#'
210210
#' @param path Character. Path to check for Quarto project files. Defaults to

tests/testthat/test-utils-projects.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ test_that("project_path() handles xfun::proj_root() errors gracefully", {
131131
)
132132
})
133133

134-
test_that("is_running_quarto_project() detects environment variables", {
134+
test_that("get_running_project_root() detects environment variables", {
135135
withr::with_envvar(
136136
c(
137137
QUARTO_PROJECT_ROOT = NA,

0 commit comments

Comments
 (0)