CRAN Package Check Results for Package gutenbergr

Last updated on 2019-04-13 01:58:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.4 6.76 57.44 64.20 OK
r-devel-linux-x86_64-debian-gcc 0.1.4 6.17 44.91 51.08 OK
r-devel-linux-x86_64-fedora-clang 0.1.4 75.86 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.4 76.74 NOTE
r-devel-windows-ix86+x86_64 0.1.4 16.00 85.00 101.00 OK
r-patched-linux-x86_64 0.1.4 6.58 55.68 62.26 OK
r-patched-solaris-x86 0.1.4 128.40 NOTE
r-release-linux-x86_64 0.1.4 5.76 43.22 48.98 ERROR
r-release-windows-ix86+x86_64 0.1.4 13.00 112.00 125.00 OK
r-release-osx-x86_64 0.1.4 NOTE
r-oldrel-windows-ix86+x86_64 0.1.4 10.00 107.00 117.00 WARN
r-oldrel-osx-x86_64 0.1.4 NOTE

Check Details

Version: 0.1.4
Check: data for non-ASCII characters
Result: NOTE
     Note: found 13617 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.4
Check: examples
Result: ERROR
    Running examples in ‘gutenbergr-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: gutenberg_strip
    > ### Title: Strip header and footer content from a Project Gutenberg book
    > ### Aliases: gutenberg_strip
    >
    > ### ** Examples
    >
    >
    > library(dplyr)
    
    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
    
    > book <- gutenberg_works(title == "Pride and Prejudice") %>%
    + gutenberg_download(strip = FALSE)
    Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest
    Error in open.connection(con, "rb") : HTTP error 503.
    Calls: %>% ... datasource_connection -> read_connection -> open -> open.connection
    Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/9s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(gutenbergr)
     >
     > test_check("gutenbergr")
     ── 1. Error: gutenberg_get_mirror works (@test-download.R#8) ──────────────────
     HTTP error 503.
     1: gutenberg_get_mirror() at testthat/test-download.R:8
     2: readr::read_lines(wget_url)
     3: datasource(file, skip = skip, skip_empty_rows = skip_empty_rows)
     4: datasource_connection(file, skip, skip_empty_rows, comment)
     5: read_connection(path)
     6: open(con, "rb")
     7: open.connection(con, "rb")
    
     ── 2. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Per
     HTTP error 503.
     1: gutenberg_download(c(46, 105), meta_fields = c("title", "author")) at testthat/test-download.R:19
     2: gutenberg_get_mirror(verbose = verbose)
     3: readr::read_lines(wget_url)
     4: datasource(file, skip = skip, skip_empty_rows = skip_empty_rows)
     5: datasource_connection(file, skip, skip_empty_rows, comment)
     6: read_connection(path)
     7: open(con, "rb")
     8: open.connection(con, "rb")
    
     ── 3. Error: Can download books from a data frame with gutenberg_id column (@tes
     HTTP error 503.
     1: gutenberg_works(title == "The United States Constitution") %>% gutenberg_download() at testthat/test-download.R:40
     2: withVisible(eval(quote(`_fseq`(`_lhs`)), env, env))
     3: eval(quote(`_fseq`(`_lhs`)), env, env)
     4: eval(quote(`_fseq`(`_lhs`)), env, env)
     5: `_fseq`(`_lhs`)
     6: freduce(value, `_function_list`)
     7: withVisible(function_list[[k]](value))
     8: function_list[[k]](value)
     9: gutenberg_download(.)
     10: gutenberg_get_mirror(verbose = verbose)
     11: readr::read_lines(wget_url)
     12: datasource(file, skip = skip, skip_empty_rows = skip_empty_rows)
     13: datasource_connection(file, skip, skip_empty_rows, comment)
     14: read_connection(path)
     15: open(con, "rb")
     16: open.connection(con, "rb")
    
     ── 4. Error: We can download a file that only has a -8 version (@test-download.R
     HTTP error 503.
     1: gutenberg_download(8438) at testthat/test-download.R:49
     2: gutenberg_get_mirror(verbose = verbose)
     3: readr::read_lines(wget_url)
     4: datasource(file, skip = skip, skip_empty_rows = skip_empty_rows)
     5: datasource_connection(file, skip, skip_empty_rows, comment)
     6: read_connection(path)
     7: open(con, "rb")
     8: open.connection(con, "rb")
    
     ── 5. Error: Trying to download a non-existent book raises a warning (@test-down
     HTTP error 503.
     1: expect_warning(d <- gutenberg_download(c(5, 1e+06)), "Could not download") at testthat/test-download.R:55
     2: quasi_capture(enquo(object), capture_warnings, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, warning = function(condition) {
     out$push(condition)
     invokeRestart("muffleWarning")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: gutenberg_download(c(5, 1e+06))
     7: gutenberg_get_mirror(verbose = verbose)
     8: readr::read_lines(wget_url)
     9: datasource(file, skip = skip, skip_empty_rows = skip_empty_rows)
     10: datasource_connection(file, skip, skip_empty_rows, comment)
     11: read_connection(path)
     12: open(con, "rb")
     13: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 29 SKIPPED: 1 FAILED: 5
     1. Error: gutenberg_get_mirror works (@test-download.R#8)
     2. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Persuasion (@test-download.R#19)
     3. Error: Can download books from a data frame with gutenberg_id column (@test-download.R#40)
     4. Error: We can download a file that only has a -8 version (@test-download.R#49)
     5. Error: Trying to download a non-existent book raises a warning (@test-download.R#55)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In .Internal(get(x, envir, mode, inherits)) :
     closing unused connection 4 (http://www.gutenberg.org/robot/harvest?filetypes[]=txt)
     2: In .Internal(get(x, envir, mode, inherits)) :
     closing unused connection 3 (http://www.gutenberg.org/robot/harvest?filetypes[]=txt)
     3: In if (length(d <- dim(x))) d[1L] else length(x) :
     closing unused connection 5 (http://www.gutenberg.org/robot/harvest?filetypes[]=txt)
     4: In if (length(d <- dim(x))) d[1L] else length(x) :
     closing unused connection 4 (http://www.gutenberg.org/robot/harvest?filetypes[]=txt)
     5: In if (length(d <- dim(x))) d[1L] else length(x) :
     closing unused connection 3 (http://www.gutenberg.org/robot/harvest?filetypes[]=txt)
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.4
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    
    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
    
    Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest
    Quitting from lines 68-71 (intro.Rmd)
    Error: processing vignette ‘intro.Rmd’ failed with diagnostics:
    HTTP error 503.
    Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.4
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    
    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
    
    Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest
    Quitting from lines 68-71 (intro.Rmd)
    Error: processing vignette 'intro.Rmd' failed with diagnostics:
    Failed to connect to www.gutenberg.org port 80: Timed out
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64