Package: archiveRetriever Check: tests New result: ERROR Running ‘testthat.R’ [6s/116s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(archiveRetriever) > > test_check("archiveRetriever") ERROR in Urls[ 2 ]: Failed to parse text ERROR in Urls[ 1 ]: Failed to parse text ERROR in Urls[ 4 ]: Failed to parse text ERROR in Urls[ 1 ]: Failed to parse text [ FAIL 10 | WARN 8 | SKIP 16 | PASS 61 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • On CRAN (16): 'test_archive_overview.R:10:3', 'test_archive_overview.R:22:3', 'test_archive_overview.R:78:13', 'test_retrieve_urls.R:9:3', 'test_retrieve_urls.R:112:13', 'test_retrieve_urls.R:145:3', 'test_retrieve_urls.R:153:3', 'test_scrape_urls.R:415:3', 'test_scrape_urls.R:447:3', 'test_scrape_urls.R:467:5', 'test_scrape_urls.R:589:5', 'test_scrape_urls.R:628:5', 'test_scrape_urls.R:641:3', 'test_scrape_urls.R:658:3', 'test_scrape_urls.R:672:3', 'test_scrape_urls.R:700:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_retrieve_links.R:9:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/")`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:8:5 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/") at test_retrieve_links.R:9:5 ── Error ('test_retrieve_links.R:158:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", filter = TRUE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:157:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:158:5 ── Error ('test_retrieve_links.R:169:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", filter = FALSE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:168:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:169:5 ── Error ('test_retrieve_links.R:180:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("http://web.archive.org/web/20190801001228/https://www.spiegel.de/", pattern = "spiegel.de/politik")`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:179:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:180:5 ── Error ('test_retrieve_links.R:200:5'): retrieve_links() returns a data frame ── Error in `retrieve_links("https://de.wikipedia.org/wiki/Jesus_von_Nazaret", nonArchive = TRUE)`: Failed to parse text Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_retrieve_links.R:199:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::retrieve_links(...) at test_retrieve_links.R:200:5 ── Failure ('test_retrieve_urls.R:133:13'): retrieve_urls() returns error if request timeout ── `retrieve_urls(...)` did not throw an error. ── Failure ('test_scrape_urls.R:410:5'): scrape_urls() needs to start with second row when startnum is 2 ── output$Urls[1] not equal to "http://web.archive.org/web/20201009174440/https://www.uni-mannheim.de/universitaet/profil/geschichte/". target is NULL, current is character ── Failure ('test_scrape_urls.R:565:5'): scrape_urls() needs to sleep every 20 Urls ── nrow(output) not equal to 21. 1/1 mismatches [1] 1 - 21 == -20 ── Failure ('test_scrape_urls.R:622:5'): scrape_urls() needs to output 4 rows ── nrow(output) not equal to 4. 1/1 mismatches [1] 1 - 4 == -3 ── Error ('test_scrape_urls.R:687:5'): scrape_urls() returns a data frame ────── Error in `names(x) <- value`: 'names' attribute [2] must be the same length as the vector [0] Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test_scrape_urls.R:686:3 2. │ └─cassette$call_block(...) 3. └─archiveRetriever::scrape_urls(...) at test_scrape_urls.R:687:5 4. └─base::`colnames<-`(`*tmp*`, value = cnames) [ FAIL 10 | WARN 8 | SKIP 16 | PASS 61 ] Error: Test failures Execution halted Package: citecorp Check: tests New result: ERROR Running ‘test-all.R’ [3s/137s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library("testthat") > test_check("citecorp") Loading required package: citecorp [ FAIL 15 | WARN 0 | SKIP 0 | PASS 43 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-oc_coci.R:81:5'): oc_coci_meta works ─────────────────────────── Error: Internal Server Error (HTTP 500). - The server encountered an unexpected condition which prevented it from fulfilling the request. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oc_coci.R:80:3 2. │ └─cassette$call_block(...) 3. └─citecorp::oc_coci_meta(doi1) at test-oc_coci.R:81:5 4. └─citecorp:::oc_coci_stub(...) 5. └─citecorp:::oc_GET(...) 6. └─citecorp:::errs(res) 7. └─fun$do_verbose(x) 8. └─super$do(response, self$mssg, template) ── Error ('test-oc_coci.R:100:5'): oc_coci_meta - many dois ──────────────────── Error: Internal Server Error (HTTP 500). - The server encountered an unexpected condition which prevented it from fulfilling the request. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-oc_coci.R:99:3 2. │ └─cassette$call_block(...) 3. └─citecorp::oc_coci_meta(c(doi1, doi3)) at test-oc_coci.R:100:5 4. └─citecorp:::oc_coci_stub(...) 5. └─citecorp:::oc_GET(...) 6. └─citecorp:::errs(res) 7. └─fun$do_verbose(x) 8. └─super$do(response, self$mssg, template) ── Failure ('test-oc_coci.R:120:3'): oc_coci_citation works ──────────────────── x$cited inherits from `'NULL'` not `'character'`. ── Failure ('test-oc_coci.R:121:3'): oc_coci_citation works ──────────────────── x$oci inherits from `'NULL'` not `'character'`. ── Failure ('test-oc_coci.R:122:3'): oc_coci_citation works ──────────────────── x$citing inherits from `'NULL'` not `'character'`. ── Failure ('test-oc_coci.R:124:3'): oc_coci_citation works ──────────────────── NROW(x) not equal to 1. 1/1 mismatches [1] 0 - 1 == -1 ── Error ('test-oc_coci.R:127:3'): oc_coci_citation works ────────────────────── Error in `expect_match(x$cited, "10\\.")`: is.character(act$val) is not TRUE Backtrace: ▆ 1. └─testthat::expect_match(x$cited, "10\\.") at test-oc_coci.R:127:3 2. └─base::stopifnot(is.character(act$val)) ── Failure ('test-oc_coci.R:140:3'): oc_coci_citation - many dois ────────────── NROW(x) not equal to 2. 1/1 mismatches [1] 0 - 2 == -2 ── Failure ('test-oc_coci.R:155:3'): citecorp catches cloudflare errors ──────── `oc_coci_cites(doi1)` did not throw an error. ── Failure ('test-oc_coci.R:160:3'): citecorp catches cloudflare errors ──────── `oc_coci_cites(doi3)` did not throw an error. ── Failure ('test-oc_lookup.R:10:3'): oc_doi2ids works ───────────────────────── sort(names(x)) not equal to `cols`. Lengths differ: 0 is not 4 ── Failure ('test-oc_lookup.R:21:3'): oc_doi2ids works ───────────────────────── sort(names(x)) not equal to c("doi", "paper"). Lengths differ: 0 is not 2 ── Failure ('test-oc_lookup.R:25:3'): oc_doi2ids works ───────────────────────── sort(names(y)) not equal to c("doi", "paper"). Lengths differ: 0 is not 2 ── Failure ('test-oc_lookup.R:43:3'): oc_pmid2ids works ──────────────────────── sort(names(x)) not equal to `cols`. Lengths differ: 0 is not 4 ── Failure ('test-oc_lookup.R:61:3'): oc_pmcid2ids works ─────────────────────── sort(names(x)) not equal to `cols`. Lengths differ: 0 is not 4 [ FAIL 15 | WARN 0 | SKIP 0 | PASS 43 ] Error: Test failures Execution halted Package: magmaR Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Download.Rmd’ using rmarkdown Quitting from Download.Rmd:235-256 [unnamed-chunk-10] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `.perform_curl_get()`: ! You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. --- Backtrace: ▆ 1. └─magmaR::retrieveProjects(target = prod) 2. └─magmaR:::.perform_curl_get(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Download.Rmd' failed with diagnostics: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. --- failed re-building ‘Download.Rmd’ --- re-building ‘Upload.Rmd’ using rmarkdown Quitting from Upload.Rmd:136-151 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error in `.perform_curl_get()`: ! You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. --- Backtrace: ▆ 1. └─magmaR::updateValues(...) 2. └─magmaR::retrieveTemplate(target, projectName) 3. └─magmaR:::.retrieve(...) 4. └─magmaR:::.perform_curl_get(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Upload.Rmd' failed with diagnostics: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. --- failed re-building ‘Upload.Rmd’ SUMMARY: processing the following files failed: ‘Download.Rmd’ ‘Upload.Rmd’ Error: Vignette re-building failed. Execution halted Package: magmaR Check: tests New result: ERROR Running ‘testthat.R’ [3s/19s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > if (!requireNamespace('vcr')) { + "Skipping tests as the vcr webmockr package is integral to testing yet unavailable." + } else { + test_check("magmaR") + } Loading required namespace: vcr Loading required package: magmaR [ FAIL 14 | WARN 0 | SKIP 0 | PASS 18 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-matrix.R:10:5'): (code run outside of `test_that()`) ─────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-matrix.R:8:1 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveIds(targ, "example", "rna_seq") at test-matrix.R:10:5 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-meta.R:10:9'): retrieveMetadata, same branch ─────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-meta.R:9:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveAttributes(targ, "example", "biospecimen") at test-meta.R:10:9 4. └─magmaR::retrieveIds(target, projectName, modelName, ...) 5. └─magmaR:::.retrieve(...) 6. └─magmaR:::.perform_curl_get(...) ── Error ('test-query.R:11:9'): query_list ───────────────────────────────────── Error in `.perform_curl_get(fxn = "/query", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-query.R:9:5 2. │ └─cassette$call_block(...) 3. └─magmaR::query(...) at test-query.R:11:9 4. └─magmaR:::.query(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-query.R:29:9'): query_df ─────────────────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-query.R:27:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveIds(targ, "example", "subject") at test-query.R:29:9 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-retrieve.R:10:9'): retrieve & retrieveJSON work with minimal input ── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-retrieve.R:9:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveJSON(targ, "example", "subject") at test-retrieve.R:10:9 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-retrieve.R:35:9'): retrieve works with targetted input, 1att ─── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-retrieve.R:34:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieve(...) at test-retrieve.R:35:9 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-retrieve.R:50:9'): retrieve works with targetted input, 1rec ─── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-retrieve.R:49:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieve(...) at test-retrieve.R:50:9 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-retrieve.R:65:9'): retrieveJSON can hide templates ───────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-retrieve.R:64:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveJSON(...) at test-retrieve.R:65:9 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-special.R:10:7'): retrieveTemplate ───────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-special.R:9:3 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveTemplate(targ, "example") at test-special.R:10:7 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-special.R:17:7'): retrieveModels ─────────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-special.R:16:3 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveModels(targ, "example") at test-special.R:17:7 4. └─magmaR::retrieveTemplate(target, projectName) 5. └─magmaR:::.retrieve(...) 6. └─magmaR:::.perform_curl_get(...) ── Error ('test-special.R:24:7'): retrieveIds ────────────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-special.R:23:3 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveIds(targ, "example", "subject") at test-special.R:24:7 4. └─magmaR:::.retrieve(...) 5. └─magmaR:::.perform_curl_get(...) ── Error ('test-special.R:31:7'): retrieveAttributes ─────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-special.R:30:3 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveAttributes(targ, "example", "subject") at test-special.R:31:7 4. └─magmaR::retrieveIds(target, projectName, modelName, ...) 5. └─magmaR:::.retrieve(...) 6. └─magmaR:::.perform_curl_get(...) ── Error ('test-special.R:38:9'): retrieveParentName ─────────────────────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-special.R:37:5 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveParentName(targ, "example", "demographic") at test-special.R:38:9 4. └─magmaR::retrieveTemplate(target, projectName) 5. └─magmaR:::.retrieve(...) 6. └─magmaR:::.perform_curl_get(...) ── Error ('test-update.R:12:5'): (code run outside of `test_that()`) ─────────── Error in `.perform_curl_get(fxn = "/retrieve", target, requestBody, parse = TRUE, verbose = verbose)`: You are unauthorized. Update your 'token' input with 'magmaRset()', then retry. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-update.R:11:1 2. │ └─cassette$call_block(...) 3. └─magmaR::retrieveMatrix(targ, "example", "rna_seq", "all", "gene_counts") at test-update.R:12:5 4. └─magmaR::retrieveIds(target, projectName, modelName) 5. └─magmaR:::.retrieve(...) 6. └─magmaR:::.perform_curl_get(...) [ FAIL 14 | WARN 0 | SKIP 0 | PASS 18 ] Error: Test failures Execution halted Package: qualtRics Check: tests New result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(qualtRics) > > test_check("qualtRics") To install your credentials for use in future sessions, run this function with `install = TRUE`. Problem items: income re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' To install your credentials for use in future sessions, run this function with `install = TRUE`. Problem items: invalidkey re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' re-record cassettes using 'preserve_exact_body_bytes = TRUE' To install your credentials for use in future sessions, run this function with `install = TRUE`. -- Column specification -------------------------------------------------------- cols( .default = col_double(), StartDate = col_datetime(format = ""), EndDate = col_datetime(format = ""), IPAddress = col_character(), RecordedDate = col_datetime(format = ""), ResponseId = col_character(), RecipientLastName = col_logical(), RecipientFirstName = col_logical(), RecipientEmail = col_logical(), ExternalReference = col_logical(), DistributionChannel = col_character(), UserLanguage = col_character(), Q2 = col_character(), `Q2 - Topics` = col_logical() ) i Use `spec()` for the full column specifications. -- Column specification -------------------------------------------------------- cols( V1 = col_character(), V2 = col_character(), V3 = col_character(), V4 = col_logical(), V5 = col_logical(), V6 = col_character(), V7 = col_double(), V8 = col_datetime(format = ""), V9 = col_datetime(format = ""), V10 = col_double(), Q1 = col_double(), Q2 = col_character(), LocationLatitude = col_double(), LocationLongitude = col_double(), LocationAccuracy = col_double() ) [ FAIL 11 | WARN 2 | SKIP 16 | PASS 64 ] ══ Skipped tests (16) ══════════════════════════════════════════════════════════ • On CRAN (16): 'test-all-mailinglists.R:1:1', 'test-all-surveys.R:1:1', 'test-api-credentials.R:2:3', 'test-api-credentials.R:11:3', 'test-fetch-distribution-history.R:1:1', 'test-fetch-distributions.R:1:1', 'test-fetch-mailinglist.R:1:1', 'test-fetch-survey.R:3:3', 'test-fetch-survey.R:28:3', 'test-fetch-survey.R:59:3', 'test-fetch-survey.R:83:3', 'test-fetch-survey.R:140:3', 'test-fetch-survey.R:153:3', 'test-list-distribution-links.R:1:1', 'test-qualtrics-api-request.R:5:3', 'test-survey-questions.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-column_map.R:8:3'): column_map() retrieves survey column mapping ── Names of `x` ('qid', 'choice', 'textEntry') don't match 'qname', 'qid', 'choice', 'textEntry' ── Failure ('test-column_map.R:9:3'): column_map() retrieves survey column mapping ── x$qname has type 'NULL', not 'character'. ── Error ('test-extract-colmap.R:4:5'): extract_colmap() retrieves an appropriate column map generated within read_survey ── Error in `export_responses_init(surveyID = surveyID, body = body)`: Qualtrics failed to return a progress ID for your download request * Please re-run your query. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-extract-colmap.R:3:3 2. │ └─cassette$call_block(...) 3. └─qualtRics::fetch_survey(...) at test-extract-colmap.R:4:5 4. └─qualtRics:::export_responses_request(...) 5. └─qualtRics:::export_responses_init(surveyID = surveyID, body = body) 6. └─rlang::abort(...) ── Error ('test-fetch-description.R:4:5'): fetch_description() retrieves an appropriate survey description ── Error in `bind_rows(metadata, projectinfo)`: Can't combine `..1$name` and `..2$name` . Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-fetch-description.R:3:3 2. │ └─cassette$call_block(...) 3. ├─qualtRics::fetch_description("SV_6s93xhVtm1e4j3v") at test-fetch-description.R:4:5 4. │ └─dplyr::bind_rows(metadata, projectinfo) 5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env()) 6. └─vctrs (local) ``() 7. └─vctrs::vec_default_ptype2(...) 8. ├─base::withRestarts(...) 9. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 10. │ └─base (local) doWithOneRestart(return(expr), restart) 11. └─vctrs::stop_incompatible_type(...) 12. └─vctrs:::stop_incompatible(...) 13. └─vctrs:::stop_vctrs(...) 14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) ── Error ('test-fetch-description.R:24:5'): fetch_description() with elements set works ── Error in `bind_rows(metadata, projectinfo)`: Can't combine `..1$name` and `..2$name` . Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-fetch-description.R:23:3 2. │ └─cassette$call_block(...) 3. ├─qualtRics::fetch_description(...) at test-fetch-description.R:24:5 4. │ └─dplyr::bind_rows(metadata, projectinfo) 5. │ └─vctrs::vec_rbind(!!!dots, .names_to = .id, .error_call = current_env()) 6. └─vctrs (local) ``() 7. └─vctrs::vec_default_ptype2(...) 8. ├─base::withRestarts(...) 9. │ └─base (local) withOneRestart(expr, restarts[[1L]]) 10. │ └─base (local) doWithOneRestart(return(expr), restart) 11. └─vctrs::stop_incompatible_type(...) 12. └─vctrs:::stop_incompatible(...) 13. └─vctrs:::stop_vctrs(...) 14. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) ── Error ('test-fetch-description.R:37:5'): fetch_description() with legacy = TRUE reverts to metadata() ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-fetch-description.R:36:3 2. │ └─cassette$call_block(...) 3. └─qualtRics::fetch_description("SV_6s93xhVtm1e4j3v", legacy = TRUE) at test-fetch-description.R:37:5 4. └─qualtRics::metadata(surveyID = surveyID, get = elements, ...) 5. └─base::data.frame(...) ── Error ('test-fetch-description.R:53:5'): setting elements works with legacy = TRUE ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-fetch-description.R:52:3 2. │ └─cassette$call_block(...) 3. └─qualtRics::fetch_description(...) at test-fetch-description.R:53:5 4. └─qualtRics::metadata(surveyID = surveyID, get = elements, ...) 5. └─base::data.frame(...) ── Error ('test-fetch-description.R:90:6'): passing a list to elements when legacy = TRUE succeeds with warning ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-fetch-description.R:88:2 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─vcr::use_cassette(...) 8. │ └─cassette$call_block(...) 9. └─qualtRics::fetch_description(...) at test-fetch-description.R:90:6 10. └─qualtRics::metadata(surveyID = surveyID, get = elements, ...) 11. └─base::data.frame(...) ── Error ('test-metadata.R:22:5'): metadata() should return metadata + questions + responsecounts ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-metadata.R:21:3 2. │ └─cassette$call_block(...) 3. └─qualtRics::metadata("SV_3gbwq8aJgqPwQDP") at test-metadata.R:22:5 4. └─base::data.frame(...) ── Error ('test-metadata.R:36:5'): metadata() returns flow if specified in new way (char vec) ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-metadata.R:35:3 2. │ └─cassette$call_block(...) 3. └─qualtRics::metadata("SV_3gbwq8aJgqPwQDP", get = "flow") at test-metadata.R:36:5 4. └─base::data.frame(...) ── Error ('test-metadata.R:50:5'): metadata() ADDS flow if specified in old way (logical list) ── Error in `data.frame(surveyID = resp_filt$id, name = resp_filt$name, ownerId = resp_filt$ownerId, organizationId = resp_filt$organizationId, isActive = resp_filt$isActive, creationDate = resp_filt$creationDate, lastModifiedDate = resp_filt$lastModifiedDate, expiration_startdate = ifelse(is.null(resp_filt$expiration$startDate), NA, resp_filt$expiration$startDate), expiration_endDate = ifelse(is.null(resp_filt$expiration$endDate), NA, resp_filt$expiration$endDate))`: arguments imply differing number of rows: 0, 1 Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-metadata.R:48:1 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─vcr::use_cassette(...) 8. │ └─cassette$call_block(...) 9. └─qualtRics::metadata("SV_3gbwq8aJgqPwQDP", get = list(flow = TRUE)) at test-metadata.R:50:5 10. └─base::data.frame(...) [ FAIL 11 | WARN 2 | SKIP 16 | PASS 64 ] Error: Test failures In addition: Warning message: In readRenviron("~/.Renviron") : file '/home/hornik/.Renviron' cannot be opened for reading Execution halted Package: vcr Check: tests New result: ERROR Running ‘test-all.R’ [5s/9s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library("testthat") > library('vcr') > test_check("vcr") using base url for tests: https://hb.cran.dev [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • Did not find: '../../man/vcr_configure.Rd' (1): 'test-configuration.R:53:3' • On CRAN (49): 'test-RequestHandler.R:1:1', 'test-RequestIgnorer.R:41:3', 'test-RequestIgnorer.R:83:3', 'test-ause_cassette.R:6:3', 'test-ause_cassette_match_body_empty_body.R:2:3', 'test-ause_cassette_match_query.R:11:3', 'test-ause_cassette_match_requests_on.R:2:3', 'test-ause_cassette_match_requests_on.R:129:3', 'test-ause_cassette_match_requests_on_json.R:6:3', 'test-ause_cassette_match_requests_on_json.R:63:3', 'test-ause_cassette_re_record.R:15:3', 'test-ause_cassette_record_modes.R:13:3', 'test-ause_cassette_record_modes.R:54:3', 'test-ause_cassette_record_modes.R:80:3', 'test-ause_cassette_record_modes.R:126:3', 'test-ause_cassette_write_to_disk.R:8:3', 'test-ause_cassette_write_to_disk.R:39:3', 'test-ause_cassette_write_to_disk.R:67:3', 'test-ause_cassette_write_to_disk_binary_files.R:7:3', 'test-ause_cassette_write_to_disk_binary_files.R:42:3', 'test-ause_cassette_write_to_disk_binary_files.R:104:3', 'test-binary_images.R:7:3', 'test-binary_images.R:57:3', 'test-check_cassette_names.R:2:3', 'test-crul.R:1:1', 'test-filter-sensitive-strings.R:1:1', 'test-filter_headers.R:4:3', 'test-filter_headers.R:61:3', 'test-filter_headers.R:106:3', 'test-filter_headers.R:138:3', 'test-filter_headers.R:185:3', 'test-filter_headers.R:233:3', 'test-filter_query_parameters.R:10:3', 'test-filter_query_parameters.R:57:3', 'test-filter_query_parameters.R:104:3', 'test-filter_query_parameters.R:154:3', 'test-filter_query_parameters.R:199:3', 'test-httr.R:1:1', 'test-httr2.R:1:1', 'test-request_summary.R:10:3', 'test-response_summary.R:13:3', 'test-response_summary.R:29:3', 'test-response_summary.R:47:3', 'test-serializers_json.R:22:3', 'test-use_vcr.R:4:3', 'test-vcr_test_path.R:2:3', 'test-vcr_test_path.R:24:3', 'test-vcr_test_path.R:46:3', 'test-write_disk_path_package_context.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-localhost_port.R:25:3'): testing against localhost port works ── Error in `readLines(con, warn = readLines.warn)`: cannot open the connection Backtrace: ▆ 1. └─yaml::yaml.load_file(path) at test-localhost_port.R:25:3 2. ├─yaml::yaml.load(...) 3. │ └─base::paste(string, collapse = "\n") 4. └─base::readLines(con, warn = readLines.warn) [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] Error: Test failures Execution halted