Skip to content

Commit 29b2643

Browse files
committed
bump to v0.1.1
1 parent 3faeea8 commit 29b2643

File tree

8 files changed

+54
-37
lines changed

8 files changed

+54
-37
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: gitdown
22
Title: Turn Your Git Commit Messages into a HTML Book
3-
Version: 0.1.0
3+
Version: 0.1.1
44
Authors@R:
55
c(person(given = "Sébastien",
66
family = "Rochette",
@@ -22,7 +22,7 @@ Description: Read all commit messages of your local git repository and
2222
organisms required to testify for every changes in their source code,
2323
in relation to features requests.
2424
License: MIT + file LICENSE
25-
URL: https://thinkr-open.github.io/gitdown,
25+
URL: https://thinkr-open.github.io/gitdown/,
2626
https://github.com/Thinkr-open/gitdown
2727
BugReports: https://github.com/Thinkr-open/gitdown/issues
2828
Depends:

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# gitdown 0.1.1
2+
3+
* Improve documentation
4+
15
# gitdown 0.1.0
26

37
* Get ready for CRAN

R/git_down.R

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,20 @@
2828
#' repo <- fake_repo()
2929
#' res <- git_down(repo, pattern = c("Tickets" = "ticket[[:digit:]]+", "Issues" = "#[[:digit:]]+"),
3030
#' open = FALSE)
31+
#' \dontrun{
3132
#' # Open the book
32-
#' # browseURL(res)
33-
#'
33+
#' browseURL(res)
34+
#' }
3435
#' # With table of correspondence
3536
#' pattern.table <- data.frame(number = c("#2", "#1"),
3637
#' title = c("#2 A second issue to illustrate a blog post",
3738
#' "#1 An example of issue"))
3839
#' res <- git_down(repo, pattern = c("Issues" = "#[[:digit:]]+"),
3940
#' pattern.table = pattern.table, open = FALSE)
41+
#' \dontrun{
4042
#' # Open the book
41-
#' # browseURL(res)
43+
#' browseURL(res)
44+
#' }
4245

4346
git_down <- function(repo = ".", book_path = "gitdown",
4447
open = TRUE, author = "John Doe",

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Full documentation on {pkgdown} site : https://thinkr-open.github.io/gitdown/ind
3434

3535
## Installation
3636

37-
You can install the last version of {gitdown} from Github:
37+
You can install the last version of {gitdown} from GitHub:
3838

3939
``` r
4040
remotes::install_github("ThinkR-open/gitdown")
@@ -70,7 +70,7 @@ knitr::include_graphics("reference/figures/gitdown_links.png")
7070
```
7171

7272
If you add a table of correspondence, you can change titles of the patterns.
73-
_Note that you can use [{gitlabr}](https://statnmap.github.io/gitlabr/) or [{gh}](https://gh.r-lib.org) to retrieve list of issues from Gitlab or Github respectively, as presented in ["Download Gitlab or Github issues and make a summary report of your commits"](https://rtask.thinkr.fr/download-gitlab-or-github-issues-and-make-a-summary-report-of-your-commits/)._
73+
_Note that you can use [{gitlabr}](https://statnmap.github.io/gitlabr/) or [{gh}](https://gh.r-lib.org) to retrieve list of issues from GitLab or GitHub respectively, as presented in ["Download GitLab or GitHub issues and make a summary report of your commits"](https://rtask.thinkr.fr/download-gitlab-or-github-issues-and-make-a-summary-report-of-your-commits/)._
7474

7575
```{r, eval=FALSE}
7676
# With table of correspondence

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Full documentation on {pkgdown} site :
2121

2222
## Installation
2323

24-
You can install the last version of {gitdown} from Github:
24+
You can install the last version of {gitdown} from GitHub:
2525

2626
``` r
2727
remotes::install_github("ThinkR-open/gitdown")
@@ -64,8 +64,8 @@ git_down(repo, pattern = c("Tickets" = "ticket[[:digit:]]+",
6464
If you add a table of correspondence, you can change titles of the
6565
patterns.
6666
*Note that you can use [{gitlabr}](https://statnmap.github.io/gitlabr/)
67-
or [{gh}](https://gh.r-lib.org) to retrieve list of issues from Gitlab
68-
or Github respectively, as presented in [“Download Gitlab or Github
67+
or [{gh}](https://gh.r-lib.org) to retrieve list of issues from GitLab
68+
or GitHub respectively, as presented in [“Download GitLab or GitHub
6969
issues and make a summary report of your
7070
commits”](https://rtask.thinkr.fr/download-gitlab-or-github-issues-and-make-a-summary-report-of-your-commits/).*
7171

@@ -103,13 +103,13 @@ get_commits_pattern(repo, pattern = "#[[:digit:]]+", ref = "master") %>%
103103
#> # A tibble: 7 x 12
104104
#> pattern.content sha summary message author email when order
105105
#> <chr> <chr> <chr> <chr> <chr> <chr> <dttm> <int>
106-
#> 1 #32 7c1aa… Add NE… "Add NE… Alice alic… 2021-05-08 17:29:32 4
107-
#> 2 #1 7c1aa… Add NE… "Add NE… Alice alic… 2021-05-08 17:29:32 4
108-
#> 3 #12 7c1aa… Add NE… "Add NE… Alice alic… 2021-05-08 17:29:32 4
109-
#> 4 #2 a0285… Third … "Third … Alice alic… 2021-05-08 17:29:32 3
110-
#> 5 #145 a0285… Third … "Third … Alice alic… 2021-05-08 17:29:32 3
111-
#> 6 #1 fe750… exampl… "exampl… Alice alic… 2021-05-08 17:29:32 2
112-
#> 7 <NA> 4fe03… First … "First … Alice alic… 2021-05-08 17:29:32 1
106+
#> 1 #32 e66cf… Add NE… "Add NE… Alice alic… 2021-05-08 18:00:01 4
107+
#> 2 #1 e66cf… Add NE… "Add NE… Alice alic… 2021-05-08 18:00:01 4
108+
#> 3 #12 e66cf… Add NE… "Add NE… Alice alic… 2021-05-08 18:00:01 4
109+
#> 4 #2 cebbb… Third … "Third … Alice alic… 2021-05-08 18:00:01 3
110+
#> 5 #145 cebbb… Third … "Third … Alice alic… 2021-05-08 18:00:01 3
111+
#> 6 #1 934b8… exampl… "exampl… Alice alic… 2021-05-08 18:00:01 2
112+
#> 7 <NA> 1ba16… First … "First … Alice alic… 2021-05-08 18:00:01 1
113113
#> # … with 4 more variables: tag.name <chr>, tag.message <chr>,
114114
#> # pattern.type <chr>, pattern.title <chr>
115115
```
@@ -128,18 +128,18 @@ get_commits_pattern(
128128
#> # A tibble: 12 x 12
129129
#> pattern.type pattern.content sha summary message author email
130130
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
131-
#> 1 Tickets ticket6789 7c1aace9… Add NEWS "Add NEWS\n\n… Alice alice…
132-
#> 2 Tickets ticket1234 7c1aace9… Add NEWS "Add NEWS\n\n… Alice alice…
133-
#> 3 Issues #32 7c1aace9… Add NEWS "Add NEWS\n\n… Alice alice…
134-
#> 4 Issues #1 7c1aace9… Add NEWS "Add NEWS\n\n… Alice alice…
135-
#> 5 Issues #12 7c1aace9… Add NEWS "Add NEWS\n\n… Alice alice…
136-
#> 6 Tickets <NA> a028509a… Third co… "Third commit… Alice alice…
137-
#> 7 Issues #2 a028509a… Third co… "Third commit… Alice alice…
138-
#> 8 Issues #145 a028509a… Third co… "Third commit… Alice alice…
139-
#> 9 Tickets ticket1234 fe750dfe… example:… "example: mod… Alice alice…
140-
#> 10 Issues #1 fe750dfe… example:… "example: mod… Alice alice…
141-
#> 11 Tickets <NA> 4fe0392f… First co… "First commit… Alice alice…
142-
#> 12 Issues <NA> 4fe0392f… First co… "First commit… Alice alice…
131+
#> 1 Tickets ticket6789 e66cf6b1… Add NEWS "Add NEWS\n\n… Alice alice…
132+
#> 2 Tickets ticket1234 e66cf6b1… Add NEWS "Add NEWS\n\n… Alice alice…
133+
#> 3 Issues #32 e66cf6b1… Add NEWS "Add NEWS\n\n… Alice alice…
134+
#> 4 Issues #1 e66cf6b1… Add NEWS "Add NEWS\n\n… Alice alice…
135+
#> 5 Issues #12 e66cf6b1… Add NEWS "Add NEWS\n\n… Alice alice…
136+
#> 6 Tickets <NA> cebbb5e9… Third co… "Third commit… Alice alice…
137+
#> 7 Issues #2 cebbb5e9… Third co… "Third commit… Alice alice…
138+
#> 8 Issues #145 cebbb5e9… Third co… "Third commit… Alice alice…
139+
#> 9 Tickets ticket1234 934b8178… example:… "example: mod… Alice alice…
140+
#> 10 Issues #1 934b8178… example:… "example: mod… Alice alice…
141+
#> 11 Tickets <NA> 1ba16a26… First co… "First commit… Alice alice…
142+
#> 12 Issues <NA> 1ba16a26… First co… "First commit… Alice alice…
143143
#> # … with 5 more variables: when <dttm>, order <int>, tag.name <chr>,
144144
#> # tag.message <chr>, pattern.title <chr>
145145
```
@@ -158,9 +158,9 @@ With this example, the vignette will show this content:
158158

159159
| File | Tracked in git | Date of creation | Last modification |
160160
|:-------------|:---------------|:--------------------|:--------------------|
161-
| NEWS.md | Yes | 2021-05-08 19:29:33 | 2021-05-08 19:29:33 |
162-
| example.txt | Yes | 2021-05-08 19:29:33 | 2021-05-08 19:29:33 |
163-
| R/my\_mean.R | No | NA | 2021-05-08 19:29:33 |
161+
| NEWS.md | Yes | 2021-05-08 20:00:01 | 2021-05-08 20:00:01 |
162+
| example.txt | Yes | 2021-05-08 20:00:01 | 2021-05-08 20:00:01 |
163+
| R/my\_mean.R | No | NA | 2021-05-08 20:00:01 |
164164

165165
## Sponsor
166166

dev_history.R

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,16 @@ usethis::use_github_action("test-coverage")
6767

6868

6969
# CRAN
70-
usethis::use_release_issue(version = "0.1.1")
70+
devtools::build_readme()
71+
urlchecker::url_check()
72+
urlchecker::url_update()
73+
74+
# usethis::use_release_issue(version = "0.1.1")
75+
usethis::use_version('patch')
76+
7177
rcmdcheck::rcmdcheck(args = "--as-cran")
7278
spelling::spell_check_package()
79+
rhub::validate_email()
7380
rhub::check_for_cran()
7481
rhub::check_on_windows(check_args = "--force-multiarch")
7582
rhub::check_on_fedora()

man/git_down.Rd

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/gitdown-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)