CRAN Package Check Results for Package wikipediatrend

Last updated on 2022-05-25 23:10:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.6 5.72 64.88 70.60 ERROR
r-devel-linux-x86_64-debian-gcc 2.1.6 4.60 49.21 53.81 OK
r-devel-linux-x86_64-fedora-clang 2.1.6 84.43 OK
r-devel-linux-x86_64-fedora-gcc 2.1.6 71.29 OK
r-devel-windows-x86_64 2.1.6 37.00 90.00 127.00 OK
r-patched-linux-x86_64 2.1.6 6.23 62.98 69.21 OK
r-release-linux-x86_64 2.1.6 OK
r-release-macos-arm64 2.1.6 29.00 OK
r-release-macos-x86_64 2.1.6 55.00 OK
r-release-windows-x86_64 2.1.6 54.00 83.00 137.00 OK
r-oldrel-macos-arm64 2.1.6 34.00 OK
r-oldrel-macos-x86_64 2.1.6 45.00 OK
r-oldrel-windows-ix86+x86_64 2.1.6 16.00 74.00 90.00 OK

Check Details

Version: 2.1.6
Check: tests
Result: ERROR
     Running 'testthat.R' [3s/14s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("wikipediatrend")
     Loading required package: wikipediatrend
    
     [wikipediatrend]
    
     Note:
    
     - Data before 2016-01-01
     * is provided by petermeissner.de and
     * was prepared in a project commissioned by the Hertie School of Governance (Prof. Dr. Simon Munzert)
     * and supported by the Daimler and Benz Foundation.
    
     - Data from 2016-01-01 onwards
     * is provided by the Wikipedia Foundation
     * via its pageviews package and API.
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 41 ]
    
     == Failed tests ================================================================
     -- Failure (test_wp_trend.R:5:3): wp_trend() -----------------------------------
     `wp_trend(page = "Test")` produced warnings.
     -- Error (test_wp_trend.R:9:3): wp_trend() -------------------------------------
     Error in `order(res$date, res$language, res$article)`: argument 1 is not a vector
     Backtrace:
     x
     1. +-testthat::expect_silent(...) at test_wp_trend.R:9:2
     2. | \-testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
     3. | +-testthat .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. \-wikipediatrend::wp_trend(...)
     10. \-base::order(res$date, res$language, res$article)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 41 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang