- using R Under development (unstable) (2024-06-25 r86831 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'swagger/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'swagger' version '5.17.14'
- 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 'swagger' can be installed ... OK
See the install log for details.
- checking installed package size ... NOTE
installed size is 6.1Mb
sub-directories of 1Mb or more:
dist3 2.0Mb
dist4 1.7Mb
dist5 2.1Mb
- 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] 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 ... [2s] OK
- checking Rd files ... [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 examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [164s] ERROR
Running 'testthat.R' [164s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(swagger)
>
> test_check("swagger")
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 60 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-md5sum.R:35:7'): index.js md5 sum in package match swagger version released md5sum ──
Error in `download.file(paste0("https://unpkg.com/swagger-ui-dist@", swagger_ui_version,
"/", f), file.path(tmpd, f), mode = "wb", quiet = TRUE)`: cannot open URL 'https://unpkg.com/swagger-ui-dist@3.52.5/index.js'
Backtrace:
▆
1. └─utils::download.file(...) at test-md5sum.R:35:7
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 60 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR, 1 NOTE