Running 'testthat.R' [8s/10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(usmap)
  > 
  > test_check("usmap")
  -- 1. Error: data frame with AK and HI points is transformed (@test-transform.R#
  `rgdal` must be installed to use `usmap_transform`.
           Use: install.packages("rgdal") and try again.
  1: expect_equal(usmap_transform(data), result, tolerance = 1e-05) at testthat/test-transform.R:16
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: usmap_transform(data)
  5: stop("`rgdal` must be installed to use `usmap_transform`.\n         Use: install.packages(\"rgdal\") and try again.")
  
  -- 2. Error: data frame with AK points is transformed (@test-transform.R#32)  --
  `rgdal` must be installed to use `usmap_transform`.
           Use: install.packages("rgdal") and try again.
  1: expect_equal(usmap_transform(data), result, tolerance = 1e-05) at testthat/test-transform.R:32
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: usmap_transform(data)
  5: stop("`rgdal` must be installed to use `usmap_transform`.\n         Use: install.packages(\"rgdal\") and try again.")
  
  -- 3. Error: data frame with HI points is transformed (@test-transform.R#48)  --
  `rgdal` must be installed to use `usmap_transform`.
           Use: install.packages("rgdal") and try again.
  1: expect_equal(usmap_transform(data), result, tolerance = 1e-05) at testthat/test-transform.R:48
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: usmap_transform(data)
  5: stop("`rgdal` must be installed to use `usmap_transform`.\n         Use: install.packages(\"rgdal\") and try again.")
  
  -- 4. Error: data frame with no AK or HI points is transformed (@test-transform.
  `rgdal` must be installed to use `usmap_transform`.
           Use: install.packages("rgdal") and try again.
  1: expect_equal(usmap_transform(data), result, tolerance = 1e-05) at testthat/test-transform.R:64
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: usmap_transform(data)
  5: stop("`rgdal` must be installed to use `usmap_transform`.\n         Use: install.packages(\"rgdal\") and try again.")
  
  == testthat results  ===========================================================
  [ OK: 145 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Error: data frame with AK and HI points is transformed (@test-transform.R#16) 
  2. Error: data frame with AK points is transformed (@test-transform.R#32) 
  3. Error: data frame with HI points is transformed (@test-transform.R#48) 
  4. Error: data frame with no AK or HI points is transformed (@test-transform.R#64) 
  
  Error: testthat unit tests failed
  Execution halted