CRAN Package Check Results for Package randquotes

Last updated on 2019-09-10 08:50:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 2.23 23.54 25.77 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.82 19.21 21.03 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 32.02 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 30.69 ERROR
r-devel-windows-ix86+x86_64 0.1.0 8.00 39.00 47.00 ERROR
r-patched-linux-x86_64 0.1.0 2.01 23.65 25.66 ERROR
r-patched-solaris-x86 0.1.0 51.80 ERROR
r-release-linux-x86_64 0.1.0 1.76 23.35 25.11 ERROR
r-release-windows-ix86+x86_64 0.1.0 5.00 39.00 44.00 ERROR
r-release-osx-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 4.00 37.00 41.00 ERROR
r-oldrel-osx-x86_64 0.1.0 NOTE

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'randquotes-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: randquote
    > ### Title: Get Random Quotes
    > ### Aliases: randquote
    >
    > ### ** Examples
    >
    > randquote()
    Error in open.connection(con, "rb") : HTTP error 404.
    Calls: randquote ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'test-all.R' [1s/1s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     -- 1. Error: the functions of randquotes (@test-randquotes.R#4) ---------------
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [1s/2s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     ── 1. Error: the functions of randquotes (@test-randquotes.R#4) ───────────────
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
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-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘randquotes-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: randquote
    > ### Title: Get Random Quotes
    > ### Aliases: randquote
    >
    > ### ** Examples
    >
    > randquote()
    Error in open.connection(con, "rb") : HTTP error 404.
    Calls: randquote ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘test-all.R’
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     ── 1. Error: the functions of randquotes (@test-randquotes.R#4) ───────────────
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'test-all.R' [2s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     -- 1. Error: the functions of randquotes (@test-randquotes.R#4) ---------------
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests 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.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [1s/1s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     ── 1. Error: the functions of randquotes (@test-randquotes.R#4) ───────────────
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [2s/11s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("randquotes")
     Loading required package: randquotes
     ── 1. Error: the functions of randquotes (@test-randquotes.R#4) ───────────────
     HTTP error 404.
     1: expect_that(randquote(), is_a("data.frame")) at testthat/test-randquotes.R:4
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label, arg = "object")
     5: eval_bare(get_expr(quo), get_env(quo))
     6: randquote()
     7: jsonlite::fromJSON("http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1")
     8: parse_and_simplify(txt = txt, simplifyVector = simplifyVector, simplifyDataFrame = simplifyDataFrame,
     simplifyMatrix = simplifyMatrix, flatten = flatten, ...)
     9: parseJSON(txt, bigint_as_char)
     10: parse_con(txt, bigint_as_char)
     11: open(con, "rb")
     12: open.connection(con, "rb")
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: the functions of randquotes (@test-randquotes.R#4)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86