The implvol package computes option implied volatilities using Peter Jaeckel's implementation of "Let's Be Rational" (reference source code).
Install the implvol package from GitHub with:
devtools::install_github("cmhein/implvol")
According to Jaeckel's "Let's Be Rational", the algorithm implies Black's volatility from option price with as little as two iterations to maximum attainable precision on standard (64 bit floating point) hardware for all possible inputs.
Implementation of "Let's Be Rational" is copyrighted Peter Jaeckel.
In particular, see note regarding the reference implementation:
Permission to use, copy, modify, and distribute this software is freely granted, provided that the contained copyright notice is preserved. WARRANTY DISCLAIMER: The Software is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
And see the copyright notice in "Let's Be Rational" C++ header files:
Copyright © 2013-2014 Peter Jäckel.
Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved.
WARRANTY DISCLAIMER The Software is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.