datacarpentry / r-intro-geospatial

Introduction to R for Geospatial Data
https://datacarpentry.org/r-intro-geospatial/
Other
47 stars 71 forks source link

Use ggsave instead of pdf - dev.off to save plots #148

Closed albhasan closed 6 months ago

albhasan commented 8 months ago

Remove the calls to pdf and dev.off to save plots in lesson 8. We use ggsave instead since it fits better with plots built using the ggplot2package.

This PR:

Closes #121

github-actions[bot] commented 8 months ago

Thank you!

Thank you for your pull request :smiley:

:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

Rendered Changes

:mag: Inspect the changes: https://github.com/datacarpentry/r-intro-geospatial/compare/md-outputs..md-outputs-PR-148

The following changes were observed in the rendered markdown documents:

 08-writing-data.md | 63 +++++++++++++++++++++++++-----------------------------
 md5sum.txt         |  2 +-
 2 files changed, 30 insertions(+), 35 deletions(-)
What does this mean? If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible. This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

:stopwatch: Updated at 2024-01-11 14:01:20 +0000