Skip to content

quarto::quarto_use_template raises error that quarto use template doesn't #229

@JosephBARBIERDARNAL

Description

@JosephBARBIERDARNAL

Hi!

I have a local template called memo in the templates/memo dir.

  • If I run quarto use template templates/memo everything works perfectly (indicating that a priori there is no issue with the template itself).
  • If I run quarto::quarto_use_template("template/memo"), I get:
Error in `if (approval) ...`:
! argument is of length zero

But more generally, running quarto::quarto_use_template() returns the previous error if the input is wrong (?), no matter what kind of error it is (is the github repo not existing? is the path wrong? is something wrong with the extension itself? And so on).

quarto version: 1.6.42
OS: macos sequoia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions