title: Different color addPolylines in Leaflet R
body: <p>I have a shiny app that is a basically a leaflet with polylines that go from one lat/long to another.</p>
  
  <p>I want to have some polylines be blue and some be green.</p>
  
  <p>However, I am not getting this to work. This is the data I am giving the function:</p>
  
  <p><a href="https://i.stack.imgur.com/jfiej.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jfiej.png" alt="enter image description here"></a></p>
  
  <p>This is the function:</p>
  
  <pre class="lang-js prettyprint-override"><code>m = addPolylines(m, lng = data_subset()$long,
    lat = data_subset()$lat,
    color = data_subset()$color,
    group = data_subset()$group
  )
  </code></pre>
  
  <p>The output map has all the lines green however. What am I doing wrong?</p>