Skip to content

Commit

Permalink
fix CRAN check result
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsumner committed Oct 9, 2022
1 parent 1d32181 commit 2e8ced8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: traipse
Title: Shared Tools for Tracking Data
Version: 0.2.5
Version: 0.3.0
Authors@R:
c(
person(given = "Michael",
Expand All @@ -19,7 +19,7 @@ License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.2.1
Depends: R (>= 2.10)
Imports:
magrittr,
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# traipse 0.3.0

* Fixed test failing as newer R allows raw numeric input to date-time.

# traipse 0.2.5

* Patch fix for new {geosphere} >= 1.5.14, thanks to CRAN notification pretest reverse
Expand Down
1 change: 0 additions & 1 deletion _pkgdown.yml

This file was deleted.

6 changes: 3 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
traipse package 0.2.5, fix for new {geosphere} >= 1.5.14, thanks to CRAN notification pretest reverse dependency checking.
traipse package 0.3.0, fix for failing test on R-devel.


## Test environments

* local Linux 20.04 install, R 4.1.1
* local Linux 20.04 install, R 4.2.1
* win-builder (devel)
* mac-builder


## R CMD check results

Expand Down
7 changes: 1 addition & 6 deletions man/traipse-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tests/testthat/test-time.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ test_that("time works", {
c(NA, 1, 1, 1))


## doesn't error in R-devel 2022-01-09
if (packageVersion("base") <= "4.2.1") {
expect_error(track_time(1:4),
"Cannot convert 'date' of class 'integer' to POSIXct")


})
})


Expand Down

0 comments on commit 2e8ced8

Please sign in to comment.