qngyn / gsoc_quarto

1 stars 0 forks source link

Render #1

Open srvanderplas opened 7 months ago

srvanderplas commented 7 months ago

When I render your project in quarto, I get the following error:

post_render_script.R
Error in file(con, "wb") : cannot open the connection
Calls: convert_quarto_to_audio -> writeBin -> file
In addition: Warning message:
In file(con, "wb") :
  cannot open file '/home/susan/Documents/GSoC'24/index.mp3': No such file or directory
Execution halted

Output created: docs/index.html

I suspect this may be due to the file path in convertQuartoToAudio.R.

qngyn commented 7 months ago

Hi Professor, I just changed the file path from "~/Documents/GSoC'24" to "." I tested it on my machine, and I believe it works for me, so I wonder if you can pull my repo again to see if it works on your end. Thank you a lot, Professor!