You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Received an email from the CRAN support team, noting that some RSocrata tests are failing on a regular basis. Below is an excerpt of the failing tests as of 2017-12-04:
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Not Found (HTTP 404).
1: read.socrata("https://data.cityofboston.gov/resource/awu8-dc52.csv?$where=case_enquiry_id< 101000295717") at testthat/test-all.R:239
2: getResponse(validUrl, email, password)
3: httr::stop_for_status(response)
Error: Read data with missing dates (@test-all.R#239)
The error pertains to #137 that we now need to resolve.
The 400 and 403 errors are more mysterious. Below is the output of https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
While looking at the errors, it appears another problem is the resource a9g2-feh2 used to test reading from private data sets is no longer accessible with the provided login credentials.
The test dataset lives on Socrata, so I've opened a ticket, 24165, with them to resolve this.
Oddly, those credentials do seem to work with the test dataset for writing data.
The authentication problem with a9g2-feh2 has been resolved by Socrata.
However, this test expects an error because it only uses $app_token instead of the correct $$app_token. While we use testthat::expect_error(), httr will still return an error:
getResponse: Error in httr GET: 400 https://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
It's unclear why an error is being returned while an error is expect. Unclear whether this is an issue with testthat or httr. @geneorama indicated he may have a fix for this, so waiting on his input on a work-around.
The 400 errors are a consequence of #137. When encountering the latter errors, R will dump out messages generated by RSocrata's getResponse() function and will print alongside the 404 error (or any other error). By resolving #137, it also resolved this.
Received an email from the CRAN support team, noting that some RSocrata tests are failing on a regular basis. Below is an excerpt of the failing tests as of 2017-12-04:
The error pertains to #137 that we now need to resolve.
The
400
and403
errors are more mysterious. Below is the output ofhttps://soda.demo.socrata.com/resource/4334-bgaj.csv?%24app_token=ew2rEMuESuzWPqMkyPfOSGJgE&$order=:id
I will email Socrata to determine the source of the error.
Fixes will need to be submitted by 2017-12-17.
The text was updated successfully, but these errors were encountered: