Running ‘testthat.R’ [45s/77s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > ############################################################################## #
  > # Copyright (C) 2019 by 52 North                                               #
  > # Initiative for Geospatial Open Source Software GmbH                          #
  > #                                                                              #
  > # Contact: Andreas Wytzisk                                                     #
  > # 52 North Initiative for Geospatial Open Source Software GmbH                 #
  > # Martin-Luther-King-Weg 24                                                    #
  > # 48155 Muenster, Germany                                                      #
  > # info@52north.org                                                             #
  > #                                                                              #
  > # This program is free software; you can redistribute and/or modify it under   #
  > # the terms of the GNU General Public License version 2 as published by the    #
  > # Free Software Foundation.                                                    #
  > #                                                                              #
  > # This program is distributed WITHOUT ANY WARRANTY; even without the implied   #
  > # WARRANTY OF MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
  > # General Public License for more details.                                     #
  > #                                                                              #
  > # You should have received a copy of the GNU General Public License along with #
  > # this program (see gpl-2.0.txt). If not, write to the Free Software           #
  > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or #
  > # visit the Free Software Foundation web page, http://www.fsf.org.             #
  > #                                                                              #
  > # Author: Daniel Nuest (daniel.nuest@uni-muenster.de)                          #
  > # Created: 2010-09-24                                                          #
  > # Project: sos4R - https://github.com/52North/sos4R                            #
  > #                                                                              #
  > ############################################################################## #
  > #
  > # http://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf
  > # or
  > # http://r-pkgs.had.co.nz/tests.html
  > #
  > # Do not execute this script manually! Use devtools::test()!
  > #
  > library("testthat")
  > library("webmockr")
  > library("sos4R")
  > 
  > test_check("sos4R")
  ── 1. Error: KVP::sites(sos, empty = TRUE) returns a list of stations as Spatial
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsEmptyAndCoords(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ── 2. Error: KVP::sites(sos, empty = FALSE) returns a list of stations as Spatia
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsAndCoords(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ── 3. Error: KVP: sites(sos,includePhenomena=TRUE,...) returns a list of station
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsAndCoordsAndPhenomenaInformation(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ── 4. Error: KVP: sites with metadata (@test_sites.R#614)  ─────────────────────
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsAndCoordsAndPhenomenaInformationAndTemporalBBox(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ── 5. Error: KVP::sites(sos, empty=TRUE, includePhenomena = TRUE,...) (@test_sit
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsAndCoordsAndPhenomenaInformationWithEmpty(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ── 6. Error: KVP::sites(sos, empty=TRUE, includePhenomena = TRUE, includeTempora
  invalid 'x' type in 'x && y'
  Backtrace:
   1. sos4R:::.checkSitesDataFrameWithIdsAndCoordsAndPhenomenaInformationAndTemporalBBoxAndEmptySites(sitesDataFrame)
   2. testthat::expect_equal(...)
   4. testthat:::compare.character(act$val, exp$val, ...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1328 | SKIPPED: 52 | WARNINGS: 1 | FAILED: 6 ]
  1. Error: KVP::sites(sos, empty = TRUE) returns a list of stations as SpatialPointsDataFrame that contain siteIDs and coordinates (@test_sites.R#498) 
  2. Error: KVP::sites(sos, empty = FALSE) returns a list of stations as SpatialPointsDataFrame that contain siteIDs and coordinates (@test_sites.R#536) 
  3. Error: KVP: sites(sos,includePhenomena=TRUE,...) returns a list of stations as SpatialPointsDataFrame that contain siteIDs and coordinates (@test_sites.R#575) 
  4. Error: KVP: sites with metadata (@test_sites.R#614) 
  5. Error: KVP::sites(sos, empty=TRUE, includePhenomena = TRUE,...) (@test_sites.R#656) 
  6. Error: KVP::sites(sos, empty=TRUE, includePhenomena = TRUE, includeTemporalBbox = TRUE,...) (@test_sites.R#693) 
  
  Error: testthat unit tests failed
  Execution halted