Skip to content

Commit

Permalink
Prep for submission to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansam committed Aug 12, 2022
1 parent 670ed65 commit 962be0a
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
^codemeta\.json$
^CITATION\.cff$
^app\.R$
^rsconnect$
^rsconnect$
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.0.0.9000
version: 1.1.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.0.0.9000
notes: R package version 1.1.0
repository: https://CRAN.R-project.org/package=datefixR
repository-code: https://github.com/ropensci/datefixR
url: https://docs.ropensci.org/datefixR/
Expand Down
24 changes: 24 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->

# datefixR 1.1.0

This update introduces a Shiny app and support for names of months in Spanish,
German, and French.

## Code changes

* New function, `fix_date_app()` which produces a shiny app for accessing
the features of `datefixR`. Please note, the package dependencies for this app
(`DT`, `htmltools`, `readxl`, and `shiny`) are not installed alongside
`datefixR`. This allows datefixR to be installed on secure systems where these
packages may not be allowed. If one of these dependencies is not installed on
the system when this function is called, then the user will have the option of
installing them.
* Behind the scenes, names for months of the year are now handled differently to
allow multilingual support. Spanish, German, and French is currently supported
with the option to support additional languages in the future.

## Documentation

* The README now uses an animation from
[`asciicast`](https://CRAN.R-project.org/package=asciicast) to demonstrate the
package.

# datefixR 1.0.0

For this revision, `datefixR` has undergone
Expand Down
94 changes: 83 additions & 11 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "datefixR",
"description": "There are many different formats dates are commonly represented with: the order of day, month, or year can differ, different separators (\"-\", \"/\", or whitespace) can be used, months can be numerical, names, or abbreviations and year given as two digits or four. 'datefixR' takes dates in all these different formats and converts them to R's built-in date class. If 'datefixR' cannot standardize a date, such as because it is too malformed, then the user is told which date cannot be standardized and the corresponding ID for the row. 'datefixR' also allows the imputation of missing days and months with user-controlled behavior. ",
"description": "There are many different formats dates are commonly represented with: the order of day, month, or year can differ, different separators (\"-\", \"/\", or whitespace) can be used, months can be numerical, names, or abbreviations and year given as two digits or four. 'datefixR' takes dates in all these different formats and converts them to R's built-in date class. If 'datefixR' cannot standardize a date, such as because it is too malformed, then the user is told which date cannot be standardized and the corresponding ID for the row. 'datefixR' also allows the imputation of missing days and months with user-controlled behavior.",
"name": "datefixR: Standardize Dates in Different Formats or with Missing Data",
"relatedLink": ["https://docs.ropensci.org/datefixR/", "https://CRAN.R-project.org/package=datefixR"],
"codeRepository": "https://github.com/ropensci/datefixR",
"issueTracker": "https://github.com/ropensci/datefixR/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "1.0.0",
"version": "1.1.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -42,15 +42,27 @@
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"identifier": "DT",
"name": "DT",
"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=rmarkdown"
"sameAs": "https://CRAN.R-project.org/package=DT"
},
{
"@type": "SoftwareApplication",
"identifier": "htmltools",
"name": "htmltools",
"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=htmltools"
},
{
"@type": "SoftwareApplication",
Expand All @@ -66,16 +78,51 @@
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.0.0",
"identifier": "readxl",
"name": "readxl",
"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=testthat"
"sameAs": "https://CRAN.R-project.org/package=readxl"
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"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=rmarkdown"
},
{
"@type": "SoftwareApplication",
"identifier": "shiny",
"name": "shiny",
"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=shiny"
},
{
"@type": "SoftwareApplication",
"identifier": "shinytest",
"name": "shinytest",
"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"
},
{
"@type": "SoftwareApplication",
Expand All @@ -89,6 +136,19 @@
},
"sameAs": "https://CRAN.R-project.org/package=spelling"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.0.0",
"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=testthat"
},
{
"@type": "SoftwareApplication",
"identifier": "withr",
Expand Down Expand Up @@ -122,6 +182,18 @@
"sameAs": "https://CRAN.R-project.org/package=lifecycle"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "rlang",
"name": "rlang",
"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=rlang"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "stringr",
"name": "stringr",
Expand All @@ -135,7 +207,7 @@
},
"SystemRequirements": null
},
"fileSize": "544.889KB",
"fileSize": "870.496KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -149,7 +221,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.0.0",
"description": "R package version 1.1.0",
"@id": "https://doi.org/10.5281/zenodo.5655311",
"sameAs": "https://doi.org/10.5281/zenodo.5655311"
}
Expand Down
10 changes: 0 additions & 10 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,3 @@ via GitHub actions https://github.com/ropensci/datefixR/actions
## Downstream dependencies

This package has no downstream dependencies

## Resubmission

This is a resubmission. The below error has now been fixed

Possibly misspelled words in DESCRIPTION: datefixR (24:56, 26:4, 28:20)

Comment from Uwe Ligges on this issue:

Please use straight quotes, not diredcted ones, in the Description field.

0 comments on commit 962be0a

Please sign in to comment.