Running ‘testthat.R’ [7s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(petro.One)
  > 
  > test_check("petro.One")
  ── 1. Error: (unknown) (@test_GTE-summary_by.R#7)  ─────────────────────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: papers_by_type(my_url) at testthat/test_GTE-summary_by.R:7
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 2. Error: all queries match expected values (@test_GTE_paper_count.R#132)  ──
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: get_papers_count(my_url) at testthat/test_GTE_paper_count.R:132
  2: xml2::read_html(url)
  3: read_html.default(url)
  4: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  9: open(x, "rb")
  10: open.connection(x, "rb")
  
  ── 3. Error: document type = *journal-paper* matches (@test_document_type.R#11) 
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: expect_gte(get_papers_count(my_url), 303) at testthat/test_document_type.R:11
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_papers_count(my_url)
  5: xml2::read_html(url)
  6: read_html.default(url)
  7: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  11: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  12: open(x, "rb")
  13: open.connection(x, "rb")
  
  ── 4. Error: document type = *conference-paper* matches (@test_document_type.R#2
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: expect_gte(get_papers_count(my_url), 2687) at testthat/test_document_type.R:22
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_papers_count(my_url)
  5: xml2::read_html(url)
  6: read_html.default(url)
  7: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  11: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  12: open(x, "rb")
  13: open.connection(x, "rb")
  
  ── 5. Error: make_search_url matches number of papers from_year to_year (@test_f
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: expect_gte(get_papers_count(my_url), expected) at testthat/test_from_year_to_year.R:12
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_papers_count(my_url)
  5: xml2::read_html(url)
  6: read_html.default(url)
  7: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  11: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  12: open(x, "rb")
  13: open.connection(x, "rb")
  
  ── 6. Error: is_dctype_enabled = FALSE (@test_is_dctype_enabled.R#8)  ──────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_is_dctype_enabled.R:8
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 7. Error: is_dctype_enabled = TRUE (@test_is_dctype_enabled.R#21)  ──────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_is_dctype_enabled.R:21
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 8. Error: both dataframes return rows - test #5 (@test_joining.R#11)  ───────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: join_keywords(major, minor, lesser, another, more, get_papers = TRUE, sleep = 2, 
         verbose = FALSE) at testthat/test_joining.R:11
  2: get_papers_count(url.1)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 9. Error: both dataframes return rows - test #3 (@test_joining.R#25)  ───────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: join_keywords(major, minor, lesser, get_papers = TRUE, sleep = 2, verbose = FALSE) at testthat/test_joining.R:25
  2: get_papers_count(url.1)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 10. Error: return no results (@test_make_search_url.R#10)  ──────────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: expect_equal(get_papers_count(my_url), 0, tolerance = 1) at testthat/test_make_search_url.R:10
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_papers_count(my_url)
  5: xml2::read_html(url)
  6: read_html.default(url)
  7: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  11: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  12: open(x, "rb")
  13: open.connection(x, "rb")
  
  ── 11. Error: return some results (@test_make_search_url.R#19)  ────────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: expect_equal(get_papers_count(my_url), 2, tolerance = 1) at testthat/test_make_search_url.R:19
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_papers_count(my_url)
  5: xml2::read_html(url)
  6: read_html.default(url)
  7: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  8: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  9: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  11: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  12: open(x, "rb")
  13: open.connection(x, "rb")
  
  ── 12. Error: when read_multidoc gets zero rows (@test_multipage.R#10)  ────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multidoc(my_url) at testthat/test_multipage.R:10
  2: papers_by_type(my_url)
  3: get_papers_count(url)
  4: xml2::read_html(url)
  5: read_html.default(url)
  6: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  11: open(x, "rb")
  12: open.connection(x, "rb")
  
  ── 13. Error: when read_multidoc with neural network gets almost 3000 rows (@tes
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multidoc(my_url) at testthat/test_multipage.R:26
  2: papers_by_type(my_url)
  3: get_papers_count(url)
  4: xml2::read_html(url)
  5: read_html.default(url)
  6: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  11: open(x, "rb")
  12: open.connection(x, "rb")
  
  ── 14. Error: when read_multidoc search mechanistic performance (@test_multipage
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multidoc(my_url) at testthat/test_multipage.R:33
  2: papers_by_type(my_url)
  3: get_papers_count(url)
  4: xml2::read_html(url)
  5: read_html.default(url)
  6: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  7: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  8: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  10: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  11: open(x, "rb")
  12: open.connection(x, "rb")
  
  ── 15. Error: when read_multipage journal-paper gets almost 3000 rows (@test_mul
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multipage(my_url) at testthat/test_multipage.R:54
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 16. Error: when read_multipage presentation only (@test_multipage.R#62)  ────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multipage(my_url) at testthat/test_multipage.R:62
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 17. Error: when read_multipage journal-paper only (@test_multipage.R#117)  ──
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multipage(my_url, doctype = "journal-paper") at testthat/test_multipage.R:117
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 18. Error: when read_multipage has no dc_type or doctype (@test_multipage.R#1
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: read_multipage(my_url, doctype = "presentation") at testthat/test_multipage.R:125
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 19. Error: when returning no results, expect dataframe (@test_onepetro_page_t
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: onepetro_page_to_dataframe(my_url) at testthat/test_onepetro_page_to_dataframe.R:9
  2: read_html(url)
  3: read_html.default(url)
  4: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  9: open(x, "rb")
  10: open.connection(x, "rb")
  
  ── 20. Error: when returning some results, expect dataframe (@test_onepetro_page
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: onepetro_page_to_dataframe(my_url) at testthat/test_onepetro_page_to_dataframe.R:20
  2: read_html(url)
  3: read_html.default(url)
  4: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  5: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  6: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  9: open(x, "rb")
  10: open.connection(x, "rb")
  
  ── 21. Error: mechanistic performance, all, returns one row (@test_paper_by_type
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: papers_by_type(my_url) at testthat/test_paper_by_type.R:10
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 22. Error: mechanistic performance, any, returns one row (@test_paper_by_type
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: papers_by_type(my_url) at testthat/test_paper_by_type.R:22
  2: get_papers_count(url)
  3: xml2::read_html(url)
  4: read_html.default(url)
  5: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  6: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  7: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  8: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  9: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  10: open(x, "rb")
  11: open.connection(x, "rb")
  
  ── 23. Error: search returns 0 papers (@test_paper_by_type.R#35)  ──────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:35
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 24. Error: search returns 1 papers (@test_paper_by_type.R#47)  ──────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:47
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 25. Error: search returns 1 papers (@test_paper_by_type.R#60)  ──────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:60
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 26. Error: search returns 1 papers (@test_paper_by_type.R#73)  ──────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:73
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 27. Error: search returns 2 papers (@test_paper_by_type.R#86)  ──────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:86
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ── 28. Error: search returns 1 papers (@test_paper_by_type.R#100)  ─────────────
  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
  1: xml2::read_html(my_url) at testthat/test_paper_by_type.R:100
  2: read_html.default(my_url)
  3: suppressWarnings(read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options))
  4: withCallingHandlers(expr, warning = function(w) invokeRestart("muffleWarning"))
  5: read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
  6: read_xml.character(x, encoding = encoding, ..., as_html = TRUE, options = options)
  7: read_xml.connection(con, encoding = encoding, ..., as_html = as_html, base_url = x, 
         options = options)
  8: open(x, "rb")
  9: open.connection(x, "rb")
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 33 SKIPPED: 0 FAILED: 28
  1. Error: (unknown) (@test_GTE-summary_by.R#7) 
  2. Error: all queries match expected values (@test_GTE_paper_count.R#132) 
  3. Error: document type = *journal-paper* matches (@test_document_type.R#11) 
  4. Error: document type = *conference-paper* matches (@test_document_type.R#22) 
  5. Error: make_search_url matches number of papers from_year to_year (@test_from_year_to_year.R#12) 
  6. Error: is_dctype_enabled = FALSE (@test_is_dctype_enabled.R#8) 
  7. Error: is_dctype_enabled = TRUE (@test_is_dctype_enabled.R#21) 
  8. Error: both dataframes return rows - test #5 (@test_joining.R#11) 
  9. Error: both dataframes return rows - test #3 (@test_joining.R#25) 
  1. ...
  
  Error: testthat unit tests failed
  In addition: There were 27 warnings (use warnings() to see them)
  Execution halted