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

Reintroduce readtable(), writetable() and string-literal macros, keeping them deprecated #1243

Merged
merged 2 commits into from
Oct 6, 2017

Conversation

nalimilan
Copy link
Member

@nalimilan nalimilan commented Oct 1, 2017

This will ease the transition to CSV, without introducing a dependency on it
and without breakage due to behavior changes.

I tested this locally, but it's not covered by the test suite.

Fixes #1240.

…ing them deprecated

This will ease the transition to CSV, without introducing a dependency on it
and without breakage due to behavior changes.
@coveralls
Copy link

coveralls commented Oct 1, 2017

Coverage Status

Coverage decreased (-15.9%) to 72.552% when pulling 60270b1 on nl/CSV into dea0e77 on master.

df = DataFrame(A = 1:10)
writetable("output.csv", df)
writetable("output.dat", df, separator = ',', header = false)
writetable("output.dat", df, quotemark = '\', separator = ',')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think quotemark here needs to be escaped, quotemark = '\' -> quotemark = '\\', although I couldn't find any errors in the CI to confirm that

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, it must have been there for a very long time. Fixed (I think the correct value is '\'').

@cjprybol
Copy link
Contributor

cjprybol commented Oct 1, 2017

This is just copied and pasted from earlier source code, right? If so, then I don't think we should worry about adding the tests back as well.

I don't love the idea of pointing people towards CSV while JuliaData/CSV.jl#109 is unresolved.

@nalimilan
Copy link
Member Author

This is just copied and pasted from earlier source code, right? If so, then I don't think we should worry about adding the tests back as well.

Yeah, that's copy/pasted, except for the place where DataArray columns where created (but changes were very limited).

I don't love the idea of pointing people towards CSV while JuliaData/CSV.jl#109 is unresolved.

We're not going to tag a release immediately anyway, so that leaves time to fix that nasty bug.

@coveralls
Copy link

coveralls commented Oct 2, 2017

Coverage Status

Coverage decreased (-15.9%) to 72.552% when pulling 2e1d6a8 on nl/CSV into dea0e77 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants