This function has been deprecated, since Amazon no longer provides KindleGen.
Please consider using bookdown::calibre() instead if you want
.mobi output.
kindlegen(epub, exec = Sys.which("kindlegen"))The path to a .epub file (e.g. created from the
epub_book() format). If missing, it is automatically guessed
from the book configurations.
The path to the executable kindlegen.
The path of the .mobi file if the conversion is successful.