Skip to content

Commit

Permalink
(time/R-hms) Updated 0.5 to 1.1.0
Browse files Browse the repository at this point in the history
(pkgsrc chagnes)
 - Add TEST_DEPENDS+=

(upstream changes)
# hms 1.1.0

## Breaking changes

- `"hms"` objects no longer have a common type with `character` and `numeric`. Combining such values previously threw a warning, now throws an error (#94).
- `vec_cast()` and `as_hms()` throw error instead of a warning if input can't be parsed (#68).

## Features

- New `unique.hms()` method (#98, @joethorley).
- `as_hms()` is a generic again (#81).

## Internal

- Avoid `LazyData` in `DESCRIPTION`.
- Bump required versions of ellipsis and vctrs to avoid warning during package load.
- Using lifecycle package (#94).


# hms 1.0.0

## Life cycle

- hms is now marked as "stable".

## Breaking changes

- `"hms"` objects no longer have a common type with `character` and `numeric`. Combining such values previously threw a warning, now throws an error (#94).
- `vec_cast()` and `as_hms()` now throw error instead of a warning if input can't be parsed (#68).

## Features

- `as_hms()` is a generic again (#81).
- `round_hms()` and `trunc_hms()` gain `digits` argument (#78, @hglanz).

## Bug fixes

- `as_hms()` and `vec_cast()` now correctly treat objects of class `"difftime"` with `integer` mode (#84).

## Internal

- Using lifecycle package (#94).
- hms has been re-licensed as MIT (#86).


# hms 0.5.3

- Use `vec_default_ptype2()`, remove `vec_ptype2.hms.unspecified()` (#80, @romainfrancois).
- `vec_ptype2.hms.default()` forwards to `vec_default_ptype2()` for compatibility with vctrs 0.2.1.
- Remove `as.data.frame.hms()`, handeld by vctrs.


# hms 0.5.2.9000

- Internal changes only.


# hms 0.5.2

- Work around parsing error that occurs on DST changeover dates (https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16764).


# hms 0.5.1

- Lossy casts from `character` vectors to `hms` now also trigger a warning if the cast succeeds in the first element of the vector but fails for other elements.
  • Loading branch information
mef committed May 30, 2021
1 parent 812819b commit 8190b84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions time/R-hms/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.2 2019/08/08 19:53:58 brook Exp $
# $NetBSD: Makefile,v 1.3 2021/05/30 07:02:18 mef Exp $

R_PKGNAME= hms
R_PKGVER= 0.5.0
R_PKGVER= 1.1.0
CATEGORIES= time sysutils

MAINTAINER= [email protected]
Expand All @@ -10,7 +10,10 @@ LICENSE= gnu-gpl-v3

DEPENDS+= R-pkgconfig>=2.0.2:../../devel/R-pkgconfig
DEPENDS+= R-rlang>=0.4.0:../../devel/R-rlang
DEPENDS+= R-vctrs>=0.2.0:../../math/R-vctrs
DEPENDS+= R-vctrs>=0.3.8:../../math/R-vctrs

TEST_DEPENDS+= R-ellipsis>=0.3.2:../../math/R-ellipsis
TEST_DEPENDS+= R-lubridate-[0-9]*:../../time/R-lubridate

USE_LANGUAGES= # none

Expand Down
10 changes: 5 additions & 5 deletions time/R-hms/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1 2019/07/31 13:56:46 brook Exp $
$NetBSD: distinfo,v 1.2 2021/05/30 07:02:18 mef Exp $

SHA1 (R/hms_0.5.0.tar.gz) = e5257ca2ee658dfe766f2a62b6570c9c77b7f734
RMD160 (R/hms_0.5.0.tar.gz) = c07aabbd335fbda91bef9ddc0171494021c9994c
SHA512 (R/hms_0.5.0.tar.gz) = b4c2ac8bd5425e7ed3607d215d98947d5fb225dbe80fa061306ef6a6803be6c255cfdd196ab273861c2fce84414b65ba5342524fe3e46b111fa10496fd392531
Size (R/hms_0.5.0.tar.gz) = 136036 bytes
SHA1 (R/hms_1.1.0.tar.gz) = 27bebd579ad29d663797e4058f3f4f88a9361a38
RMD160 (R/hms_1.1.0.tar.gz) = dfd03b63c8f356012c7e6a2372cf9e119396182e
SHA512 (R/hms_1.1.0.tar.gz) = 9d53858655ceb88e0184dfe4fe44da1ee6a3144325add17b3e208202eed976897b8fcf4c2aef0d47af89b86697b71da26fc5ed612a1aa78caae4701d40b62a41
Size (R/hms_1.1.0.tar.gz) = 43142 bytes

0 comments on commit 8190b84

Please sign in to comment.