CRAN Package Check Results for Package rsoi

Last updated on 2020-07-23 05:49:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.3 2.82 27.58 30.40 OK
r-devel-linux-x86_64-debian-gcc 0.5.3 2.18 21.59 23.77 OK
r-devel-linux-x86_64-fedora-clang 0.5.3 43.01 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.3 33.01 ERROR
r-devel-windows-ix86+x86_64 0.5.3 9.00 87.00 96.00 OK
r-patched-linux-x86_64 0.5.3 2.31 27.20 29.51 ERROR
r-patched-solaris-x86 0.5.3 51.30 ERROR
r-release-linux-x86_64 0.5.3 2.60 27.46 30.06 OK
r-release-windows-ix86+x86_64 0.5.3 8.00 155.00 163.00 ERROR
r-oldrel-macos-x86_64 0.5.3 OK
r-oldrel-windows-ix86+x86_64 0.5.3 4.00 83.00 87.00 OK

Check Details

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/500s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rsoi)
     >
     > test_check("rsoi")
     ── 1. Error: Does download_nao download a data.frame? (@test_download_.R#13) ──
     replacement has 1 row, data has 0
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     8. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 2. Error: Does download_aao download a data.frame? (@test_download_.R#13) ──
     cannot open the connection to 'https://www.cpc.ncep.noaa.gov/products/precip/CWlink/daily_ao_index/aao/monthly.aao.index.b79.current.ascii'
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     7. utils::read.fwf(...)
     8. base::file(file, "rt")
    
     ── 3. Error: read_oni recovers data (@test_download_.R#34) ────────────────────
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10001 milliseconds
     Backtrace:
     1. rsoi:::download_fun(use_cache = FALSE, file = file)
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. rsoi:::check_response(oni_link)
     5. curl::curl_fetch_memory(link)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 24 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 3 ]
     1. Error: Does download_nao download a data.frame? (@test_download_.R#13)
     2. Error: Does download_aao download a data.frame? (@test_download_.R#13)
     3. Error: read_oni recovers data (@test_download_.R#34)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [0m/12m]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rsoi)
     >
     > test_check("rsoi")
     ── 1. Error: Does download_ao download a data.frame? (@test_download_.R#13) ───
     replacement has 1 row, data has 0
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     8. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 2. Error: Does download_nao download a data.frame? (@test_download_.R#13) ──
     replacement has 1 row, data has 0
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     8. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 3. Error: Does download_aao download a data.frame? (@test_download_.R#13) ──
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10001 milliseconds
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     7. rsoi:::check_response(aao_link)
     8. curl::curl_fetch_memory(link)
    
     ── 4. Error: read_oni recovers data (@test_download_.R#34) ────────────────────
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10001 milliseconds
     Backtrace:
     1. rsoi:::download_fun(use_cache = FALSE, file = file)
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. rsoi:::check_response(oni_link)
     5. curl::curl_fetch_memory(link)
    
     ── 5. Error: read_soi recovers data (@test_download_.R#34) ────────────────────
     replacement has 1 row, data has 0
     Backtrace:
     1. rsoi:::download_fun(use_cache = FALSE, file = file)
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     5. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 6. Error: read_aao recovers data (@test_download_.R#34) ────────────────────
     cannot open the connection to 'https://www.cpc.ncep.noaa.gov/products/precip/CWlink/daily_ao_index/aao/monthly.aao.index.b79.current.ascii'
     Backtrace:
     1. rsoi:::download_fun(use_cache = FALSE, file = file)
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. utils::read.fwf(...)
     5. base::file(file, "rt")
    
     ── 7. Error: Does download_enso() download a data.frame? (@test_download_enso.R#
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10001 milliseconds
     Backtrace:
     1. testthat::expect_is(download_enso(), "data.frame")
     4. rsoi::download_enso()
     5. rsoi::download_oni()
     6. rsoi:::with_cache(...)
     7. rsoi:::unmemoised(...)
     8. rsoi:::check_response(oni_link)
     9. curl::curl_fetch_memory(link)
    
     ── 8. Error: Does download_enso() save to a file? (@test_download_enso.R#16) ──
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10001 milliseconds
     Backtrace:
     1. testthat::expect_is(download_enso(create_csv = TRUE), "data.frame")
     4. rsoi::download_enso(create_csv = TRUE)
     5. rsoi::download_oni()
     6. rsoi:::with_cache(...)
     7. rsoi:::unmemoised(...)
     8. rsoi:::check_response(oni_link)
     9. curl::curl_fetch_memory(link)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 18 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 8 ]
     1. Error: Does download_ao download a data.frame? (@test_download_.R#13)
     2. Error: Does download_nao download a data.frame? (@test_download_.R#13)
     3. Error: Does download_aao download a data.frame? (@test_download_.R#13)
     4. Error: read_oni recovers data (@test_download_.R#34)
     5. Error: read_soi recovers data (@test_download_.R#34)
     6. Error: read_aao recovers data (@test_download_.R#34)
     7. Error: Does download_enso() download a data.frame? (@test_download_enso.R#6)
     8. Error: Does download_enso() save to a file? (@test_download_enso.R#16)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [0m/11m]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rsoi)
     >
     > test_check("rsoi")
     ── 1. Error: the first and last rows of ONI_month_window are NA (@test-download-
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10000 milliseconds
     Backtrace:
     1. rsoi::download_oni()
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. rsoi:::check_response(oni_link)
     5. curl::curl_fetch_memory(link)
    
     ── 2. Error: Does download_soi download a data.frame? (@test_download_.R#13) ──
     replacement has 1 row, data has 0
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     8. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 3. Error: Does download_aao download a data.frame? (@test_download_.R#13) ──
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10000 milliseconds
     Backtrace:
     1. testthat::expect_is(fun(), "data.frame")
     4. rsoi:::fun()
     5. rsoi:::with_cache(...)
     6. rsoi:::unmemoised(...)
     7. rsoi:::check_response(aao_link)
     8. curl::curl_fetch_memory(link)
    
     ── 4. Error: read_oni recovers data (@test_download_.R#34) ────────────────────
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10000 milliseconds
     Backtrace:
     1. rsoi:::download_fun(use_cache = FALSE, file = file)
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. rsoi:::check_response(oni_link)
     5. curl::curl_fetch_memory(link)
    
     ── 5. Error: Does download_enso() download a data.frame? (@test_download_enso.R#
     replacement has 1 row, data has 0
     Backtrace:
     1. testthat::expect_is(download_enso(), "data.frame")
     4. rsoi::download_enso()
     5. rsoi::download_soi()
     6. rsoi:::with_cache(...)
     7. rsoi:::unmemoised(...)
     9. base::`$<-.data.frame`(`*tmp*`, "Date", value = structure(NA_real_, class = "Date"))
    
     ── 6. Error: Does download_enso() save to a file? (@test_download_enso.R#16) ──
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10000 milliseconds
     Backtrace:
     1. testthat::expect_is(download_enso(create_csv = TRUE), "data.frame")
     4. rsoi::download_enso(create_csv = TRUE)
     5. rsoi::download_oni()
     6. rsoi:::with_cache(...)
     7. rsoi:::unmemoised(...)
     8. rsoi:::check_response(oni_link)
     9. curl::curl_fetch_memory(link)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 19 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
     1. Error: the first and last rows of ONI_month_window are NA (@test-download-oni.R#4)
     2. Error: Does download_soi download a data.frame? (@test_download_.R#13)
     3. Error: Does download_aao download a data.frame? (@test_download_.R#13)
     4. Error: read_oni recovers data (@test_download_.R#34)
     5. Error: Does download_enso() download a data.frame? (@test_download_enso.R#6)
     6. Error: Does download_enso() save to a file? (@test_download_enso.R#16)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.5.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/128s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(rsoi)
     >
     > test_check("rsoi")
     ── 1. Error: Does download_oni download a data.frame? (@test_download_.R#12) ──
     Timeout was reached: [www.ncdc.noaa.gov] Resolving timed out after 10000 milliseconds
     Backtrace:
     1. rsoi:::skip_if_shutdown()
     2. curl::curl_fetch_memory("https://www.ncdc.noaa.gov/teleconnections/nao/data.csv") /home/ripley/R/packages/tests32/rsoi.Rcheck/tests/helper.R:12:2
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 26 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: Does download_oni download a data.frame? (@test_download_.R#12)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.5.3
Check: tests
Result: ERROR
     Running 'testthat.R' [120s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rsoi)
     >
     > test_check("rsoi")
     -- 1. Error: the first and last rows of ONI_month_window are NA (@test-download-
     Timeout was reached: [www.cpc.ncep.noaa.gov] Connection timed out after 10014 milliseconds
     Backtrace:
     1. rsoi::download_oni()
     2. rsoi:::with_cache(...)
     3. rsoi:::unmemoised(...)
     4. rsoi:::check_response(oni_link)
     5. curl::curl_fetch_memory(link)
    
     == testthat results ===========================================================
     [ OK: 25 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the first and last rows of ONI_month_window are NA (@test-download-oni.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64