CRAN Package Check Results for Package internetarchive

Last updated on 2019-06-26 00:47:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.6 3.03 35.55 38.58 OK
r-devel-linux-x86_64-debian-gcc 0.1.6 2.87 27.24 30.11 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.6 47.15 OK
r-devel-linux-x86_64-fedora-gcc 0.1.6 45.13 OK
r-devel-windows-ix86+x86_64 0.1.6 17.00 62.00 79.00 OK
r-patched-linux-x86_64 0.1.6 3.61 35.21 38.82 OK
r-patched-solaris-x86 0.1.6 71.30 ERROR
r-release-linux-x86_64 0.1.6 3.47 36.59 40.06 OK
r-release-windows-ix86+x86_64 0.1.6 9.00 97.00 106.00 OK
r-release-osx-x86_64 0.1.6 OK
r-oldrel-windows-ix86+x86_64 0.1.6 4.00 64.00 68.00 OK
r-oldrel-osx-x86_64 0.1.6 OK

Check Details

Version: 0.1.6
Check: examples
Result: ERROR
    Running examples in ‘internetarchive-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: ia_item_id
    > ### Title: Access the item IDs from an Internet Archive items
    > ### Aliases: ia_item_id
    >
    > ### ** Examples
    >
    > ats_query <- c("publisher" = "american tract society")
    > ids <- ia_search(ats_query, num_results = 3)
    Error in curl::curl_fetch_memory(url, handle = handle) :
     server certificate verification failed. CAfile: none CRLfile: none
    Calls: ia_search ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [1s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(internetarchive)
     >
     > test_check("internetarchive")
     ── 1. Error: (unknown) (@test-files-download.R#5) ─────────────────────────────
     server certificate verification failed. CAfile: none CRLfile: none
     1: ia_get_items("TheLifeOfFatherHecker", silence = TRUE) at testthat/test-files-download.R:5
     2: do.call("mapply", c(FUN = FUN, args[dovec], MoreArgs = list(args[!dovec]), SIMPLIFY = SIMPLIFY,
     USE.NAMES = USE.NAMES))
     3: mapply(FUN = function (item_id, silence = FALSE)
     {
     path <- paste("details", item_id, sep = "/")
     if (!silence)
     message(paste("Getting", item_id))
     req <- GET("https://archive.org/", path = path, query = list(output = "json"))
     warn_for_status(req)
     result <- content(req, as = "parsed", encoding = "UTF-8")
     result
     }, item_id = "TheLifeOfFatherHecker", silence = TRUE, MoreArgs = structure(list(), .Names = character(0)),
     SIMPLIFY = FALSE, USE.NAMES = TRUE)
     4: (function (item_id, silence = FALSE)
     {
     path <- paste("details", item_id, sep = "/")
     if (!silence)
     message(paste("Getting", item_id))
     req <- GET("https://archive.org/", path = path, query = list(output = "json"))
     warn_for_status(req)
     result <- content(req, as = "parsed", encoding = "UTF-8")
     result
     })(item_id = dots[[1L]][[1L]], silence = dots[[2L]][[1L]])
     5: GET("https://archive.org/", path = path, query = list(output = "json"))
     6: request_perform(req, hu$handle$handle)
     7: request_fetch(req$output, req$url, handle)
     8: request_fetch.write_memory(req$output, req$url, handle)
     9: curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Error: keyword search works (@test-search.R#4) ──────────────────────────
     server certificate verification failed. CAfile: none CRLfile: none
     1: expect_message(keyword <- ia_keyword_search("isaac hecker"), "\\d+ total items found. This query requested 5 results.") at testthat/test-search.R:4
     2: quasi_capture(enquo(object), label, capture_messages)
     3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(.quo), get_env(.quo))
     6: ia_keyword_search("isaac hecker")
     7: GET(url)
     8: request_perform(req, hu$handle$handle)
     9: request_fetch(req$output, req$url, handle)
     10: request_fetch.write_memory(req$output, req$url, handle)
     11: curl::curl_fetch_memory(url, handle = handle)
    
     ── 3. Error: advanced search works (@test-search.R#11) ────────────────────────
     server certificate verification failed. CAfile: none CRLfile: none
     1: expect_message(advanced <- ia_search(c(creator = "herman melville"), num_results = 10),
     "\\d+ total items found. This query requested 10 results.") at testthat/test-search.R:11
     2: quasi_capture(enquo(object), label, capture_messages)
     3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(.quo), get_env(.quo))
     6: ia_search(c(creator = "herman melville"), num_results = 10)
     7: GET(url)
     8: request_perform(req, hu$handle$handle)
     9: request_fetch(req$output, req$url, handle)
     10: request_fetch.write_memory(req$output, req$url, handle)
     11: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 5 SKIPPED: 0 WARNINGS: 0 FAILED: 3
     1. Error: (unknown) (@test-files-download.R#5)
     2. Error: keyword search works (@test-search.R#4)
     3. Error: advanced search works (@test-search.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘internet-archive.Rmd’ using rmarkdown
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    Quitting from lines 26-27 (internet-archive.Rmd)
    Error: processing vignette 'internet-archive.Rmd' failed with diagnostics:
    server certificate verification failed. CAfile: none CRLfile: none
    --- failed re-building ‘internet-archive.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘internet-archive.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.6
Check: examples
Result: ERROR
    Running examples in ‘internetarchive-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ia_item_id
    > ### Title: Access the item IDs from an Internet Archive items
    > ### Aliases: ia_item_id
    >
    > ### ** Examples
    >
    > ats_query <- c("publisher" = "american tract society")
    > ids <- ia_search(ats_query, num_results = 3)
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
    Calls: ia_search ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86