CRAN Package Check Results for Package fedregs

Last updated on 2019-01-25 17:49:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 1.06 23.68 24.74 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 1.00 17.95 18.95 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 27.73 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 24.93 ERROR
r-devel-windows-ix86+x86_64 0.1.0 3.00 97.00 100.00 ERROR
r-patched-linux-x86_64 0.1.0 1.15 21.53 22.68 ERROR
r-patched-solaris-x86 0.1.0 39.60 ERROR
r-release-linux-x86_64 0.1.0 1.10 21.13 22.23 ERROR
r-release-windows-ix86+x86_64 0.1.0 3.00 72.00 75.00 ERROR
r-release-osx-x86_64 0.1.0 OK
r-oldrel-windows-ix86+x86_64 0.1.0 5.00 58.00 63.00 ERROR
r-oldrel-osx-x86_64 0.1.0 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/28s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In list(...) :
     closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: In list(...) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: In list(...) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/32s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In list(...) :
     closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: In list(...) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: In list(...) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/28s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In file.exists(ffile) :
     closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: In file.exists(ffile) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: In file.exists(ffile) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/24s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In file.exists(ffile) :
     closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: In file.exists(ffile) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: In file.exists(ffile) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [28s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     -- 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) -----------------
     all(grepl("*..xml$", cfr)) isn't true.
    
     -- 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) -----------------
     is.character(cfr) isn't true.
    
     -- 3. Error: We can parse some parts. (@test-fedregs.R#66) --------------------
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     -- 4. Error: We can go all the way (@test-fedregs.R#145) ----------------------
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     == testthat results ===========================================================
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In for (i in seq_len(n)) { :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     2: In for (i in seq_len(n)) { :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: In for (i in seq_along(sigs)) { :
     closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/27s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In as.character(message) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     2: In as.character(message) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/125s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Failure: We can parse some parts. (@test-fedregs.R#62) ──────────────────
     `cfr_part(bad_url)` threw an error with unexpected message.
     Expected match: "The URL is not valid."
     Actual message: "Timeout was reached: Operation timed out after 10015 milliseconds with 0 out of 0 bytes received"
    
     ── 4. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 5. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 18 SKIPPED: 0 FAILED: 5
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Failure: We can parse some parts. (@test-fedregs.R#62)
     4. Error: We can parse some parts. (@test-fedregs.R#66)
     5. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/29s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     ── 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) ─────────────────
     all(grepl("*..xml$", cfr)) isn't true.
    
     ── 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) ─────────────────
     is.character(cfr) isn't true.
    
     ── 3. Error: We can parse some parts. (@test-fedregs.R#66) ────────────────────
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     ── 4. Error: We can go all the way (@test-fedregs.R#145) ──────────────────────
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In as.character(message) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     2: In as.character(message) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [29s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     -- 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) -----------------
     all(grepl("*..xml$", cfr)) isn't true.
    
     -- 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) -----------------
     is.character(cfr) isn't true.
    
     -- 3. Error: We can parse some parts. (@test-fedregs.R#66) --------------------
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     -- 4. Error: We can go all the way (@test-fedregs.R#145) ----------------------
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     == testthat results ===========================================================
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     2: In getClassDef(class2, .classDefEnv(class1Def)) :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     3: In getClassDef(class2, .classDefEnv(class1Def)) :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [29s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(fedregs)
     >
     > test_check("fedregs")
     -- 1. Failure: We get the best CFR URLs. (@test-fedregs.R#38) -----------------
     all(grepl("*..xml$", cfr)) isn't true.
    
     -- 2. Failure: We get the best CFR URLs. (@test-fedregs.R#39) -----------------
     is.character(cfr) isn't true.
    
     -- 3. Error: We can parse some parts. (@test-fedregs.R#66) --------------------
     NA is not a valid url.
     1: testthat::expect_message(cfr_part(good_url, verbose = TRUE), sprintf("Pulling the chapter, part, and volume information from:\n%s.\n",
     good_url)) at testthat/test-fedregs.R:66
     2: quasi_capture(enquo(object), capture_messages, label = label)
     3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
     4: withCallingHandlers(code, message = function(condition) {
     out$push(condition)
     invokeRestart("muffleMessage")
     })
     5: eval_bare(get_expr(quo), get_env(quo))
     6: cfr_part(good_url, verbose = TRUE)
     7: stop("NA is not a valid url.")
    
     -- 4. Error: We can go all the way (@test-fedregs.R#145) ----------------------
     There aren't any regulations for title 50 in 2012.
     1: cfr_text(good_year, good_title_number, good_chapter, good_part) at testthat/test-fedregs.R:145
     2: stop(sprintf("There aren't any regulations for title %s in %s.\n", title_number,
     year))
    
     == testthat results ===========================================================
     OK: 19 SKIPPED: 0 FAILED: 4
     1. Failure: We get the best CFR URLs. (@test-fedregs.R#38)
     2. Failure: We get the best CFR URLs. (@test-fedregs.R#39)
     3. Error: We can parse some parts. (@test-fedregs.R#66)
     4. Error: We can go all the way (@test-fedregs.R#145)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: closing unused connection 5 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     2: closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     3: closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     4: In if (srcrefTrackingOn) srcrefBuf <<- c(srcrefBuf, vector("integer", :
     closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/2000/title-15)
     5: In if (srcrefTrackingOn) srcrefBuf <<- c(srcrefBuf, vector("integer", :
     closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
     Execution halted
     Warning messages:
     1: closing unused connection 4 (https://www.gpo.gov/fdsys//bulkdata/CFR/2012/title-50)
     2: closing unused connection 3 (https://www.gpo.gov/fdsys//bulkdata/CFR/1996/title-1)
Flavor: r-oldrel-windows-ix86+x86_64