Running ‘testthat.R’ [0m/10m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(ALA4R)
  > 
  > ## run each test with and without caching
  > check_caching=function(f) {
  +     ala_config(caching="off")
  +     f()
  +     ala_config(caching="on")
  +     f()
  +     f()
  + }
  > 
  > test_check("ALA4R",reporter="summary")
  Check assertion-related functions: 123.4.5.6SSS
  Test check_wkt function: ...............
  Test fieldguide generator: SSSW.W.W.W.W.W.
  Test field-related functions: SSSSSSSSS
  Test image_info-related functions: SSSSSSSSSSSS...
  Test intersection of points with environmental values: SSSSSSSSSSSS
  Test list-related functions: SSSSSS
  Test occurrence_details function: SSSSSS
  Test occurrence-related functions: SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
  Test reconfiguration of ALA4R to work with other server installations: S
  SSSSSSSSSSSSTest searching functions: SSSSSSSSSSSSSSSSSSSSSSSSSSS
  Test sites-by-species functionality: SSS
  Test species information functions: SSSSSSSSS
  Test specieslist: SSSSSS
  Test taxonomic information functions: SSSSSS
  Test utility functions: .............SSSS
  Test that variables are renamed correctly: SSSSSSSSS
  
  ══ Skipped ═════════════════════════════════════════════════════════════════════
  1. check_assertions gets all assertions in occurrences object (@test-assertions.R#25) - On CRAN
  
  2. check_assertions gets all assertions in occurrences object (@test-assertions.R#25) - On CRAN
  
  3. check_assertions gets all assertions in occurrences object (@test-assertions.R#25) - On CRAN
  
  4. fieldguide works as expected (@test-fieldguide.R#5) - On CRAN
  
  5. fieldguide works as expected (@test-fieldguide.R#5) - On CRAN
  
  6. fieldguide works as expected (@test-fieldguide.R#5) - On CRAN
  
  7. ala_fields works as expected (@test-fields.R#6) - On CRAN
  
  8. ala_fields works as expected (@test-fields.R#6) - On CRAN
  
  9. ala_fields works as expected (@test-fields.R#6) - On CRAN
  
  10. field_info does things (@test-fields.R#22) - On CRAN
  
  11. field_info does things (@test-fields.R#22) - On CRAN
  
  12. field_info does things (@test-fields.R#22) - On CRAN
  
  13. field_info on layers copes with all possible layers (@test-fields.R#34) - skipping really slow field_info test
  
  14. field_info on layers copes with all possible layers (@test-fields.R#34) - skipping really slow field_info test
  
  15. field_info on layers copes with all possible layers (@test-fields.R#34) - skipping really slow field_info test
  
  16. extract_image_detail matches html as expected (@test-imageinfo.R#7) - On CRAN
  
  17. extract_image_detail matches html as expected (@test-imageinfo.R#7) - On CRAN
  
  18. extract_image_detail matches html as expected (@test-imageinfo.R#7) - On CRAN
  
  19. image_info works as expected on known records (@test-imageinfo.R#23) - On CRAN
  
  20. image_info works as expected on known records (@test-imageinfo.R#23) - On CRAN
  
  21. image_info works as expected on known records (@test-imageinfo.R#23) - On CRAN
  
  22. image_info works with un-matched records (@test-imageinfo.R#36) - On CRAN
  
  23. image_info works with un-matched records (@test-imageinfo.R#36) - On CRAN
  
  24. image_info works with un-matched records (@test-imageinfo.R#36) - On CRAN
  
  25. image_info handles embedded html in property value td block (@test-imageinfo.R#50) - On CRAN
  
  26. image_info handles embedded html in property value td block (@test-imageinfo.R#50) - On CRAN
  
  27. image_info handles embedded html in property value td block (@test-imageinfo.R#50) - On CRAN
  
  28. intersect_points gives errors or warning for invalid field names (@test-intersect.R#6) - On CRAN
  
  29. intersect_points gives errors or warning for invalid field names (@test-intersect.R#6) - On CRAN
  
  30. intersect_points gives errors or warning for invalid field names (@test-intersect.R#6) - On CRAN
  
  31. intersect_points gives some correct known answers (@test-intersect.R#20) - On CRAN
  
  32. intersect_points gives some correct known answers (@test-intersect.R#20) - On CRAN
  
  33. intersect_points gives some correct known answers (@test-intersect.R#20) - On CRAN
  
  34. intersect_points gives same answers for single-location and batch methods (@test-intersect.R#29) - On CRAN
  
  35. intersect_points gives same answers for single-location and batch methods (@test-intersect.R#29) - On CRAN
  
  36. intersect_points gives same answers for single-location and batch methods (@test-intersect.R#29) - On CRAN
  
  37. intersect_points works for largeish number of points (@test-intersect.R#43) - On CRAN
  
  38. intersect_points works for largeish number of points (@test-intersect.R#43) - On CRAN
  
  39. intersect_points works for largeish number of points (@test-intersect.R#43) - On CRAN
  
  40. ala_lists does stuff (@test-lists.R#5) - On CRAN
  
  41. ala_lists does stuff (@test-lists.R#5) - On CRAN
  
  42. ala_lists does stuff (@test-lists.R#5) - On CRAN
  
  43. ala_list does stuff (@test-lists.R#22) - On CRAN
  
  44. ala_list does stuff (@test-lists.R#22) - On CRAN
  
  45. ala_list does stuff (@test-lists.R#22) - On CRAN
  
  46. empty list returned for null inputs (@test-occurrence-details.R#7) - On CRAN
  
  47. empty list returned for null inputs (@test-occurrence-details.R#7) - On CRAN
  
  48. empty list returned for null inputs (@test-occurrence-details.R#7) - On CRAN
  
  49. occurrence_details result has the expected fields (@test-occurrence-details.R#37) - On CRAN
  
  50. occurrence_details result has the expected fields (@test-occurrence-details.R#37) - On CRAN
  
  51. occurrence_details result has the expected fields (@test-occurrence-details.R#37) - On CRAN
  
  52. ala_reasons works as expected (@test-occurrences.R#6) - On CRAN
  
  53. ala_reasons works as expected (@test-occurrences.R#6) - On CRAN
  
  54. ala_reasons works as expected (@test-occurrences.R#6) - On CRAN
  
  55. occurrences summary works when no qa are present (@test-occurrences.R#20) - On CRAN
  
  56. occurrences summary works when no qa are present (@test-occurrences.R#20) - On CRAN
  
  57. occurrences summary works when no qa are present (@test-occurrences.R#20) - On CRAN
  
  58. occurrences summary gives something sensible (@test-occurrences.R#28) - On CRAN
  
  59. occurrences summary gives something sensible (@test-occurrences.R#28) - On CRAN
  
  60. occurrences summary gives something sensible (@test-occurrences.R#28) - On CRAN
  
  61. occurrences retrieves the fields specified (@test-occurrences.R#41) - On CRAN
  
  62. occurrences retrieves the fields specified (@test-occurrences.R#41) - On CRAN
  
  63. occurrences retrieves the fields specified (@test-occurrences.R#41) - On CRAN
  
  64. occurrences unique does something sensible (@test-occurrences.R#51) - On CRAN
  
  65. occurrences unique does something sensible (@test-occurrences.R#51) - On CRAN
  
  66. occurrences unique does something sensible (@test-occurrences.R#51) - On CRAN
  
  67. occurrences subset does something sensible (@test-occurrences.R#66) - On CRAN
  
  68. occurrences subset does something sensible (@test-occurrences.R#66) - On CRAN
  
  69. occurrences subset does something sensible (@test-occurrences.R#66) - On CRAN
  
  70. occurrences checks required inputs (@test-occurrences.R#79) - On CRAN
  
  71. occurrences checks required inputs (@test-occurrences.R#79) - On CRAN
  
  72. occurrences checks required inputs (@test-occurrences.R#79) - On CRAN
  
  73. occurrences warns for long URLs (@test-occurrences.R#90) - On CRAN
  
  74. occurrences warns for long URLs (@test-occurrences.R#90) - On CRAN
  
  75. occurrences warns for long URLs (@test-occurrences.R#90) - On CRAN
  
  76. occurrences gives same results for offline and indexed methods (@test-occurrences.R#98) - On CRAN
  
  77. occurrences gives same results for offline and indexed methods (@test-occurrences.R#98) - On CRAN
  
  78. occurrences gives same results for offline and indexed methods (@test-occurrences.R#98) - On CRAN
  
  79. occurrences works with records_count_only (@test-occurrences.R#109) - On CRAN
  
  80. occurrences works with records_count_only (@test-occurrences.R#109) - On CRAN
  
  81. occurrences works with records_count_only (@test-occurrences.R#109) - On CRAN
  
  82. occurrences works on a different server (@test-portability.R#4) - On CRAN
  
  83. search_guids can cope with factor inputs (@test-search-guids.R#3) - On CRAN
  
  84. search_guids can cope with factor inputs (@test-search-guids.R#3) - On CRAN
  
  85. search_guids can cope with factor inputs (@test-search-guids.R#3) - On CRAN
  
  86. search_guids can cope with mixed recognized/unrecogized guids (@test-search-guids.R#11) - On CRAN
  
  87. search_guids can cope with mixed recognized/unrecogized guids (@test-search-guids.R#11) - On CRAN
  
  88. search_guids can cope with mixed recognized/unrecogized guids (@test-search-guids.R#11) - On CRAN
  
  89. search_guids can cope with all-unrecogized guids (@test-search-guids.R#20) - On CRAN
  
  90. search_guids can cope with all-unrecogized guids (@test-search-guids.R#20) - On CRAN
  
  91. search_guids can cope with all-unrecogized guids (@test-search-guids.R#20) - On CRAN
  
  92. search_guids returns occurrence counts when asked (@test-search-guids.R#31) - On CRAN
  
  93. search_guids returns occurrence counts when asked (@test-search-guids.R#31) - On CRAN
  
  94. search_guids returns occurrence counts when asked (@test-search-guids.R#31) - On CRAN
  
  95. search_fulltext generally functions as expected (@test-search.R#5) - On CRAN
  
  96. search_fulltext generally functions as expected (@test-search.R#5) - On CRAN
  
  97. search_fulltext generally functions as expected (@test-search.R#5) - On CRAN
  
  98. search_fulltext start parm works as expected (@test-search.R#20) - On CRAN
  
  99. search_fulltext start parm works as expected (@test-search.R#20) - On CRAN
  
  100. search_fulltext start parm works as expected (@test-search.R#20) - On CRAN
  
  101. search_fulltext sort_by parm works as expected (@test-search.R#37) - On CRAN
  
  102. search_fulltext sort_by parm works as expected (@test-search.R#37) - On CRAN
  
  103. search_fulltext sort_by parm works as expected (@test-search.R#37) - On CRAN
  
  104. search_layers generally works as expected (@test-search.R#56) - On CRAN
  
  105. search_layers generally works as expected (@test-search.R#56) - On CRAN
  
  106. search_layers generally works as expected (@test-search.R#56) - On CRAN
  
  107. search_names can cope with factor inputs (@test-search.R#72) - On CRAN
  
  108. search_names can cope with factor inputs (@test-search.R#72) - On CRAN
  
  109. search_names can cope with factor inputs (@test-search.R#72) - On CRAN
  
  110. search_names can cope with all-unrecogized names (@test-search.R#80) - On CRAN
  
  111. search_names can cope with all-unrecogized names (@test-search.R#80) - On CRAN
  
  112. search_names can cope with all-unrecogized names (@test-search.R#80) - On CRAN
  
  113. unexpected case-related behaviour in search_names has not changed (@test-search.R#90) - On CRAN
  
  114. unexpected case-related behaviour in search_names has not changed (@test-search.R#90) - On CRAN
  
  115. unexpected case-related behaviour in search_names has not changed (@test-search.R#90) - On CRAN
  
  116. nonbreaking spaces not present in names (@test-search.R#101) - On CRAN
  
  117. nonbreaking spaces not present in names (@test-search.R#101) - On CRAN
  
  118. nonbreaking spaces not present in names (@test-search.R#101) - On CRAN
  
  119. search_names returns occurrence counts when asked (@test-search.R#111) - On CRAN
  
  120. search_names returns occurrence counts when asked (@test-search.R#111) - On CRAN
  
  121. search_names returns occurrence counts when asked (@test-search.R#111) - On CRAN
  
  122. sites_by_species works as expected (@test-sites_by_species.R#5) - On CRAN
  
  123. sites_by_species works as expected (@test-sites_by_species.R#5) - On CRAN
  
  124. sites_by_species works as expected (@test-sites_by_species.R#5) - On CRAN
  
  125. species_info generally works as expected (@test-species.R#7) - On CRAN
  
  126. text encoding works as expected (@test-species.R#20) - On CRAN
  
  127. species_info generally works as expected (@test-species.R#7) - On CRAN
  
  128. text encoding works as expected (@test-species.R#20) - On CRAN
  
  129. species_info generally works as expected (@test-species.R#7) - On CRAN
  
  130. text encoding works as expected (@test-species.R#20) - On CRAN
  
  131. species_info gives resolvable guids for known species (@test-species.R#29) - On CRAN
  
  132. species_info gives resolvable guids for known species (@test-species.R#29) - On CRAN
  
  133. species_info gives resolvable guids for known species (@test-species.R#29) - On CRAN
  
  134. specieslist returns empty data.frame for no results (@test-specieslist.R#5) - On CRAN
  
  135. specieslist checks fq fields (@test-specieslist.R#12) - On CRAN
  
  136. specieslist returns empty data.frame for no results (@test-specieslist.R#5) - On CRAN
  
  137. specieslist checks fq fields (@test-specieslist.R#12) - On CRAN
  
  138. specieslist returns empty data.frame for no results (@test-specieslist.R#5) - On CRAN
  
  139. specieslist checks fq fields (@test-specieslist.R#12) - On CRAN
  
  140. taxinfo_download generally works as expected (@test-taxinfo.R#6) - On CRAN
  
  141. taxinfo_download generally works as expected (@test-taxinfo.R#6) - On CRAN
  
  142. taxinfo_download generally works as expected (@test-taxinfo.R#6) - On CRAN
  
  143. taxinfo_download fields thingies work (@test-taxinfo.R#28) - On CRAN
  
  144. taxinfo_download fields thingies work (@test-taxinfo.R#28) - On CRAN
  
  145. taxinfo_download fields thingies work (@test-taxinfo.R#28) - On CRAN
  
  146. caching messages change as expected  (@test-utilities.R#27) - On CRAN
  
  147. check_fq extracts field names correctly (@test-utilities.R#38) - On CRAN
  
  148. check_fq extracts field names correctly (@test-utilities.R#38) - On CRAN
  
  149. check_fq extracts field names correctly (@test-utilities.R#38) - On CRAN
  
  150. acronyms remain uppercase (@test-variable-renaming.R#5) - On CRAN
  
  151. acronyms remain uppercase (@test-variable-renaming.R#5) - On CRAN
  
  152. acronyms remain uppercase (@test-variable-renaming.R#5) - On CRAN
  
  153. underscores are renamed to camelCase (@test-variable-renaming.R#14) - On CRAN
  
  154. underscores are renamed to camelCase (@test-variable-renaming.R#14) - On CRAN
  
  155. underscores are renamed to camelCase (@test-variable-renaming.R#14) - On CRAN
  
  156. particular variables are renamed for occurrence data (@test-variable-renaming.R#22) - On CRAN
  
  157. particular variables are renamed for occurrence data (@test-variable-renaming.R#22) - On CRAN
  
  158. particular variables are renamed for occurrence data (@test-variable-renaming.R#22) - On CRAN
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  1. fieldguide offline tests (@test-fieldguide.R#16) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  2. fieldguide offline tests (@test-fieldguide.R#17) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  3. fieldguide offline tests (@test-fieldguide.R#16) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  4. fieldguide offline tests (@test-fieldguide.R#17) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  5. fieldguide offline tests (@test-fieldguide.R#16) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  6. fieldguide offline tests (@test-fieldguide.R#17) - *NOTE, Feb 2018* --- the field guide functionality may not work because of recent changes to the ALA infrastructure. This is being investigated.
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error: NULL returned when no assertions present in input (@test-assertions
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ── 2. Error: NULL returned when no assertions present in input (@test-assertions
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ── 3. Error: NULL returned when no assertions present in input (@test-assertions
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:7
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ── 4. Error: check_assertions checks class of input correctly (@test-assertions.
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ── 5. Error: check_assertions checks class of input correctly (@test-assertions.
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ── 6. Error: check_assertions checks class of input correctly (@test-assertions.
  HTTP status code 502 received.
    Either there was an error with the request, or the servers may be down (try again later). If this problem persists please notify the ALA4R maintainers by lodging an issue at https://github.com/AtlasOfLivingAustralia/ALA4R/issues/ or emailing support@ala.org.au
  1: expect_null(check_assertions(temp)) at testthat/test-assertions.R:18
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: check_assertions(temp)
  5: ala_fields("assertions", as_is = TRUE)
  6: cached_get(this_url, type = "json")
  7: download_to_file(url, outfile = this_outfile, binary_file = identical(type, "binary_filename"), 
         verbose = verbose, on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error)
  8: check_status_code(h$value()[["status"]], on_redirect = on_redirect, on_client_error = on_client_error, 
         on_server_error = on_server_error, extra_info = diag_message)
  9: stop("HTTP status code ", xstatus, " received.\n", diag_msg)
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Frustration is a natural part of programming :)
  Error: Test failures
  Execution halted