Skip to content

Commit

Permalink
update and build README
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Feb 28, 2024
1 parent 8545775 commit 5fbcaf8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ data <- market_share %>%
)
)
plot_trajectory(data) +
data %>%
prep_trajectory() %>%
plot_trajectory() +
labs(
title = "Power production trajectory for Renewables",
subtitle = "With reference to climate scenarios.",
Expand Down
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,15 @@ data <- market_share %>%
)
)

plot_trajectory(data) +
data %>%
prep_trajectory() %>%
plot_trajectory() +
labs(
title = "Power production trajectory for Renewables",
subtitle = "With reference to climate scenarios.",
x = "Year",
y = "Production (normalized to 2020)"
)
#> Warning: The `data` argument of `plot_trajectory()` must be prepped already as of
#> r2dii.plot 0.4.0.
#> ℹ From the next release you will need to call
#> `r2dii.plot::plot_trajectory(data)` prior to calling
#> `r2dii.plot::plot_trajectory()`.
#> ℹ 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.
```

<img src="man/figures/README-unnamed-chunk-3-1.png" width="100%" style="display: block; margin: auto auto auto 0;" />
Expand Down
Binary file modified man/figures/README-unnamed-chunk-2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5fbcaf8

Please sign in to comment.