From bb8f1eba38548a63d6582828dafcb1cfe0408704 Mon Sep 17 00:00:00 2001 From: Daniel Herszenhut Date: Tue, 24 May 2022 13:38:45 -0300 Subject: [PATCH] v1.1.0 release --- DESCRIPTION | 2 +- NEWS.md | 3 ++- README.Rmd | 2 +- README.md | 20 ++++++++++---------- codemeta.json | 4 ++-- cran-comments.md | 18 +++++------------- inst/CITATION | 14 +++++++------- 7 files changed, 28 insertions(+), 35 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5a7111c2..559b9b3d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Type: Package Package: gtfstools Title: General Transit Feed Specification (GTFS) Editing and Analysing Tools -Version: 1.0.0.9000 +Version: 1.1.0 Authors@R: c(person(given = "Daniel", family = "Herszenhut", diff --git a/NEWS.md b/NEWS.md index ff3c0494..5a6dc494 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# gtfstools (development version) +# gtfstools 1.1.0 ## New features @@ -25,6 +25,7 @@ - Stopped ordering points by `shape_pt_sequence`/`stop_sequence` in `get_trip_geometry()` and `convert_shapes_to_sf()`, since the GTFS reference says that the `stop_times` and `shapes` tables must be ordered by point/stop sequence anyway. - Removed `{lwgeom}` from dependencies (Suggests), now that it's not required to run `get_trip_speed()` and `set_trip_speed()` anymore. - Removed the `warnings` parameter from `read_gtfs()` and `write_gtfs()` and the `optional` and `extra` parameters from `write_gtfs()`, flagged as deprecated on gtfstools v1.0.0. +- Updated filtering vignette to demonstrate new functions. # gtfstools 1.0.0 diff --git a/README.Rmd b/README.Rmd index c4a5a98a..1f66b031 100644 --- a/README.Rmd +++ b/README.Rmd @@ -19,7 +19,7 @@ knitr::opts_chunk$set( [![Codecov test coverage](https://codecov.io/gh/ipeaGIT/gtfstools/branch/master/graph/badge.svg)](https://app.codecov.io/gh/ipeaGIT/gtfstools?branch=master) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![CRAN/METACRAN Total downloads](http://cranlogs.r-pkg.org/badges/grand-total/gtfstools?color=yellow)](https://CRAN.R-project.org/package=gtfstools) -[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5703236.svg)](https://doi.org/10.5281/zenodo.5703236) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6577028.svg)](https://doi.org/10.5281/zenodo.6577028) **gtfstools** offers a set of convenient tools for editing and analysing transit feeds in GTFS format. Feeds are read as a `list` of `data.table`s, allowing for easy and fast data manipulation. Many of this package's features are based on functions from other packages, especially [`{tidytransit}`](https://github.com/r-transit/tidytransit) and [`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps). diff --git a/README.md b/README.md index a00bb9cc..7f8f8866 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ coverage](https://codecov.io/gh/ipeaGIT/gtfstools/branch/master/graph/badge.svg) experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html) [![CRAN/METACRAN Total downloads](http://cranlogs.r-pkg.org/badges/grand-total/gtfstools?color=yellow)](https://CRAN.R-project.org/package=gtfstools) -[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5703236.svg)](https://doi.org/10.5281/zenodo.5703236) +[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6577028.svg)](https://doi.org/10.5281/zenodo.6577028) **gtfstools** offers a set of convenient tools for editing and analysing transit feeds in GTFS format. Feeds are read as a `list` of @@ -71,22 +71,22 @@ citation("gtfstools") #> To cite gtfstools in publications use: #> #> Daniel Herszenhut, Rafael H. M. Pereira, Pedro R. -#> Andrade & Joao Bazzo. (2021, November). gtfstools: +#> Andrade & Joao Bazzo. (2022, May). gtfstools: #> General Transit Feed Specification (GTFS) Editing -#> and Analysing Tools (Version v1.0.0). Zenodo. -#> http://doi.org/10.5281/zenodo.5703285 +#> and Analysing Tools (Version v1.1.0). Zenodo. +#> http://doi.org/10.5281/zenodo.6577028 #> #> A BibTeX entry for LaTeX users is #> #> @Manual{, #> title = {gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools}, -#> author = {Daniel Herszenhut}, -#> month = {nov}, -#> year = {2021}, +#> author = {Daniel Herszenhut and Rafael H. M. Pereira and Pedro R. Andrade and Joao Bazzo}, +#> month = {may}, +#> year = {2022}, #> publisher = {Zenodo}, -#> version = {v1.0.0}, -#> doi = {10.5281/zenodo.5703285}, -#> url = {https://doi.org/10.5281/zenodo.5703285}, +#> version = {v1.1.0}, +#> doi = {10.5281/zenodo.6577028}, +#> url = {https://doi.org/10.5281/zenodo.6577028}, #> } ``` diff --git a/codemeta.json b/codemeta.json index dbcdeb6e..1d6df9a3 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ipeaGIT/gtfstools", "issueTracker": "https://github.com/ipeaGIT/gtfstools/issues", "license": "https://spdx.org/licenses/MIT", - "version": "1.0.0.9000", + "version": "1.1.0", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -243,7 +243,7 @@ }, "SystemRequirements": null }, - "fileSize": "2939.255KB", + "fileSize": "2977.513KB", "citation": [ { "@type": "SoftwareSourceCode", diff --git a/cran-comments.md b/cran-comments.md index bb7053a8..5fc0a90d 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,38 +1,30 @@ ## Test environments -- Local Ubuntu 20.04 installation (R 4.1.2) +- Local Ubuntu 20.04 installation (R 4.2.0) - GitHub Actions: - Windows (release, oldrel) - MacOS (release, oldrel) - Ubuntu 20.04 (devel, release, oldrel) - r-hub: - - Windows Server 2008 R2 SP1, R-devel, 32/64 bit + - Windows Server 2022, R-devel, 64 bit - Ubuntu Linux 20.04.1 LTS, R-release, GCC - Fedora Linux, R-devel, clang, gfortran - - Oracle Solaris 10, x86, 32 bit, R-release +- win-builder (devel, release, oldrel) ## R CMD check results 0 errors | 0 warnings | 1 note > Found the following (possibly) invalid URLs: -> URL: https://doi.org/10.5281/zenodo.5703285 +> URL: https://doi.org/10.5281/zenodo.6577028 > From: inst/CITATION > Status: 404 > Message: Not Found > > Found the following (possibly) invalid DOIs: -> DOI: 10.5281/zenodo.5703285 +> DOI: 10.5281/zenodo.6577028 > From: inst/CITATION > Status: Not Found > Message: 404 I have reserved a DOI in Zenodo to use in the CITATION file, but I haven't yet finished the submission because I'm awaiting for the approval on CRAN to upload the package `.tar.gz`. As soon as the package gets approved I'll upload the file and finish the submission, thus creating the DOI for good and getting rid of this note. - -Also, when running the checks on Solaris I get: - -> * checking dependencies in R code ... NOTE -> Namespace in Imports field not imported from: ‘utils’ -> All declared Imports should be used. - -I'm using utils as a build-time dependency due to data.table's non-standard evaluation via utils::globalVariables (which is why I guess it doesn't recognize the function call as being used). I have started importing this function via '@importFrom utils globalVariables' in R/gtfstools.R. diff --git a/inst/CITATION b/inst/CITATION index 861ae8c7..4ddb5e02 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -3,12 +3,12 @@ citHeader("To cite gtfstools in publications use:") citEntry( entry = "Manual", title = "gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools", - author = personList(as.person("Daniel Herszenhut")), - month = "nov", - year = 2021, + author = personList(as.person("Daniel Herszenhut"), as.person("Rafael H. M. Pereira"), as.person("Pedro R. Andrade"), as.person("Joao Bazzo")), + month = "may", + year = 2022, publisher = "Zenodo", - version = "v1.0.0", - doi = "10.5281/zenodo.5703285", - url = "https://doi.org/10.5281/zenodo.5703285", - textVersion = "Daniel Herszenhut, Rafael H. M. Pereira, Pedro R. Andrade & Joao Bazzo. (2021, November). gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools (Version v1.0.0). Zenodo. http://doi.org/10.5281/zenodo.5703285" + version = "v1.1.0", + doi = "10.5281/zenodo.6577028", + url = "https://doi.org/10.5281/zenodo.6577028", + textVersion = "Daniel Herszenhut, Rafael H. M. Pereira, Pedro R. Andrade & Joao Bazzo. (2022, May). gtfstools: General Transit Feed Specification (GTFS) Editing and Analysing Tools (Version v1.1.0). Zenodo. http://doi.org/10.5281/zenodo.6577028" )