Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument of length 0 #87

Closed
raffaem opened this issue Sep 12, 2024 · 3 comments
Closed

Argument of length 0 #87

raffaem opened this issue Sep 12, 2024 · 3 comments

Comments

@raffaem
Copy link

raffaem commented Sep 12, 2024

> quarto::quarto_use_template("wjschne/apaquarto")
Quarto templates may execute code when documents are rendered.
• If you do not trust the author(s) of this Quarto templates, we recommend that you do not install or use this
  Quarto templates.
Do you trust the authors of this Quarto templates (Y/n)? Y
Error in if (approval) { : argument is of length zero
@wjschne
Copy link
Owner

wjschne commented Sep 13, 2024

I believe there is a bug in the quarto package. I have submitted an issue to the package authors. You can get around this problem if you specify TRUE in the no_prompt argument of the function:

quarto::quarto_use_template("wjschne/apaquarto", TRUE)

@raffaem
Copy link
Author

raffaem commented Sep 14, 2024

See quarto-dev/quarto-r#212

@wjschne
Copy link
Owner

wjschne commented Sep 16, 2024

The problem has been fixed in the development version of the quarto package.

@wjschne wjschne closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants