First of all, I am a new user, so my doubt may be silly.
When I run the following code, everything is ok
ggplot(is_1990) +
geom_line(aes(year, f_is, colour = countryname))
But, when including gghighlight, the following error appears.
ggplot(is_1990) +
geom_line(aes(year, f_is, colour = countryname)) +
gghighlight(max(value) > 0.1)
Error: All calculations failed! Please provide a valid predicate.
Run `rlang::last_error()` to see where the error occurred.
Besides: Warning message:
Tried to calculate with group_by(), but the calculation failed.
Falling back to ungrouped filter operation...
Running rlang, I could not understand the error
<error/rlang_error>
All calculations failed! Please provide a valid predicate.
Backtrace:
1. ggplot2:::`+.gg`(...)
2. ggplot2:::add_ggplot(e1, e2, e2name)
4. gghighlight:::ggplot_add.gg_highlighter(object, p, objectname)