Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possivel problema com encoding #1

Open
piklprado opened this issue Mar 25, 2020 · 2 comments
Open

Possivel problema com encoding #1

piklprado opened this issue Mar 25, 2020 · 2 comments

Comments

@piklprado
Copy link
Collaborator

Rodei no meu sistema e parece que deu algum problema com ecoding:
Attaching package: ‘zoo’

The following objects are masked from ‘package:base’:

as.Date, as.Date.numeric

processing file: projecoes_observatorio_modelo.Rmd

|
| | 0%
|
|............. | 20%
inline R code fragments

|
|.......................... | 40%
label: projecoes_Poisson

|
|....................................... | 60%
ordinary text without R code

|
|.................................................... | 80%
label: estimativa_crescimento_exponencial (with options)
List of 3
$ fig.width : num 7
$ fig.height: num 5
$ fig.cap : language paste("Estimativas de crescimento exponencial para os próximos 5 dias para ", nome_unid)

|
|.................................................................| 100%
ordinary text without R code

output file: projecoes_observatorio_modelo.knit.md

/usr/bin/pandoc +RTS -K512m -RTS projecoes_observatorio_modelo.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output ./relatorios_gerados/relatorio_São_Paulo_24-03-2020_23h37min57s.tex --template /home/paulo/R/local_lib/rmarkdown/rmd/latex/default-1.17.0.2.tex --highlight-style tango --pdf-engine pdflatex --variable graphics=yes --lua-filter /home/paulo/R/local_lib/rmarkdown/rmd/lua/pagebreak.lua --lua-filter /home/paulo/R/local_lib/rmarkdown/rmd/lua/latex-div.lua --variable 'geometry:margin=1in' --variable 'compact-title:yes'
Warning in grep("^\s*$", x) :
string de entrada 657 é inválida nesse locale
Warning in grep("^\s*$", x) :
string de entrada 662 é inválida nesse locale
Warning in grep("^! ", x) :
string de entrada 657 é inválida nesse locale
Warning in grep("^! ", x) :
string de entrada 662 é inválida nesse locale
Warning in grep("^\s*$", x) :
string de entrada 657 é inválida nesse locale
Warning in grep("^\s*$", x) :
string de entrada 662 é inválida nesse locale
Warning in grep("^! ", x) :
string de entrada 657 é inválida nesse locale
Warning in grep("^! ", x) :
string de entrada 662 é inválida nesse locale
Erro: Failed to compile ./relatorios_gerados/relatorio_São_Paulo_24-03-2020_23h37min57s.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips.
Execução interrompida

@piklprado
Copy link
Collaborator Author

piklprado commented Mar 25, 2020

Meu sistema é Arch Linux com interface gráfica Flusbos. Sessão do R:

sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Arch Linux

Matrix products: default
BLAS: /usr/lib/libblas.so.3.9.0
LAPACK: /usr/lib/liblapack.so.3.9.0

locale:
[1] LC_CTYPE=pt_BR.UTF-8 LC_NUMERIC=C
[3] LC_TIME=pt_BR.UTF-8 LC_COLLATE=pt_BR.UTF-8
[5] LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=pt_BR.UTF-8
[7] LC_PAPER=pt_BR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_3.6.3 tools_3.6.3 tcltk_3.6.3

@gburin
Copy link
Collaborator

gburin commented Mar 25, 2020

Eu acho que isso pode ter sido causado por 2 coisas: o lualatex e/ou o kable.

Acabei mudando para o xelatex, e também incluí argumento para o kable ignorar escape characters. Por favor, teste de novo e me avise!

1671ec0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants