Closed cderv closed 4 years ago
The argument force = TRUE
is no longer useful, so I just deprecated it. It was there originally only because install_hugo()
may install Hugo to a place in PATH
, and I wanted to avoid the unnecessary install when it could be detected in PATH
. Thanks!
When you try to run a blogdown site with the wrong hugo version, you now get an error message
The advice is to run
blogdown::install_hugo()
with correct version, but withoutforce = TRUE
it won't install the asked version.So it is one more step to run
before being able to preview the website which had a pinned hugo version.
I think we should either:
force = TRUE
in the error message adviceinstall_hugo
only message with'It seems Hugo has been installed. Use force = TRUE to reinstall or upgrade.'
if the version is the same as the one provided inversion =
What do you think ?