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

quarto::quarto_publish_doc fails #118

Closed
csgillespie opened this issue Sep 12, 2023 · 3 comments
Closed

quarto::quarto_publish_doc fails #118

csgillespie opened this issue Sep 12, 2023 · 3 comments

Comments

@csgillespie
Copy link

csgillespie commented Sep 12, 2023

I've been publishing quarto docs for a while, but this now fails.

Publishing to the server now gives this error

Error in `rsconnect::deployApp()`:
! `appFiles` must be a character vector or `NULL`, not a list.

This is due to the following lines in quarto::quarto_publish_doc()

inspect <- quarto:::quarto_inspect(input)
resources <- inspect[["resources"]]
app_files <- unique(c(app_files, resources))

The object resources is an empty list. Running quarto inspect index.qmd in a terminal, the output JSON shows that resources is empty as well.

I can make a fix, but I'm not sure why I now get this error.


  • R 4.2.1
  • {quarto} 1.2
  • {jsonlite} 1.8.7
  • quarto 1.3.450
    Document (index.qmd)
---
title: "Habits"
author: "John Doe"
format: beamer
---

## Getting up

- Turn off alarm
- Get out of bed

## Going to sleep

- Get in bed
- Count sheep

@thomascwells
Copy link

I encountered what I think is the same error. It seems like upgrading to {quarto} 1.3 fixed this for me. 1.3 was published to CRAN just a couple days ago.

@cderv
Copy link
Collaborator

cderv commented Sep 22, 2023

It seems indeed to be working now...

@csgillespie do you still have the issue ?

@csgillespie
Copy link
Author

Upgrading fixed the issue

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

3 participants