You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular, calling r2dii.plot::plot_emission_intensity(data) prior to calling r2dii.plot::plot_emission_intensity() doesn't really make sense?
See reprex:
library(r2dii.plot)
plot_emission_intensity(sda)
#> Warning: The `data` argument of `plot_emission_intensity()` must be prepped already as#> of r2dii.plot 0.4.0.#> ℹ From the next release you will need to call#> `r2dii.plot::plot_emission_intensity(data)` prior to calling#> `r2dii.plot::plot_emission_intensity()`.#> ℹ Alternatively custom data preparation will also become possible.#> This warning is displayed once every 8 hours.#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was#> generated.
you're right, it should be ℹ From the next release you will need to call r2dii.plot::prep_emission_intensity(data) prior to calling r2dii.plot::plot_emission_intensity()
However, I would be happy to discuss if we want to introduce this change or not. Back then with Mauro we thought it would be a more intuitive interface. Happy to re-evaluate and either introduce the change or get rid of the message (even though it is probably not the best practice to promise something and then not do it.
In particular, calling
r2dii.plot::plot_emission_intensity(data)
prior to callingr2dii.plot::plot_emission_intensity()
doesn't really make sense?See reprex:
Created on 2024-01-23 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: