- using R version 4.4.1 (2024-06-14)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-25) 13.2.0
GNU Fortran (Debian 13.2.0-25) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘argoFloats/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘argoFloats’ version ‘1.0.7’
- 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 ‘argoFloats’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/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 ... [25s/31s] OK
- checking Rd files ... [1s/1s] 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 ... [2s/2s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/16s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/82s] ERROR
Running ‘testthat.R’ [17s/82s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(argoFloats)
>
> test_check("argoFloats")
Error in curl::curl_download(url = url[iurl], destfile = destfileTemp, :
Timeout was reached: [] Failed to connect to data-argo.ifremer.fr port 443 after 10001 ms: Timeout was reached
Error in curl::curl_download(url = url[iurl], destfile = destfileTemp, :
Timeout was reached: [] Failed to connect to usgodae.org port 21 after 10000 ms: Timeout was reached
[ FAIL 2 | WARN 0 | SKIP 3 | PASS 183 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test_download.R:38:15', 'test_download.R:90:15'
• hasArgoTestCache() is not TRUE (1): 'test_subset.R:84:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_download.R:10:15'): getIndex() ─────────────────────────────────
Error in `getIndex(filename = "argo_bio-profile_index.txt.gz", quiet = TRUE,
destdir = tempFile)`: could not download index from these servers:
'https://data-argo.ifremer.fr/argo_bio-profile_index.txt.gz'
'ftp://usgodae.org/pub/outgoing/argo/argo_bio-profile_index.txt.gz'
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test_download.R:10:15
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─argoFloats::getIndex(...)
── Failure ('test_download.R:23:15'): getProfiles() ────────────────────────────
p[["cycle"]] not equal to c("124", "125", "126").
3/3 mismatches
x[1]: NA
y[1]: "124"
x[2]: NA
y[2]: "125"
x[3]: NA
y[3]: "126"
[ FAIL 2 | WARN 0 | SKIP 3 | PASS 183 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [15s/21s] OK
- checking PDF version of manual ... [8s/10s] OK
- checking HTML version of manual ... [3s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR