Skip to content

Commit 31e736b

Browse files
authored
Merge pull request #176 from r-lib/rc-0.1.0
RC 0.1.0
2 parents d5dd4bc + 7b23065 commit 31e736b

File tree

9 files changed

+49
-22
lines changed

9 files changed

+49
-22
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@
1010
^docs$
1111
^pkgdown$
1212
^vignettes/articles$
13+
^cran-comments\.md$
14+
^CRAN-RELEASE$

DESCRIPTION

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: clock
22
Title: Date-Time Types and Tools
3-
Version: 0.0.0.9000
3+
Version: 0.1.0
44
Authors@R:
55
c(person(given = "Davis",
66
family = "Vaughan",
@@ -12,13 +12,12 @@ Authors@R:
1212
comment = "Author of the included date library"),
1313
person(given = "RStudio",
1414
role = c("cph", "fnd")))
15-
Description: Provides a comprehensive library for date-time
16-
manipulations using a new family of orthogonal date-time classes
17-
(durations, time points, zoned-times, and calendars) that partition
18-
responsibilities so that the complexities of time zones are only
19-
considered when they are really needed. Capabilities include:
20-
date-time parsing, formatting, arithmetic, extraction and updating of
21-
components, and rounding.
15+
Description: Provides a comprehensive library for date-time manipulations
16+
using a new family of orthogonal date-time classes (durations, time
17+
points, zoned-times, and calendars) that partition responsibilities so
18+
that the complexities of time zones are only considered when they are
19+
really needed. Capabilities include: date-time parsing, formatting,
20+
arithmetic, extraction and updating of components, and rounding.
2221
License: MIT + file LICENSE
2322
URL: https://github.com/r-lib/clock
2423
BugReports: https://github.com/r-lib/clock/issues

R/posixt.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ arith_duration_and_posixt <- function(op, x, y, ...) {
444444
#' yourself. For example, you could convert the previous example to a
445445
#' naive-time instead of a sys-time manually with [as_naive_time()], add
446446
#' 1 second giving `"2020-03-08 02:00:00"`, then convert back to a
447-
#' POSIXct/POSIXlt, dealing with the nonexistent time that get's created by
447+
#' POSIXct/POSIXlt, dealing with the nonexistent time that gets created by
448448
#' using the `nonexistent` argument of `as.POSIXct()`.
449449
#'
450450
#' @inheritParams add_years

README.Rmd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ knitr::opts_chunk$set(
1515
)
1616
```
1717

18-
# clock <a href='http://clock.r-lib.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
18+
# clock <a href='https://clock.r-lib.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
1919

2020
<!-- badges: start -->
2121
[![Codecov test coverage](https://codecov.io/gh/r-lib/clock/branch/master/graph/badge.svg)](https://codecov.io/gh/r-lib/clock?branch=master)
@@ -44,7 +44,13 @@ There are four key classes in clock, inspired by the design of the C++ date and
4444

4545
## Installation
4646

47-
You can install the development version of clock with:
47+
Install the released version from [CRAN](https://CRAN.R-project.org) with:
48+
49+
``` r
50+
install.packages("clock")
51+
```
52+
53+
Install the development version from [GitHub](https://github.com/) with:
4854

4955
``` r
5056
# install.packages("remotes")

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4-
# clock <a href='http://clock.r-lib.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
4+
# clock <a href='https://clock.r-lib.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
55

66
<!-- badges: start -->
77

@@ -69,7 +69,14 @@ you get a complete date time library.
6969

7070
## Installation
7171

72-
You can install the development version of clock with:
72+
Install the released version from [CRAN](https://CRAN.R-project.org)
73+
with:
74+
75+
``` r
76+
install.packages("clock")
77+
```
78+
79+
Install the development version from [GitHub](https://github.com/) with:
7380

7481
``` r
7582
# install.packages("remotes")

cran-comments.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## R CMD check results
2+
3+
0 errors | 0 warnings | 2 notes
4+
5+
* This is a new release.
6+
7+
* checking installed package size ... NOTE
8+
installed size is 7.8Mb
9+
sub-directories of 1Mb or more:
10+
libs 5.6Mb
11+
12+
## 0.1.0 Submission
13+
14+
This is the first release of clock. There are no references that I would like to include with the package. The installed size of clock may be large on some platforms due to the large amount of templated C++ code included with the package.

man/clock-package.Rd

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

man/posixt-arithmetic.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.

vignettes/clock.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ library(clock)
2121
library(magrittr)
2222
```
2323

24-
The goal of this vignette is to introduce you to clock's high-level API, which works directly on R's built-in date-time types, Date and POSIXct. For an overview of all of the functionality in the high-level API, check out the pkgdown reference section, [High Level API](https://r-lib.github.io/clock/reference/index.html#section-high-level-api). One thing you should immediately notice is that every function specific to R's date and date-time types are prefixed with `date_*()`. There are also additional functions for arithmetic (`add_*()`) and getting (`get_*()`) or setting (`set_*()`) components that are also used by other types in clock.
24+
The goal of this vignette is to introduce you to clock's high-level API, which works directly on R's built-in date-time types, Date and POSIXct. For an overview of all of the functionality in the high-level API, check out the pkgdown reference section, [High Level API](https://clock.r-lib.org/reference/index.html#section-high-level-api). One thing you should immediately notice is that every function specific to R's date and date-time types are prefixed with `date_*()`. There are also additional functions for arithmetic (`add_*()`) and getting (`get_*()`) or setting (`set_*()`) components that are also used by other types in clock.
2525

2626
As you'll quickly see in this vignette, one of the main goals of clock is to guard you, the user, from unexpected issues caused by frustrating date manipulation concepts like invalid dates and daylight saving time. It does this by letting you know as soon as one of these issues happens, giving you the power to handle it explicitly with one of a number of different resolution strategies.
2727

0 commit comments

Comments
 (0)