Install missing package and retry
install_missing_packages.Rd
I always encounter package not found error when I run render_book()
for
the first time. Normally, I check the error message and then rerun the command,
and this make me annoy when I have to do it again and again. Therefore,
I create this function to automate this operation.
Usage
install_missing_packages(expr = bookdown::render_book(), retry = 30)