Skip to content

Commit

Permalink
Prepare for submission to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansam committed Jan 17, 2023
1 parent 93ebc00 commit 97a206e
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "datefixR" in publications use:'
type: software
license: GPL-3.0-or-later
title: 'datefixR: Standardize Dates in Different Formats or with Missing Data'
version: 1.3.1.9000
version: 1.4.0
doi: 10.5281/zenodo.5655311
abstract: 'There are many different formats dates are commonly represented with: the
order of day, month, or year can differ, different separators ("-", "/", or whitespace)
Expand All @@ -33,7 +33,7 @@ preferred-citation:
orcid: https://orcid.org/0000-0002-4437-8713
url: https://CRAN.R-project.org/package=datefixR
doi: 10.5281/zenodo.5655311
notes: R package version 1.3.1.9000
notes: R package version 1.4.0
repository: https://CRAN.R-project.org/package=datefixR
repository-code: https://github.com/ropensci/datefixR
url: https://docs.ropensci.org/datefixR/
Expand Down
20 changes: 20 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->

# datefixR 1.4.0

## Code changes

Support has been added for parsing dates converted to a numeric format by
Excel. Unlike R which converts `Date` objects to numeric by calculating the
number of days since `1970-01-01`, Excel typically converts date cells to
numeric cells by calculating the number of days since `1900-01-01`. `datefixR`
can be told to expect dates converted by Excel instead of R by passing
`excel = TRUE` to `datefixR`'s functions.

In `datefixR` 1.3.1, internal functions began to be converted to C++. This
process unintentionally led to translations of some user-facing messages not
being delivered to users. This bug has now been fixed.

## Documentation

Add function documentation for the new `excel` argument and updated the "Getting
Started" vignette with a section on converting numeric dates.

# datefixR 1.3.1

## Code changes
Expand Down
38 changes: 31 additions & 7 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/ropensci/datefixR",
"issueTracker": "https://github.com/ropensci/datefixR/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "1.3.1",
"version": "1.4.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.1 (2022-06-23)",
"runtimePlatform": "R version 4.2.2 (2022-10-31)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -156,15 +156,15 @@
},
{
"@type": "SoftwareApplication",
"identifier": "shinytest",
"name": "shinytest",
"identifier": "shinytest2",
"name": "shinytest2",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=shinytest"
"sameAs": "https://CRAN.R-project.org/package=shinytest2"
},
{
"@type": "SoftwareApplication",
Expand Down Expand Up @@ -226,6 +226,30 @@
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=readr"
},
{
"@type": "SoftwareApplication",
"identifier": "png",
"name": "png",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=png"
},
{
"@type": "SoftwareApplication",
"identifier": "pkgbuild",
"name": "pkgbuild",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=pkgbuild"
}
],
"softwareRequirements": {
Expand Down Expand Up @@ -285,7 +309,7 @@
},
"SystemRequirements": null
},
"fileSize": "3150.476KB",
"fileSize": "3226.402KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -299,7 +323,7 @@
"name": "{datefixR}: Standardize Dates in Different Formats or with Missing Data",
"identifier": "10.5281/zenodo.5655311",
"url": "https://CRAN.R-project.org/package=datefixR",
"description": "R package version 1.3.1",
"description": "R package version 1.4.0",
"@id": "https://doi.org/10.5281/zenodo.5655311",
"sameAs": "https://doi.org/10.5281/zenodo.5655311"
}
Expand Down

0 comments on commit 97a206e

Please sign in to comment.