Skip to content

nba_init_quarto_proj() not working as expected: warning and question of 'do you want to create anyway?' not working #39

@jockongit

Description

@jockongit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions