* using log directory ‘/data/localhost/ripley/R/packages/tests-BLIS/readmit.Rcheck’ * using R Under development (unstable) (2026-10-23 r90751) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-24 13:09:09 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘readmit/DESCRIPTION’ ... OK * this is package ‘readmit’ version ‘0.0.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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘readmit’ can be installed ... OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [2s/16s] ERROR Running examples in ‘readmit-Ex.R’ failed The error most likely occurred in: > ### Name: pdc_read > ### Title: Import datasets from the Provider Data Catalog (PDC) > ### Aliases: pdc_read pdc_datasets pdc_topics > > ### ** Examples > > # 1. See list of available data topics > pdc_topics() [1] "Dialysis facilities" [2] "Doctors and clinicians" [3] "Home health services" [4] "Hospice care" [5] "Hospitals" [6] "Inpatient rehabilitation facilities" [7] "Long-term care hospitals" [8] "Nursing homes including rehab services" [9] "Physician office visit costs" [10] "Supplier directory" > > > # 2. See list of datasets available for a topic > hospital_data <- pdc_datasets("Hospitals") > hospital_data # A tibble: 75 × 7 datasetid topic title description issued modified downloadurl 1 axe7-s95e Hospitals Ambulatory… This file … 2025-10-01 2025-12-16 https://da… 2 4jcv-atw7 Hospitals Ambulatory… A list of … 2025-10-01 2025-12-16 https://da… 3 wue8-3vwe Hospitals Ambulatory… This file … 2025-10-01 2025-12-16 https://da… 4 hbf-map Hospitals Birthing F… A list of … 2025-07-09 2026-07-28 https://da… 5 muwa-iene Hospitals CMS Medica… This data … 2020-12-10 2026-07-22 https://da… 6 ynj2-r877 Hospitals Complicati… Complicati… 2023-07-05 2026-09-10 https://da… 7 qqw3-t4ie Hospitals Complicati… Complicati… 2020-12-10 2026-09-10 https://da… 8 bs2r-24vh Hospitals Complicati… Complicati… 2020-12-10 2026-09-10 https://da… 9 jfnd-nl7s Hospitals Complicati… Prospectiv… 2024-07-31 2026-09-10 https://da… 10 z8ax-x9j1 Hospitals Complicati… Prospectiv… 2024-07-31 2026-09-10 https://da… # ℹ 65 more rows > > # Find a dataset you want > hospital_data |> + dplyr::filter( + stringr::str_detect( + title, + pattern = "(?i)readmission" + ) + ) # A tibble: 1 × 7 datasetid topic title description issued modified downloadurl 1 9n3s-kdb3 Hospitals Hospital Re… In October… 2020-12-10 2026-01-26 https://da… > > > # 3. Use that data set ID to import > pdc_read("9n3s-kdb3") Warning: Failed to open 'https://data.cms.gov/provider-data/sites/default/files/resources/a171bc36c488d3e0dc33ec63abb469a6_1770163617/FY_2026_Hospital_Readmissions_Reduction_Program_Hospital.csv': The requested URL returned error: 403 Error: cannot open the connection Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR 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(readmit) > > test_check("readmit") Saving _problems/test-pdc_read-2.R [ FAIL 1 | WARN 1 | SKIP 0 | PASS 9 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-pdc_read.R:2:3'): A data frame is returned ───────────────────── Error: cannot open the connection Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-pdc_read.R:2:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─methods::is(pdc_read("xubh-q36u"), "data.frame") 5. ├─readmit::pdc_read("xubh-q36u") 6. │ └─readr::read_csv(file = downloadurl, ...) 7. │ └─vroom::vroom(...) 8. │ └─vroom:::vroom_(...) 9. └─vroom (local) ``(``, "rb") 10. └─base::tryCatch(...) 11. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. └─value[[3L]](cond) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 9 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/localhost/ripley/R/packages/tests-BLIS/readmit.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:51.19, 22.42 + 4.37