tests/testthat/test-calc_zoom.R

context("calc_zoom")

test_that("calc_zoom example works", {
  zoom <- calc_zoom(
    c(-94, -95),
    c(56, 57)
  )
  expect_equal(zoom, 10)
})

Try the ggmap package in your browser

Any scripts or data that you put into this service are public.

ggmap documentation built on Nov. 19, 2023, 9:06 a.m.