3
I’m trying to create a website to post descriptive analysis in R, using the theme Hugo. However, after creating a post . Rmd where I read a . csv file and do a series of analyses. I get this error when using the serve_site() or build_site command()
Warning message:
In readLines(if (is.character(input2)) { :
entrada inválida na conexão de entrada '2018-09-12-hello-world.Rmd'
Building sites … ERROR 2018/09/12 22:23:23 Failed to read data from
__h__project\alex_turner.csv\alex_turner.csv: Data not supported for
extension 'csv'
Total in 262 ms
Error: Error building site: logged 1 error(s)
Building sites … ERROR 2018/09/12 22:23:24 Failed to read data from
__h__project\alex_turner.csv\alex_turner.csv: Data not supported for
extension 'csv'
Total in 103 ms
Error: Error building site: logged 1 error(s)
O sistema nÆo pode encontrar o caminho especificado.
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\erick\AppData\Roaming\Hugo\hugo.exe" -d
"../erickrdgs.github.io" -t hugo-tranquilpeak-theme' execution failed with
error code 1
In addition: Warning messages:
1: In read_utf8(f) :
The file content/post/2018-09-12-hello-world.Rmd is not encoded in UTF-8.
These lines contain invalid UTF-8 characters: 33, 35, 37, 48, 50, 73, ...
2: running command '"C:\Users\erick\AppData\Roaming\Hugo\hugo.exe" -d
"../erickrdgs.github.io" -t hugo-tranquilpeak-theme' had status 65535
3: running command '"C:\Users\erick\AppData\Roaming\Hugo\hugo.exe" -d
"../erickrdgs.github.io" -t hugo-tranquilpeak-theme' had status 65535
4: running command 'C:\WINDOWS\system32\cmd.exe /c
"C:\Users\erick\AppData\Roaming\Hugo\hugo.exe" -d "../erickrdgs.github.io" -
t hugo-tranquilpeak-theme' had status 1
The alex_turner.csv file exists and is inside a 'date' folder at the root of the project. Does anyone know what might cause this error and how to resolve it?
The repository for the project in question is https://github.com/erickrdgs/blogdown-source