-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from jbelmiro/master
Changing Readme Rmd to qmd
- Loading branch information
Showing
8 changed files
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ Authors@R: c(person("Ben", "Marwick", role = c("aut", "cre"), email = "benmarwic | |
person("Wojciech", "Francuzik", role = "ctb"), | ||
person("Charles", "Gray", role = "ctb"), | ||
person("Joseph de la Torre", "Dwyer", role = "ctb"), | ||
person("Max", "Czapanskiy", role = "ctb")) | ||
person("Max", "Czapanskiy", role = "ctb"), | ||
person("Joana","Belmiro", role = "ctb")) | ||
Maintainer: Ben Marwick <[email protected]> | ||
Description: Instructions, templates, and functions for making a basic | ||
compendium suitable for doing reproducible research with R. | ||
|
@@ -36,6 +37,6 @@ LazyData: true | |
URL: https://github.com/benmarwick/rrtools | ||
BugReports: https://github.com/benmarwick/rrtools/issues | ||
Suggests: testthat, quarto, knitr | ||
RoxygenNote: 7.2.1 | ||
RoxygenNote: 7.3.1 | ||
VignetteBuilder: knitr | ||
Date: 2019-01-15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/bash | ||
README=($(git diff --cached --name-only | grep -Ei '^README\.[R]?md$')) | ||
README=($(git diff --cached --name-only | grep -Ei '^README\.[q]?md$')) | ||
MSG="use 'git commit --no-verify' to override this check" | ||
|
||
if [[ ${#README[@]} == 0 ]]; then | ||
exit 0 | ||
fi | ||
|
||
if [[ README.Rmd -nt README.md ]]; then | ||
echo -e "README.md is out of date; please re-knit README.Rmd\n$MSG" | ||
if [[ README.qmd -nt README.md ]]; then | ||
echo -e "README.md is out of date; please re-knit README.qmd\n$MSG" | ||
exit 1 | ||
elif [[ ${#README[@]} -lt 2 ]]; then | ||
echo -e "README.Rmd and README.md should be both staged\n$MSG" | ||
echo -e "README.qmd and README.md should be both staged\n$MSG" | ||
exit 1 | ||
fi |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters