title: R: Error in get_map() from ggmap
body: <p>I am trying to plot a simple map in R using function get_map() for a certain location. Following is my code :</p>
  
  <p>e.g.</p>
  
  <pre><code>get_map(location = "texas", zoom = 10, source = "google")
  </code></pre>
  
  <p>I've tried different parameters. The error I'm getting is following:</p>
  
  <pre><code>Error in aperm.default(map, c(2, 1, 3)) : 
  perm' is of wrong length 3 (!= 2)
  </code></pre>
  
  <p>What is exactly happening in the background &amp; how do I fix it? I checked all the possible blogs I could, no one seems to get this error. </p>
  
  <p>Please help!</p>