title: R addPolygons function
body: <p>I am trying to add some polygons to a map, but I'm not sure why my code is not working. I've used the same code before on other .shp files, and it works fine. I obtained the spatial file from here: <a href="http://library.queensu.ca/geo/health_regions" rel="nofollow">http://library.queensu.ca/geo/health_regions</a>. It is under Ontario->Local Health Integrated Networks -> 2006 -> Boundary Files. </p>
  
  <pre><code>  lhin&lt;- readOGR("lhin_divisions/HR035B08.shp",layer = "HR035B08")
    leaflet() %&gt;% addTiles()%&gt;%setView(lng=-81,lat=45,zoom=6)
    %&gt;%addPolygons(data=lhin,stroke=TRUE, weight=1, col='red')
  </code></pre>
  
  <p>I feel like I am missing something simple, but I can't figure out what?</p>
  
  <p>The resulting map should have the boundaries shown here:<a href="http://library.queensu.ca/madgic/free/health_regions/2005/images/lhin_ont.pdf" rel="nofollow">http://library.queensu.ca/madgic/free/health_regions/2005/images/lhin_ont.pdf</a></p>