Closed sangwon-hyun closed 1 year ago
Thanks @sangwon-hyun. This happens because the flowsmooth
package was partially changed in the first call to litr::render()
but then got interrupted. The fix for you for now is to delete flowsmooth
and then rendering will work. However, you're right that this is an issue. In fact, I've been meaning to address this for a while. I'll bump it up in terms of priorities because it's definitely something that users will frequently encounter (I've just gotten very accustomed to deleting the partially generated package directory).
Right, it's just an extra manual step I'd love to skip :) Thanks!
Closed by a09e2c1cc417f45d3809348a541ef2b57de5e022
litr::render("index.Rmd", output_format = litr::litr_gitbook())
.x + 1
whenx
doesn't exist yet. The rendering will fail, with this error message:Quitting from lines 276-277 (_main.Rmd) Error in x + 1 : object 'x' not found Calls: local ... eval_with_user_handlers -> eval -> eval -> gen_diff_mat
Execution halted Error: Failed to run 'bookdown::render_book' in a new R session.
litr::render("index.Rmd", output_format = litr::litr_gitbook()) Error in litr:::setup(package_dir) :
Please read your friendly litr error message here:
But technically,
/home/sangwonh/repos/flowsmooth/flowsmooth
was created using litr!