Closed piiskop closed 8 months ago
The omit_power
vector is a range of exponents. I think you intended to write
format_power(numbers, omit_power = c(-6, 6))
where the second entry is a positive 6.
No, I did not. What a mistake that I did not make! Do yo usee that the second value in the vector has the power -6 although I explicitly told it to exclude the power -6.
Oh, I see. You wanted to exclude just the -6 power. That is not a use-case I considered. I'll see what I can do .
I've edited the code to address the issue you raised. After I upload the development version to GitHub (in an hour or so), you are welcome to download it and try your use cases again. I think the results are what you had expected.
Development version is now on GitHub