here is my build
from line 771 of the build log it seem that pandoc 2.2.1 is being installed. That is pretty old and the option --metadata-file was only added in 2.3.0 (https://pandoc.org/releases.html#releases).
I then try to build a bookdown project and pandoc complains about the unknown option.
@jeroen and @jimhester is there any hope for an updated version of pandoc for r/travis?