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

@drop_missing() stopped working in 1.10.0 #78

Closed
awojtas-r opened this issue Jan 4, 2024 · 11 comments
Closed

@drop_missing() stopped working in 1.10.0 #78

awojtas-r opened this issue Jan 4, 2024 · 11 comments

Comments

@awojtas-r
Copy link

awojtas-r commented Jan 4, 2024

After moving from Julia ver. 1.8.5 to 1.10 drop_missing() function stopped working regardless of providing columns, producing LoadError: UndefVarError: @drop_missing not defined

@awojtas-r awojtas-r changed the title @drop_missing() stopped working in 1. @drop_missing() stopped working in 1.10.0 Jan 4, 2024
@kdpsingh
Copy link
Member

kdpsingh commented Jan 4, 2024

Can you go to the package console by pressing ], type in status, and share the output display the versions of packages you have installed?

@awojtas-r
Copy link
Author

TidierData v0.10.0

@kdpsingh
Copy link
Member

kdpsingh commented Jan 8, 2024

This in an old version of TidierData.jl prior to the implementation of @drop_missing(), which was added in 0.11.0.

To install the latest version, type in ] to access the package manager and then type update TidierData. That should give you access to @drop_missing().

@kdpsingh kdpsingh closed this as completed Jan 8, 2024
@kdpsingh kdpsingh reopened this Jan 8, 2024
@kdpsingh kdpsingh closed this as completed Jan 8, 2024
@awojtas-r
Copy link
Author

awojtas-r commented Jan 10, 2024

To install the latest version, type in ] to access the package manager and then type update TidierData. That should give you access to @drop_missing().

After trying to update I get no changes and still the same version 0.10. I tried all possible options with reinstalling but still the same. After trying add TidierData#main I got errors with Unsatisfiable requirements, so still no solution for that. The same is with Tidier, I cannot upgrade it
Screenshot 2024-01-10 081622

@kdpsingh
Copy link
Member

Ah, thank you for sharing that.

I think this was a dependency versioning bug in Tidier that was preventing TidierData from getting updated. We have since fixed it.

Can you try updating Tidier to see if that fixes it? Once you update Tidier, that should automatically update TidierData.

@awojtas-r
Copy link
Author

I tried to update both but it's still the same output

@kdpsingh
Copy link
Member

Can you remove the Tidier package altogether and then try to update TidierData?

That should fix it. Appreciate the patience, and hope it works. I'll add a note to the README if this works.

@kdpsingh kdpsingh reopened this Jan 10, 2024
@kdpsingh
Copy link
Member

This all stems from a dependency versioning issue in an older version of Tidier that has since been fixed.

@awojtas-r
Copy link
Author

Can you remove the Tidier package altogether and then try to update TidierData?

I removed Tidier and tried to update TidierData, unfortunately nothing changed and still 0.10

@kdpsingh
Copy link
Member

Try import Pkg; Pkg.gc() and then try to upgrade TidierData.

I wonder if despite your removing Tidier, it is still somehow cached. If that doesn't work, I'll tag some other folks who may know more.

@kdpsingh
Copy link
Member

I'm going to close this issue for now as it's a general package management issue. If you still need help, please feel free to reply to this.

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

No branches or pull requests

2 participants