Skip to content

Commit ac63905

Browse files
committed
bump version and release v0.0.1 on Github
1 parent 547e42d commit ac63905

22 files changed

+78
-53
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: sugrrants
22
Title: Supporting Graphics with R for Analysing Time Series
3-
Version: 0.0.0.9000
3+
Version: 0.0.1
44
Authors@R: c(
55
person("Earo", "Wang", email = "earo.wang@gmail.com", role = c("aut", "cre")),
66
person("Di", "Cook", role = "aut"),

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sugrrants 0.0.0.9000
1+
# sugrrants 0.0.1
22

33
* Added a `NEWS.md` file to track changes to the package.
44
* Added `frame_calendar` function to compute calendar grids for visual representation of temporal data, coupled with a vignette.

R/draw-key.R

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
#'
55
#' @return A grid grob
66
#'
7+
#' @keywords internal
8+
#' @name draw-key
9+
NULL
10+
11+
#' @rdname draw-key
712
#' @export
8-
#'
913
draw_key_acf <- function(data, params, size) {
1014
grobTree(
1115
draw_key_rect(data, params),

R/geom-acf.R

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#'
33
#' @description Since the data input is `data.frame`, it's better to sort
44
#' the date-times from early to recent and make implicit missing values explicit
5-
#' before using `geom_acfbar`.
5+
#' before using `geom_acf`.
66
#'
77
#' @inheritParams ggplot2::geom_bar
88
#' @param lag.max An integer indicating the maximum lag at which to calculate the
@@ -14,7 +14,6 @@
1414
#' default is the "correlation" and other options are "covariance" and "partial".
1515
#'
1616
#' @author Earo Wang
17-
#'
1817
#' @rdname sugrrants-geom
1918
#'
2019
#' @examples
@@ -28,7 +27,6 @@
2827
#' geom_acf()
2928
#'
3029
#' @export
31-
#'
3230
geom_acf <- function(mapping = NULL, data = NULL,
3331
position = "identity", na.rm = FALSE, show.legend = NA, inherit.aes = TRUE,
3432
lag.max = NULL, type = "correlation", level = 0.95, ...) {

R/stat-acf.R

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#' stat_acf(geom = "bar")
2727
#'
2828
#' @export
29-
#'
3029
stat_acf <- function(mapping = NULL, data = NULL, geom = "bar",
3130
position = "identity", na.rm = FALSE, show.legend = NA,
3231
inherit.aes = TRUE, lag.max = NULL, type = "correlation", level = 0.95, ...) {

README.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ The goal of *sugrrants* is to provide supporting graphics with R for analysing t
2323

2424
## Installation
2525

26-
You could install the development version from Github using
26+
The recommended development version is **v0.0.1** and you could install the version from Github using
2727

2828
```r
2929
# install.packages("devtools")
30-
devtools::install_github("earowang/sugrrants", build_vignettes = TRUE)
30+
devtools::install_github("earowang/sugrrants@v0.0.1", build_vignettes = TRUE)
3131
```
3232

3333
## Usage

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ The goal of *sugrrants* is to provide supporting graphics with R for analysing t
1313
Installation
1414
------------
1515

16-
You could install the development version from Github using
16+
The recommended development version is **v0.0.1** and you could install the version from Github using
1717

1818
``` r
1919
# install.packages("devtools")
20-
devtools::install_github("earowang/sugrrants", build_vignettes = TRUE)
20+
devtools::install_github("earowang/sugrrants@v0.0.1", build_vignettes = TRUE)
2121
```
2222

2323
Usage

_pkgdown.yml

+20
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ authors:
1010
Rob Hyndman:
1111
href: http://robjhyndman.com
1212

13+
reference:
14+
- title: Calendar based graphics
15+
desc: >
16+
Rearrange `data.frame` or `tibble` into a calendar layout using linear
17+
algebra tools for plotting via `ggplot2`.
18+
contents:
19+
- frame_calendar
20+
21+
- title: Geoms and stats extension to temporal-context data
22+
contents:
23+
- starts_with("geom_")
24+
- starts_with("stat_")
25+
26+
- title: Handle with temporal components
27+
desc: >
28+
These functions provides tools to handle with temporal components.
29+
contents:
30+
- au_holiday
31+
- wday2
32+
1333
navbar:
1434
type: default
1535
left:

docs/articles/index.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/news/index.html

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/draw_key_acf.html docs/reference/draw-key.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

docs/reference/frame-calendar.html

+4-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/index.html

+28-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

docs/reference/stat_acf.html

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

docs/reference/sugrrants-geom.html

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/draw_key_acf.Rd man/draw-key.Rd

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sugrrants-geom.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)