-
Notifications
You must be signed in to change notification settings - Fork 3
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
dyadyear atopalliance left_join bug #15
Comments
I'm actually not able to reproduce this with the MWE you provided, which would be a first because this otherwise seems like an error that might have happened with me being clumsy with something. The operative data frame by which something would seem to happen would be |
Interesting! You're right. When I enter atop_alliance it seems it loads the alliance level version of ATOP dataset (atop5_0a.csv) rather than the member level (atop5_0m.csv) My suspicion is based on the output of colnames(atop_alliance) being:
When i navigate to the package proper ("/home/andresgannon/R/x86_64-pc-linux-gnu-library/4.2/peacesciencer") in /extdata/ I don't see atop, which is odd given it's able to load the alliance level version of the data, hm. |
Potentially helpful, install the github version of the package and rebooting R seems to solve the problem. The example in the original post now runs. That did not require me to run download_extdata() either (although I got the prompt). EDIT: that did not solve the problem. Re-running it now causes the same error. Will keep finicking with it |
That might sound accusatory, but do you have something in session that is loading alliance-level ATOP data as |
Ah yup, that was my mistake. I messed up having my own alliance df loaded as atop_alliance in the chunk prior to loading peacesciencer. Error is entirely on my end. Much thanks for your help! |
Glad that was it! Fortunately this was resolved, but it's a good experience for me to note the limitations of something like this as a software bundle. |
When piping add_atop_alliance() to create_dyadyears, I get the following error:
The full traceback shows the following:
Session info:
Replicable code for my problem below.
Note that if I comment out add_atop_alliance(), it runs perfectly fine. If I move add_atop_alliance() to somewhere else in the pipe, it breaks. I listwise went through every part of the pipe and no other one causes problems
The text was updated successfully, but these errors were encountered: