- using R version 4.3.0 beta (2023-04-07 r84200)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Big Sur 11.6.7
- using session charset: UTF-8
- checking for file ‘npi/DESCRIPTION’ ... OK
- this is package ‘npi’ version ‘0.2.0’
- 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 ‘npi’ can be installed ... [1s/1s] OK
See the install log for details.
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [1s/1s] OK
- checking Rd files ... [0s/0s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [12s/46s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [12s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
6. └─npi::npi_search(city = "Atlanta", limit = 1)
7. └─npi:::npi_process_results(...)
8. └─npi:::npi_control_requests(params, user_n)
9. └─npi:::npi_get_results(results = results, query = query)
10. └─npi:::npi_get(npi_url(), query = ...)
11. └─npi:::npi_api("GET", url, ...)
12. └─httr (local) FUN(url, ..., config = c(npi_config(), config))
13. └─httr:::request_perform(req, hu$handle$handle)
14. ├─httr:::request_fetch(req$output, req$url, handle)
15. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
16. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 74 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [0s/0s] NONE
‘advanced-use.Rmd’ using ‘UTF-8’... [0s/0s] OK
‘npi.Rmd’ using ‘UTF-8’... [0s/0s] OK
- checking re-building of vignette outputs ... [5s/5s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘advanced-use.Rmd’ using rmarkdown
Quitting from lines 39-46 (advanced-use.Rmd)
Error: processing vignette 'advanced-use.Rmd' failed with diagnostics:
ℹ In index: 1.
Caused by error in `curl::curl_fetch_memory()`:
! Could not resolve host: npiregistry.cms.hhs.gov
--- failed re-building ‘advanced-use.Rmd’
--- re-building ‘npi.Rmd’ using rmarkdown
Quitting from lines 34-36 (npi.Rmd)
Error: processing vignette 'npi.Rmd' failed with diagnostics:
Could not resolve host: npiregistry.cms.hhs.gov
--- failed re-building ‘npi.Rmd’
SUMMARY: processing the following files failed:
‘advanced-use.Rmd’ ‘npi.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [3s/3s] OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '