title: How can I suppress "Transformation introduced infinite values" warnings in R?
body: <p>This plot is great. It has everything I need, and the <code>y=0</code> value is in a sensible place despite the logarithmic scale. All is great!</p>
  <pre><code>library(ggplot2)
  df &lt;- data.frame(x=1:3, y=c(1, 0, 2))
  print(ggplot(df, aes(x=x, y=y)) + geom_point() + scale_y_log10())
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ooMDn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ooMDn.png" alt="enter image description here" /></a></p>
  <p>How can I suppress this warning, and only this warning?</p>
  <blockquote>
  <p>Transformation introduced infinite values in continuous y-axis</p>
  </blockquote>