Error in bookdown generation

2

I'm trying to create a bookdown (from the link package). When I create the book it returns the error below. I have already set the parameters: output: bookdown::gitbook e site: bookdown::bookdown_site . Also I deleted the main file several times, and it did not resolve the issue. Does anyone know how to help?

Error in render_book("index.Rmd", output_format = output_format, envir = envir) : 
The file _main.Rmd exists. Please delete it if it was automatically
generated, or set a different book_filename option in _bookdown.yml. 
If you are sure it can be safely deleted, please set the option 'delete_merged_file' 
to true in _bookdown.yml.
Calls: <Anonymous> ... <Anonymous> -> in_dir -> render_book_script -> 
render_book
Execu��o interrompida

Exited with status 1.
    
asked by anonymous 22.10.2018 / 20:56

1 answer

2

The error suggests that you delete the file _main.Rmd and put delete_merged_file = TRUE .

If you can not delete the file _main.Rmd , use a different book_filename in _bookdown.yml

    
09.11.2018 / 13:48