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

NA in write_csv2 #928

Closed
NicolasImberty opened this issue Nov 28, 2018 · 1 comment
Closed

NA in write_csv2 #928

NicolasImberty opened this issue Nov 28, 2018 · 1 comment
Labels
bug an unexpected problem or unintended behavior

Comments

@NicolasImberty
Copy link

Hello,

I can't specify a value for NA with write_csv2.
There is NA at the place of specific value.

test <- tibble(var1 = 1:4, var2 = c(12, 64, NA, 94))
write_csv2(test, path = "test1.csv", na = "")
write_csv2(test, path = "test2.csv", na = "coucou")

readLines("test1.csv")
#> [1] "var1;var2" "1;12"      "2;64"      "3;NA"      "4;94"
readLines("test2.csv")
#> [1] "var1;var2" "1;12"      "2;64"      "3;NA"      "4;94"
@jimhester jimhester added the bug an unexpected problem or unintended behavior label Nov 29, 2018
@lock
Copy link

lock bot commented May 31, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators May 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants