Closed plhm closed 3 years ago
Hi @plhm, thank you for all your suggestions! I've added some formatting to make it easier to read. I hope you don't mind.
I think most of the grammar changes are uncontroversial. Would you be willing to draft a pull request for them?
download link in 81-82 (links to pdf cheatsheets) - I believe it's primarily the browser that decides whether pdfs are opened in the browser or downloaded. It may be possible to override this user preference (see here and here). Changing response headers is not an option, so we'd have to modify the link:
[text](url){:target="_blank"}
, see here<a href="url" target="_blank">text</a>
,see hereIntroducing the forward assignment operator ->
- I'm a bit hesitant to use this because I think it can be a source for confusion. I understand that it adds flexibility when working interactively (and I sometimes use it, too) but It arguably makes scripts more difficult to read because forward assignment can come a bit unexpectedly. I'm worried that it would be confusing to novice R users / programmers, who might still have a fragile mental model of variable assignment at this point in the lesson. What do the other maintainers think?
It looked like a pull request had not been submitted yet so I created one for my carpentries instructor training checkout :). I have only implemented the grammar changes. Re: forward assignment I agree it may add a lot to the cognitive load for new users to learn it at this stage.
I will close this issue now. Thank you @em-bellis for the grammar fixes! I consider the other two suggestions "closed by discussion" since their hasn't been any response to my previous comment. If anyone disagrees please feel free to reopen.
Hi all,
This is nitpicking given that so much awesome work has been done in this repository, but here are some notes on grammar, as well as some suggestions on style:
In Manipulating, analyzing and exporting data with tidyverse:
Grammar
Format
Lines 81 - 82: Rather than having link for downloading, allow users to clink on hyperlink and have it opened in their browser.
Lines 192 - 197: Given that I'm used to working with bash I also like the '->' option for assigning values to variables in a pipe. For this example, I'd suggest adding the following, just so that folks know that this option is out there: