Shiny: Download button tutorial not working


I'm trying to run the download tutorial here and it's not working.

When I click download, it simply download some text file with the name of the output object.

Am I missing something?

Session info:

R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
 [1] data.table_1.12.0 snakecase_0.9.2   shiny_1.2.0       janitor_1.1.1     readxl_1.3.0     
 [6] forcats_0.4.0     stringr_1.4.0     dplyr_0.8.0.1     purrr_0.3.1       readr_1.3.1      
[11] tidyr_0.8.3       tibble_2.0.1      ggplot2_3.1.0     tidyverse_1.2.1  

loaded via a namespace (and not attached):
 [1] tidyselect_0.2.5  haven_2.1.0       lattice_0.20-38   colorspace_1.4-0  generics_0.0.2   
 [6] sourcetools_0.1.7 htmltools_0.3.6   yaml_2.2.0        utf8_1.1.4        rlang_0.3.1      
[11] pillar_1.3.1      later_0.8.0       glue_1.3.0        withr_2.1.2       modelr_0.1.4     
[16] plyr_1.8.4        munsell_0.5.0     gtable_0.2.0      cellranger_1.1.0  rvest_0.3.2      
[21] httpuv_1.4.5.1    fansi_0.4.0       broom_0.5.1       Rcpp_1.0.0        xtable_1.8-3     
[26] openssl_1.2.2     scales_1.0.0      backports_1.1.3   promises_1.0.1    jsonlite_1.6     
[31] mime_0.6          askpass_1.1       hms_0.4.2         digest_0.6.18     stringi_1.3.1    
[36] grid_3.5.1        cli_1.0.1         tools_3.5.1       magrittr_1.5      lazyeval_0.2.1   
[41] crayon_1.3.4      pkgconfig_2.0.2   rsconnect_0.8.13  xml2_1.2.0        lubridate_1.7.4  
[46] assertthat_0.2.0  httr_1.4.0        rstudioapi_0.9.0  R6_2.4.0          nlme_3.1-137     
[51] compiler_3.5.1   

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.