rstudio / packrat

Packrat is a dependency management system for R
http://rstudio.github.io/packrat/
401 stars 89 forks source link

Non-ASCII character prevents packrat from parsing file #604

Closed pyltime closed 2 years ago

pyltime commented 4 years ago

Reported by a RStudio Connect customer in tickets 48151 and 48654 - they had a non-ASCII character in one of the column headers in one of the files that they were trying to deploy to Connect, which caused packrat to fail with the error:

Failed to parse C:/Users/XXX/AppData/Local/Temp/RtmpyQQrKX/file1b8459f61c6d/app.R ; dependencies in this file will not be discovered.

which in turn, meant that the deployed app failed to run as packages were not installed.

See the noted tickets in the RStudio Support site for more information, logs, etc

vituri commented 2 years ago

Is this related?

https://community.rstudio.com/t/cant-deploy-app-on-shinyapps-when-package-has-special-characters-accent-on-column-names-or-variables-without-backticks/122432

aronatkins commented 2 years ago

We believe that this is resolved with https://github.com/rstudio/packrat/pull/647. Please re-open this issue if you are still encountering problems.