* using log directory 'd:/Rcompile/CRANpkg/local/4.6/qualtRics.Rcheck' * using R Under development (unstable) (2025-07-22 r88445 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'qualtRics/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'qualtRics' version '3.2.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'qualtRics' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [5s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [3s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [15s] ERROR Running 'testthat.R' [14s] 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 To install your credentials for use in future sessions, run this function with `install = TRUE`. Problem items: invalidkey 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 1 | WARN 14 | SKIP 16 | PASS 109 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Error ('test-extract-colmap.R:4:5'): extract_colmap() retrieves an appropriate column map generated within read_survey ── Error in `RequestHandlerHttr$new(req)$handle()`: Failed to find matching request in active cassette, "extract_colmap". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-extract-colmap.R:3:3 2. │ └─base::withCallingHandlers(...) 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. └─qualtRics:::qualtrics_api_request(...) 7. ├─base::do.call(httr::RETRY, arglist) 8. └─httr (local) ``(...) 9. ├─base::tryCatch(request_perform(req, hu$handle$handle), error = function(e) e) 10. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. └─httr:::request_perform(req, hu$handle$handle) 14. └─httr:::perform_callback("request", req = req) 15. └─vcr (local) callback(...) 16. └─RequestHandlerHttr$new(req)$handle() 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) [ FAIL 1 | WARN 14 | SKIP 16 | PASS 109 ] Error: Test failures In addition: Warning message: In readRenviron("~/.Renviron") : file 'C:\Users\CRAN\Documents/.Renviron' cannot be opened for reading Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR