Open rfbrown opened 5 months ago
This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.
It should be safe to Approve and Run the workflows that need maintainer approval.
We note that the warning also shows up in the lesson and can be used as an example (which we did on the fly)- but if used as an example, the lesson should contain descriptive text about the warning.
Note that there are a few other places in the lesson where this issue shows up, so the fix should be consistent. We suggest changing all mentions of element_rect(size = )
to element_rect(linewidth = )
.
Please briefly summarise the changes made in the pull request, and the reason(s) for making these changes.
Update
element_rect(size = 1)
toelement_rect(line_width = 1)
to address warning: Thesize
argument ofelement_rect()
is deprecated as of ggplot2 3.4.0. ℹ Please use thelinewidth
argument instead.