File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ create_project <- function(
9393 open = rlang :: is_interactive()
9494) {
9595 path <- user_path_prep(path )
96+ check_path_is_directory(path_dir(path ))
97+
9698 name <- path_file(path_abs(path ))
9799 challenge_nested_project(path_dir(path ), name )
98100 challenge_home_directory(path )
@@ -106,7 +108,7 @@ create_project <- function(
106108 use_rstudio()
107109 } else {
108110 ui_bullets(c(
109- " v" = " Writing a sentinel file {.path {pth(' .here')} }." ,
111+ " v" = " Writing a sentinel file {.path .here'}." ,
110112 " _" = " Build robust paths within your project via {.fun here::here}." ,
111113 " i" = " Learn more at {.url https://here.r-lib.org}."
112114 ))
@@ -145,6 +147,10 @@ create_quarto_project <- function(
145147 create_directory(path )
146148 local_project(path , force = TRUE )
147149
150+ if (rstudio ) {
151+ use_rstudio()
152+ }
153+
148154 res <- quarto :: quarto_create_project(
149155 name = name ,
150156 dir = parent_dir ,
You can’t perform that action at this time.
0 commit comments