despite the below warning, the files and folders are already created by the time it gives the warning and requests an option (and then gives error when selecting the option).
nba_init_quarto_proj(path = ".")
! New project "templates" is nested inside an existing project ./, which is rarely a good idea.
ℹ If this is unexpected, the here package has a function, here::dr_here() that reveals why ./
is regarded as a project.
Do you want to create anyway?
1: Yeah
2: No way
3: No
Selection: 3
Error in challenge_nested_project():
✖ Cancelling project creation.
Run rlang::last_trace() to see where the error occurred.
despite the below warning, the files and folders are already created by the time it gives the warning and requests an option (and then gives error when selecting the option).
nba_init_quarto_proj(path = ".")
! New project "templates" is nested inside an existing project ./, which is rarely a good idea.
ℹ If this is unexpected, the here package has a function,
here::dr_here()that reveals why ./is regarded as a project.
Do you want to create anyway?
1: Yeah
2: No way
3: No
Selection: 3
Error in
challenge_nested_project():✖ Cancelling project creation.
Run
rlang::last_trace()to see where the error occurred.