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
* checking tests ...
Running ‘spelling.R’
Running ‘testthat.R’
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
'test-kobo_export_create.R:21:3', 'test-kobo_export_create.R:30:3',
'test-kobo_exports.R:2:3', 'test-kobo_xls_dl.R:2:3',
'test-kobotools_api.R:31:3', 'test-kobotools_kpi_data.R:38:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-kobo_df_download.R:10:3'): invalid input fails ───────────────
`is.null(...)` did not throw the expected error.
── Failure ('test-kobo_media_downloader.R:10:3'): invalid input fails ──────────
`is.null(kobo_media_downloader(uname = "scary_", pwd = "sy", assetid = "ahwQoXtnbQJB"))` did not throw the expected error.
── Failure ('test-kobo_xls_dl.R:12:3'): invalid input fails ────────────────────
`is.null(kobo_xls_dl(uname = "scary_", pwd = "sy", assetid = "ahwQoXtnbQJB"))` did not throw the expected error.
[ FAIL 3 | WARN 3 | SKIP 10 | PASS 25 ]
Error: Test failures
Execution halted
The problem is that your package makes an authenticated HTTP request to https://kobo.humanitarianresponse.info/ but this API seems to have moved and gets redirected to to https://eu.kobotoolbox.org/.
For security reasons, the new version of curl no longer automatically sends the credentials to the redirected host.
The easiest solution is to search-and-replace kobo.humanitarianresponse.info with eu.kobotoolbox.org in your code.
The text was updated successfully, but these errors were encountered:
The latest version of the curl package changes the default for CURLOPT_UNRESTRICTED_AUTH to 0, which causes the CRAN version of KoboconnectR to fail its tests:
The problem is that your package makes an authenticated HTTP request to
https://kobo.humanitarianresponse.info/
but this API seems to have moved and gets redirected to tohttps://eu.kobotoolbox.org/
.For security reasons, the new version of curl no longer automatically sends the credentials to the redirected host.
The easiest solution is to search-and-replace
kobo.humanitarianresponse.info
witheu.kobotoolbox.org
in your code.The text was updated successfully, but these errors were encountered: