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

Use skipmissing() instead of Missings.skip() #1283

Merged
merged 1 commit into from
Nov 23, 2017
Merged

Conversation

nalimilan
Copy link
Member

The latter is deprecated.

@coveralls
Copy link

coveralls commented Nov 23, 2017

Coverage Status

Coverage remained the same at 72.926% when pulling 0e65d03 on nl/skipmissing into ff2729b on master.

@nalimilan nalimilan merged commit 7cc19d5 into master Nov 23, 2017
@nalimilan nalimilan deleted the nl/skipmissing branch November 23, 2017 20:29
julia> Missings.skip(x)
Base.Generator{Base.Iterators.Filter{Missings.##4#6,Array{Union{Int64, Missings.Missing},1}},Missings.##3#5}(Missings.#3, Base.Iterators.Filter{Missings.##4#6,Array{Union{Int64, Missings.Missing},1}}(Missings.#4, Union{Int64, Missings.Missing}[1, 2, missing]))
julia> skipmissing(x)
Missings.EachSkipMissing{Array{Union{$Int, Missings.Missing},1}}(Union{$Int, Missings.Missing}[1, 2, missing])
Copy link
Member Author

Choose a reason for hiding this comment

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

Looking at the online manual, it doesn't look like $Int was correct here.

@cjprybol Do you know how we're supposed to handle this kind of situation?

Copy link
Contributor

Choose a reason for hiding this comment

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

The $Int is necessary to get tests to pass on 32 & 64 bit, but it won't work because the $Int is within the triple-backtick code block? Is that the issue?

@nalimilan
Copy link
Member Author

Yes. Do you know of any solution?

@cjprybol
Copy link
Contributor

I don't offhand, but I'll see if I can find one

@cjprybol
Copy link
Contributor

cjprybol commented Dec 1, 2017

Couldn't think of anything better than just switching the tests to Floats, but I guess that'll do the job, right? See #1299

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.

4 participants