New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update demo.Rmd #19
Update demo.Rmd #19
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19 +/- ##
====================================
Coverage 0% 0%
====================================
Files 17 17
Lines 149 149
====================================
Misses 149 149 Continue to review full report at Codecov.
|
vignettes/wip/demo.Rmd
Outdated
Create new package | ||
You would start by creating a new package. We use the `tempfile()` and `create_package()` functions for this. | ||
|
||
The output shows the details of the package created. | ||
|
||
```{r } | ||
pkg <- usethis::create_package(tempfile("pkg")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll change the code later to use "superfrob" as the package name.
vignettes/wip/demo.Rmd
Outdated
pkg | ||
``` | ||
|
||
Set up development work | ||
Next activity on the list would be to set up this package for development and create a git repository for the same. Following would be the sequence of steps you would most likely follow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code in this chunk is necessary only for the demonstration here, in a realistic scenario everything will be set up already. Don't need to elaborate further here.
vignettes/wip/demo.Rmd
Outdated
|
||
```{r } | ||
setwd(pkg) # FIXME: This shouldn't be necessary | ||
news <- readLines("NEWS.md") | ||
cat(news, sep = "\n") | ||
``` | ||
|
||
Consolidate messages | ||
You decide that you do not want all those development commit messages to appear in `NEWS.md`. So you decide to change it to something more readable from the release perspective. No problem! You can replace the messages with something more readable as follows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea here is to convert changelog entries to release notes.
Thanks! |
* Harmonize yaml formatting Closes #19 * revert changes to matrix section
Updated as per instructions