I'm trying to create a site to post descriptive analyzes done in R, using the Hugo theme. However, after creating a .rmd post where I read a .csv file and do a series of reviews. 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 file alex_turner.csv exists and is inside a 'date' folder in the project root. Does anyone know what can cause this error and how can I resolve it?
The repository for the project in question is link