Reputation: 11
I'm trying to create my first website using RMarkdown and blogdown. But I've got some error I don't understand :
> blogdown::new_site(dir = 'Test')
Error in download.file(method = "wget") :
argument "destfile" is missing, with no default
> blogdown::hugo_version()
[1] ‘0.24.1’
I have looked at the blogdown::new_site function, but there is no mention of destfile and no way to specify it.
I'm running R and RStudio on Ubuntu 14.04 RStudio Version: 1.0.143 R version: 3.2.2
Any help would be greatly appreciated
Marie
Upvotes: 1
Views: 1413
Reputation: 30114
As @OmaymaS pointed out in the comment, if you upgrade to the latest version of R, it should work. But this is a bug anyway for R < 3.4.0, and I have just fixed it. Please make sure you have at least the version 0.0.47 of blogdown:
devtools::install_github('rstudio/blogdown')
Upvotes: 1