{"action":"created","issue":{"url":"https://api.github.com/repos/tidyverse/haven/issues/309","repository_url":"https://api.github.com/repos/tidyverse/haven","labels_url":"https://api.github.com/repos/tidyverse/haven/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/tidyverse/haven/issues/309/comments","events_url":"https://api.github.com/repos/tidyverse/haven/issues/309/events","html_url":"https://github.com/tidyverse/haven/issues/309","id":251371558,"number":309,"title":"write_dta fails with non-ascii in a tibble","user":{"login":"karldw","id":12504708,"avatar_url":"https://avatars3.githubusercontent.com/u/12504708?v=4","gravatar_id":"","url":"https://api.github.com/users/karldw","html_url":"https://github.com/karldw","followers_url":"https://api.github.com/users/karldw/followers","following_url":"https://api.github.com/users/karldw/following{/other_user}","gists_url":"https://api.github.com/users/karldw/gists{/gist_id}","starred_url":"https://api.github.com/users/karldw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karldw/subscriptions","organizations_url":"https://api.github.com/users/karldw/orgs","repos_url":"https://api.github.com/users/karldw/repos","events_url":"https://api.github.com/users/karldw/events{/privacy}","received_events_url":"https://api.github.com/users/karldw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-18T22:17:28Z","updated_at":"2017-12-14T23:32:14Z","closed_at":null,"author_association":"NONE","body":"\r\nWriting non-ascii characters in a `tbl_df` fails, while in a normal `data.frame` it's fine.  The error message is \"Writing failure: A provided string value was longer than the available storage size of the specified column.\"\r\n```r\r\nlibrary(haven)\r\nlibrary(tibble)\r\nwrite_dta(data.frame(x = \"é\"), tempfile())  # works\r\nwrite_dta(data_frame(x = \"é\"), tempfile())  # fails\r\n```"},"comment":{"url":"https://api.github.com/repos/tidyverse/haven/issues/comments/351868258","html_url":"https://github.com/tidyverse/haven/issues/309#issuecomment-351868258","issue_url":"https://api.github.com/repos/tidyverse/haven/issues/309","id":351868258,"user":{"login":"eborbath","id":9773005,"avatar_url":"https://avatars1.githubusercontent.com/u/9773005?v=4","gravatar_id":"","url":"https://api.github.com/users/eborbath","html_url":"https://github.com/eborbath","followers_url":"https://api.github.com/users/eborbath/followers","following_url":"https://api.github.com/users/eborbath/following{/other_user}","gists_url":"https://api.github.com/users/eborbath/gists{/gist_id}","starred_url":"https://api.github.com/users/eborbath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eborbath/subscriptions","organizations_url":"https://api.github.com/users/eborbath/orgs","repos_url":"https://api.github.com/users/eborbath/repos","events_url":"https://api.github.com/users/eborbath/events{/privacy}","received_events_url":"https://api.github.com/users/eborbath/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T23:32:14Z","updated_at":"2017-12-14T23:32:14Z","author_association":"NONE","body":"same issue here, both with the `cran` and the `developmental version`. Not sure how to fix it.\r\n\r\nSession Info:\r\n\r\n`R version 3.4.3 (2017-11-30)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows >= 8 x64 (build 9200)\r\n\r\nMatrix products: default\r\n\r\nlocale:\r\n[1] LC_COLLATE=English_United States.1252 \r\n[2] LC_CTYPE=English_United States.1252   \r\n[3] LC_MONETARY=English_United States.1252\r\n[4] LC_NUMERIC=C                          \r\n[5] LC_TIME=English_United States.1252    \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] haven_1.1.0.9000 bindrcpp_0.2     rvest_0.3.2      xml2_1.1.1      \r\n[5] stringr_1.2.0    dplyr_0.7.4      plyr_1.8.4       magrittr_1.5    \r\n\r\nloaded via a namespace (and not attached):\r\n [1] Rcpp_0.12.14     knitr_1.17       bindr_0.1        devtools_1.13.4 \r\n [5] R6_2.2.2         rlang_0.1.4      httr_1.3.1       tools_3.4.3     \r\n [9] withr_2.1.0      selectr_0.3-1    git2r_0.19.0     yaml_2.1.15     \r\n[13] assertthat_0.2.0 digest_0.6.12    tibble_1.3.4     curl_3.0        \r\n[17] ghit_0.2.18      memoise_1.1.0    glue_1.2.0       stringi_1.1.6   \r\n[21] compiler_3.4.3   forcats_0.2.0    pkgconfig_2.0.1 `"}}
{"actor":{"display_login":"eborbath"}}