CRAN Package Check Results for Package gutenbergr

Last updated on 2020-09-11 04:50:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.5 7.53 126.05 133.58 OK
r-devel-linux-x86_64-debian-gcc 0.1.5 6.23 89.17 95.40 OK
r-devel-linux-x86_64-fedora-clang 0.1.5 160.19 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.5 150.11 NOTE
r-devel-windows-ix86+x86_64 0.1.5 15.00 164.00 179.00 ERROR
r-patched-linux-x86_64 0.1.5 6.89 118.52 125.41 OK
r-patched-solaris-x86 0.1.5 206.30 NOTE
r-release-linux-x86_64 0.1.5 6.73 118.88 125.61 OK
r-release-macos-x86_64 0.1.5 NOTE
r-release-windows-ix86+x86_64 0.1.5 15.00 123.00 138.00 ERROR
r-oldrel-macos-x86_64 0.1.5 NOTE
r-oldrel-windows-ix86+x86_64 0.1.5 10.00 161.00 171.00 ERROR

Check Details

Version: 0.1.5
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-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [50s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(gutenbergr)
     >
     > test_check("gutenbergr")
     -- 1. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Per
     Problem with `mutate()` input `gutenberg_id`.
     x Input `gutenberg_id` can't be recycled to size 0.
     i Input `gutenberg_id` is `as.integer(gutenberg_id)`.
     i Input `gutenberg_id` must be size 0 or 1, not 2.
     Backtrace:
    
     -- 2. Failure: Can download books from a data frame with gutenberg_id column (@t
     nrow(d) is not strictly more than 10. Difference: -10
    
     -- 3. Failure: We can download a file that only has a -8 version (@test-download
     sum(str_detect(d$text, "Aristotle")) is not strictly more than 50. Difference: -50
    
     -- 4. Error: Trying to download a non-existent book raises a warning (@test-down
     Problem with `mutate()` input `gutenberg_id`.
     x Input `gutenberg_id` can't be recycled to size 0.
     i Input `gutenberg_id` is `as.integer(gutenberg_id)`.
     i Input `gutenberg_id` must be size 0 or 1, not 2.
     Backtrace:
    
     == testthat results ===========================================================
     [ OK: 33 | SKIPPED: 1 | WARNINGS: 8 | FAILED: 4 ]
     1. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Persuasion (@test-download.R#19)
     2. Failure: Can download books from a data frame with gutenberg_id column (@test-download.R#43)
     3. Failure: We can download a file that only has a -8 version (@test-download.R#50)
     4. Error: Trying to download a non-existent book raises a warning (@test-download.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'intro.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
    
    Warning: `filter_()` is deprecated as of dplyr 0.7.0.
    Please use `filter()` instead.
    See vignette('programming') for more help
    This warning is displayed once every 8 hours.
    Call `lifecycle::last_warnings()` to see where this warning was generated.
    Warning: `distinct_()` is deprecated as of dplyr 0.7.0.
    Please use `distinct()` instead.
    See vignette('programming') for more help
    This warning is displayed once every 8 hours.
    Call `lifecycle::last_warnings()` to see where this warning was generated.
    Determining mirror for Project Gutenberg from http://www.gutenberg.org/robot/harvest
    Using mirror https://cand.pglaf.org
    Warning in .f(.x[[i]], ...) :
     Could not download a book at https://cand.pglaf.org/7/6/768/768.zip
    Warning: Unknown or uninitialised column: `text`.
    Warning in .f(.x[[i]], ...) :
     Could not download a book at https://cand.pglaf.org/7/6/768/768.zip
    Warning in .f(.x[[i]], ...) :
     Could not download a book at https://cand.pglaf.org/1/2/6/1260/1260.zip
    Quitting from lines 78-81 (intro.Rmd)
    Error: processing vignette 'intro.Rmd' failed with diagnostics:
    Problem with `mutate()` input `gutenberg_id`.
    x Input `gutenberg_id` can't be recycled to size 0.
    i Input `gutenberg_id` is `as.integer(gutenberg_id)`.
    i Input `gutenberg_id` must be size 0 or 1, not 2.
    --- failed re-building 'intro.Rmd'
    
    SUMMARY: processing the following file failed:
     'intro.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.5
Check: tests
Result: ERROR
     Running 'testthat.R' [38s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(gutenbergr)
     >
     > test_check("gutenbergr")
     -- 1. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Per
     Problem with `mutate()` input `gutenberg_id`.
     x Input `gutenberg_id` can't be recycled to size 0.
     i Input `gutenberg_id` is `as.integer(gutenberg_id)`.
     i Input `gutenberg_id` must be size 0 or 1, not 2.
     Backtrace:
    
     -- 2. Failure: Can download books from a data frame with gutenberg_id column (@t
     nrow(d) is not strictly more than 10. Difference: -10
    
     -- 3. Failure: We can download a file that only has a -8 version (@test-download
     sum(str_detect(d$text, "Aristotle")) is not strictly more than 50. Difference: -50
    
     -- 4. Error: Trying to download a non-existent book raises a warning (@test-down
     Problem with `mutate()` input `gutenberg_id`.
     x Input `gutenberg_id` can't be recycled to size 0.
     i Input `gutenberg_id` is `as.integer(gutenberg_id)`.
     i Input `gutenberg_id` must be size 0 or 1, not 2.
     Backtrace:
    
     == testthat results ===========================================================
     [ OK: 33 | SKIPPED: 1 | WARNINGS: 8 | FAILED: 4 ]
     1. Error: Can download Charles Dickens' Christmas Carol and Jane Austen's Persuasion (@test-download.R#19)
     2. Failure: Can download books from a data frame with gutenberg_id column (@test-download.R#43)
     3. Failure: We can download a file that only has a -8 version (@test-download.R#50)
     4. Error: Trying to download a non-existent book raises a warning (@test-download.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64