1

When I run:

bookdown::render_book("index.Rmd", "bookdown::gitbook")

The HTML output has the wrong filepath since it adds %22 before and after the file path.

I am able to delete this and it upload correctly, but its inconvenient to delete these from every figure everytime an update is made.

katiefagan
  • 11
  • 2
  • Thats odd %22 is the encoding for the double quotes. You run the command from the console? – SmokeyShakers Nov 30 '21 at 14:35
  • yes from the console – katiefagan Nov 30 '21 at 15:18
  • If you create a new, nearly blank Rmd file and run render_book, does the same thing happen? Or is the problem specific to your index.Rmd file. What version of R and bookdown are you using? It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input that can be used to test and verify possible solutions. – MrFlick Nov 30 '21 at 18:17

0 Answers0