R/DisplayMap.R

# You can learn more about package authoring with RStudio at:
#
#   http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
#   Build and Reload Package:  'Ctrl + Shift + B'
#   Check Package:             'Ctrl + Shift + E'
#   Test Package:              'Ctrl + Shift + T'

DisplayMap <- function(map) {

  expect_class(map,c("leaflet","htmlwidget"),info="Wrong class for map")

  print(map)
}
Blitzy29/R.Maps documentation built on May 6, 2019, 7:57 a.m.