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
Failing CRAN checks - fix by 4/21 to keep on CRAN #166
Comments
Wow! Where did this come from? Any idea on why this popped-up? |
At this point I’m not sure! I just saw the email and haven’t looked closely yet.
|
I didn't have to look far to find the problem, the very first test in
At first glance, it appears that Socrata has changed the name of the csv version to be consistent with the json version, but it also appears that they've made the date time formats the same:
Normally the date times would not be in the same format, would they? |
I should have said "I didn't have to look far to find the *first problem", because that was just the first test. Looking at the next test, "read Socrata CSV as default" the problem seems to be that the column types have changed. We're expecting this:
but we're getting this:
The new classes look right based on the data in
I'm inclined to update the reference column classes to reflect the correct column types. The decisions on how JSON was parsed in RSocrata go back to several other issues: |
Thanks, @geneorama! I pushed a few changes to fix the remaining errors: It looks like this was all caused by 2 apparent changes to the Socrata API.
I believe I've seen a recent ticket with Socrata regarding the field order for the API not matching the order in the dataset. Could # 2 above this be related? In any case, I think at the point we can do a PR to master and new release. |
@nicklucius thank you for the additional fixes. It's strange, I don't think those tests were failing when I put in my changes the other day. I wonder if they're making more changes on the back end. Also, I too wonder if this is related to the ticket I opened. |
See the errors here: https://cran.r-project.org/web/checks/check_results_RSocrata.html
The text was updated successfully, but these errors were encountered: