Fixed warnings generated by last version of ggplot2 due to existing fields provided in aes but that are not actually used (#10).
Fixed a bug in plot that occurred when trying to plot several versions of simulated results and without intercrop situations.
Fixed cff file generation using github action. Now generated on each commit that modifies the Description file + on release.
Minor changes to clean the code following CRAN checks procedure application.
For users:
[
for cropr_simulation, i.e. we can now index the output of plots using [
bind_rows_sim
for bind_rows
all_situations = FALSE
to get the situation name as hover in plotlyformat_cropr
Internals:
{vdiffr}
){styler}
and {goodpractice}
cat_situations
and make it faaaast.id
in bind_rows
if providedLCS
to remove a warning Fixed bug with successive argument:
did not work with several lists of situations,
did not work with observations of only a subset of the situations.
Fixed save_plot_pdf function
bind_rows_sim
and split_df2sim
helper functions to either bind a list of simulations into a single data.frame
or to split it back. Works also on observations.summary
can now be grouped by crops. Useful for cases where we have different usms with different crops, and for intercropping.extract_plot
for residues plotsFor that, the sim_list
element of the variable returned by the wrapper must have the attribute cropr_simulation
, please refer to the guidelines for implementing a crop model R wrapper for CroptimizR for more details.
some bugs fixed (coloring for model comparison and overlapping variables, absence of Plant columns in obs and/or sim, ...)
license changed to CeCILL-C
NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.