CRAN Package Check Results for Package wikifacts

Last updated on 2020-11-23 08:51:51 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4 2.77 28.22 30.99 OK
r-devel-linux-x86_64-debian-gcc 0.4 2.12 23.24 25.36 OK
r-devel-linux-x86_64-fedora-clang 0.4 39.99 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4 29.52 ERROR
r-devel-windows-ix86+x86_64 0.4 4.00 34.00 38.00 ERROR
r-patched-linux-x86_64 0.4 2.81 29.68 32.49 OK
r-patched-solaris-x86 0.4 40.60 NOTE
r-release-linux-x86_64 0.4 2.56 30.21 32.77 OK
r-release-macos-x86_64 0.4 NOTE
r-release-windows-ix86+x86_64 0.4 4.00 31.00 35.00 ERROR
r-oldrel-macos-x86_64 0.4 NOTE
r-oldrel-windows-ix86+x86_64 0.4 3.00 35.00 38.00 ERROR

Additional issues

MKL

Check Details

Version: 0.4
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘curl’
     All declared Imports should be used.
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.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(wikifacts)
     >
     > test_check("wikifacts")
     ── FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact ─────
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 15 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4
Check: tests
Result: ERROR
     Running 'testthat.R' [4s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(wikifacts)
     >
     > test_check("wikifacts")
     -- FAILURE (test-didyouknow.R:2:3): wiki_didyouknow() generates a valid fact ---
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-didyouknow.R:8:3): wiki_didyouknow() generates facts when asked
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-inthenews.R:2:3): wiki_inthenews() generates a valid fact -----
     `.` not equal to "Here's some news".
     1/1 mismatches
     x[1]: "I got nothin'"
     y[1]: "Here's some news"
    
     -- FAILURE (test-inthenews.R:8:3): wiki_inthenews() generates facts when asked f
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact -----
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-onthisday.R:8:3): wiki_onthisday() generates facts when asked f
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-randomfact.R:2:3): wiki_randomfact() generates a valid didyoukn
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-randomfact.R:8:3): wiki_randomfact() generates a valid inthenew
     `.` not equal to "Here's some news".
     1/1 mismatches
     x[1]: "I got nothin'"
     y[1]: "Here's some news"
    
     -- FAILURE (test-randomfact.R:14:3): wiki_randomfact() generates a valid onthisd
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- Warning (test-wiki_query.R:8:3): wiki_query() returns expected result -------
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    
     -- ERROR (test-wiki_query.R:8:3): wiki_query() returns expected result ---------
     Error: cannot open the connection
     Backtrace:
     x
     1. +-wiki_query(query) %>% nrow() %>% testthat::expect_equal(5) test-wiki_query.R:8:2
     2. +-testthat::expect_equal(., 5)
     3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     4. | \-rlang::eval_bare(expr, quo_get_env(quo))
     5. +-base::nrow(.)
     6. \-wikifacts::wiki_query(query)
     7. \-base::tryCatch(...)
     8. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     9. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     10. \-value[[3L]](cond)
    
     == testthat results ===========================================================
     FAILURE (test-didyouknow.R:2:3): wiki_didyouknow() generates a valid fact
     FAILURE (test-didyouknow.R:8:3): wiki_didyouknow() generates facts when asked for many
     FAILURE (test-inthenews.R:2:3): wiki_inthenews() generates a valid fact
     FAILURE (test-inthenews.R:8:3): wiki_inthenews() generates facts when asked for many
     FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact
     FAILURE (test-onthisday.R:8:3): wiki_onthisday() generates facts when asked for many
     FAILURE (test-randomfact.R:2:3): wiki_randomfact() generates a valid didyouknow fact
     FAILURE (test-randomfact.R:8:3): wiki_randomfact() generates a valid inthenews fact
     FAILURE (test-randomfact.R:14:3): wiki_randomfact() generates a valid onthisday fact
     Warning (test-wiki_query.R:8:3): wiki_query() returns expected result
     ERROR (test-wiki_query.R:8:3): wiki_query() returns expected result
    
     [ FAIL 10 | WARN 1 | SKIP 0 | PASS 6 ]
     Error: Test failures
     Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.4
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(wikifacts)
     >
     > test_check("wikifacts")
     -- FAILURE (test-didyouknow.R:2:3): wiki_didyouknow() generates a valid fact ---
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-didyouknow.R:8:3): wiki_didyouknow() generates facts when asked
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-inthenews.R:2:3): wiki_inthenews() generates a valid fact -----
     `.` not equal to "Here's some news".
     1/1 mismatches
     x[1]: "I got nothin'"
     y[1]: "Here's some news"
    
     -- FAILURE (test-inthenews.R:8:3): wiki_inthenews() generates facts when asked f
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact -----
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-onthisday.R:8:3): wiki_onthisday() generates facts when asked f
     `.` not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
     -- FAILURE (test-randomfact.R:2:3): wiki_randomfact() generates a valid didyoukn
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- FAILURE (test-randomfact.R:8:3): wiki_randomfact() generates a valid inthenew
     `.` not equal to "Here's some news".
     1/1 mismatches
     x[1]: "I got nothin'"
     y[1]: "Here's some news"
    
     -- FAILURE (test-randomfact.R:14:3): wiki_randomfact() generates a valid onthisd
     `.` not equal to "Did you know".
     1/1 mismatches
     x[1]: "I got nothin"
     y[1]: "Did you know"
    
     -- Warning (test-wiki_query.R:8:3): wiki_query() returns expected result -------
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    
     -- ERROR (test-wiki_query.R:8:3): wiki_query() returns expected result ---------
     Error: cannot open the connection
     Backtrace:
     x
     1. +-wiki_query(query) %>% nrow() %>% testthat::expect_equal(5) test-wiki_query.R:8:2
     2. +-testthat::expect_equal(., 5)
     3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     4. | \-rlang::eval_bare(expr, quo_get_env(quo))
     5. +-base::nrow(.)
     6. \-wikifacts::wiki_query(query)
     7. \-base::tryCatch(...)
     8. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     9. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     10. \-value[[3L]](cond)
    
     == testthat results ===========================================================
     FAILURE (test-didyouknow.R:2:3): wiki_didyouknow() generates a valid fact
     FAILURE (test-didyouknow.R:8:3): wiki_didyouknow() generates facts when asked for many
     FAILURE (test-inthenews.R:2:3): wiki_inthenews() generates a valid fact
     FAILURE (test-inthenews.R:8:3): wiki_inthenews() generates facts when asked for many
     FAILURE (test-onthisday.R:2:3): wiki_onthisday() generates a valid fact
     FAILURE (test-onthisday.R:8:3): wiki_onthisday() generates facts when asked for many
     FAILURE (test-randomfact.R:2:3): wiki_randomfact() generates a valid didyouknow fact
     FAILURE (test-randomfact.R:8:3): wiki_randomfact() generates a valid inthenews fact
     FAILURE (test-randomfact.R:14:3): wiki_randomfact() generates a valid onthisday fact
     Warning (test-wiki_query.R:8:3): wiki_query() returns expected result
     ERROR (test-wiki_query.R:8:3): wiki_query() returns expected result
    
     [ FAIL 10 | WARN 1 | SKIP 0 | PASS 6 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-ix86+x86_64