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

include_app not working - error in enc2utf8(x) #1691

Closed
3 tasks done
gabrielvazdemelo opened this issue Mar 26, 2019 · 5 comments
Closed
3 tasks done

include_app not working - error in enc2utf8(x) #1691

gabrielvazdemelo opened this issue Mar 26, 2019 · 5 comments
Labels
bug Bugs
Milestone

Comments

@gabrielvazdemelo
Copy link

gabrielvazdemelo commented Mar 26, 2019

Hey there!

Since I updated to the version 1.22, I'm not able to render an app that I host in shinyapps.io. The HTML result shows nothing where it had to be the app. When I run the chunk it follows:

knitr::include_app("https://gabrielvazdemelo.shinyapps.io/shiny_barragens_site/", height = "700px")
Error in enc2utf8(x) : argument is not a character vector

The thing is that when I was using the version 1.21 it wasn't happening and the app works fine in the HTML. Could you help me? Thanks in advance.

R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS, RStudio 1.2.1268

Locale:
  LC_CTYPE=pt_BR.UTF-8       LC_NUMERIC=C               LC_TIME=pt_BR.UTF-8        LC_COLLATE=pt_BR.UTF-8    
  LC_MONETARY=pt_BR.UTF-8    LC_MESSAGES=pt_BR.UTF-8    LC_PAPER=pt_BR.UTF-8       LC_NAME=C                 
  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C       

Package version:
  base64enc_0.1.3      digest_0.6.18        evaluate_0.13        glue_1.3.1           graphics_3.4.4      
  grDevices_3.4.4      highr_0.8            htmltools_0.3.6.9003 jsonlite_1.6         knitr_1.22          
  magrittr_1.5         markdown_0.9         methods_3.4.4        mime_0.6             Rcpp_1.0.1          
  rmarkdown_1.12       stats_3.4.4          stringi_1.4.3        stringr_1.4.0        tinytex_0.11        
  tools_3.4.4          utils_3.4.4          xfun_0.5             yaml_2.2.0          

Pandoc version: 2.3.1

By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.name/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('knitr'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/knitr').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.
@gabrielvazdemelo gabrielvazdemelo changed the title include_app not working - Error in enc2utf8(x) include_app not working - error in enc2utf8(x) Mar 26, 2019
@yihui yihui added the bug Bugs label Mar 26, 2019
@yihui yihui added this to the v1.23 milestone Mar 26, 2019
@yihui yihui closed this as completed in 7ce809e Mar 26, 2019
@yihui
Copy link
Owner

yihui commented Mar 26, 2019

Should be fixed now. Thanks for the report!

@gabrielvazdemelo
Copy link
Author

Works fine now! Thank u very much.

@garimagupta25
Copy link

hi, I am having the same issue

@ligon101
Copy link

ligon101 commented Nov 2, 2020

I am also running into this problem

@yihui
Copy link
Owner

yihui commented Nov 2, 2020

Please file a new issue and follow the issue guide to provide the necessary information instead of replying to a closed issue if you still have problems. Thanks!

Repository owner locked as resolved and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs
Projects
None yet
Development

No branches or pull requests

4 participants