sol-eng / bike_predict

A demo of an end-to-end machine learning pipeline, using Posit Connect
93 stars 31 forks source link

Colorado is not building quarto docs #26

Closed SamEdwardes closed 2 years ago

SamEdwardes commented 2 years ago

Thank you at @jthomasmock for discovering this issue (https://github.com/sol-eng/bike_predict/pull/15#issuecomment-1139237332)! The https://github.com/sol-eng/bike_predict/blob/main/_write_manifest.qmd script is not correctly writing the manifest as a quarto doc. Instead it is identifying as an RMarkdown doc.

To fix this we need to updating rsconnect to v0.8.26. and for each deployed piece of content we need to change this:

rsconnect::writeManifest(
  appDir = "content/01-etl/01-raw-data-refresh", 
  appFiles = "document.qmd"
)
print("Complete 🎉")

To this:

rsconnect::writeManifest(
  appDir = "content/01-etl/01-raw-data-refresh", 
  appPrimaryDoc = "document.qmd",
  quarto = quarto::quarto_path()
)

25 has been drafted to fix this, however it will not work until RSC on Coloardo is updated to 2022.05.0.