Now that we've upgraded to bookdown 0.24 we get this warning message:
Warning message:
In bookdown::render_book(input = index_file, output_format = output_format, :
The argument 'clean_envir' has been deprecated and will be removed in future versions of bookdown.
Now that we've upgraded to bookdown 0.24 we get this warning message: