Skip to content

Commit

Permalink
Merge pull request #3 from adamhsparks/devel
Browse files Browse the repository at this point in the history
Use travis, clean up files
  • Loading branch information
adamhsparks authored Aug 28, 2019
2 parents 82600d5 + f2ec271 commit 56fc01f
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 104 deletions.
39 changes: 0 additions & 39 deletions .circleci/config.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: r
cache: packages
r_check_args: --as-cran --run-donttest

## Set up the matrix of different runs
matrix:
include:
- r: release
env: R_CODECOV=true
- os: linux
r: devel

after_failure:
- ./pkg-build.sh dump_logs

notifications:
email:
on_success: change
on_failure: change

after_success:
- Rscript -e 'covr::codecov()'
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Authors@R: c(person("Adam", "Sparks", role = c("aut", "cre"),
person("Ross","Darnell", email = "Ross.Darnell@data61.csiro.au",
role = "ctb", comment = "Reported bug in 'Windows OS' versions causing
'GSOD' data untarring to fail"))
URL: https://github.com/ropensci/GSODR, https://ropensci.github.io/GSODR/
URL: https://docs.ropensci.org/GSODR/
BugReports: https://github.com/ropensci/GSODR/issues
Description: Provides automated downloading, parsing, cleaning, unit conversion
and formatting of Global Surface Summary of the Day ('GSOD') weather data
Expand Down
26 changes: 25 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
# GSODR 1.3.2.9000
# GSODR 2.0.0

## Bug fixes

- `get_GSOD()` now uses https rather than FTP server, correcting bug where the
data could not be downloaded any longer

## Major changes

- Corrected elevation values are no longer available from GSODR, this makes
package updates much easier

- Objects are returned as `data.table` objects

## Minor changes

- Implement better error handling when attempting to fetch station inventories

- Reduced package dependencies

- Improved vignettes

- Users may now specify country by FIPS code when using `get_GSOD()`

- Improved test coverage

- Update internal database of station locations

# GSODR 1.3.2

## Bug fixes
Expand Down
51 changes: 0 additions & 51 deletions _pkgdown.yml

This file was deleted.

6 changes: 3 additions & 3 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
}
],
"identifier": "GSODR",
"codeRepository": "https://github.com/ropensci/GSODR",
"codeRepository": "https://docs.ropensci.org/GSODR/",
"dateModified": "2017-01-21",
"dateCreated": "2017-01-21",
"description": "Provides automated downloading, parsing, cleaning, unit conversion\n and formatting of Global Surface Summary of the Day ('GSOD') weather data\n from the from the USA National Centers for Environmental Information\n ('NCEI'). Units are converted from from United States Customary System\n ('USCS') units to International System of Units ('SI'). Stations may be\n individually checked for number of missing days defined by the user, where\n stations with too many missing observations are omitted. Only stations with\n valid reported latitude and longitude values are permitted in the final\n data. Additional useful elements, saturation vapour pressure ('es'), actual\n vapour pressure ('ea') and relative humidity are calculated from the\n original data and included in the final data set. The resulting metadata\n include station identification information, country, state, latitude,\n longitude, elevation, weather observations and associated flags. For\n information on the 'GSOD' data from 'NCEI', please see the 'GSOD'\n 'readme.txt' file available from,\n <http://www1.ncdc.noaa.gov/pub/data/gsod/readme.txt>.",
"keywords": ["US-NCEI", "meteorological-data", "global-weather", "weather", "weather-data", "meteorology", "station-data", "surface-weather", "data-access", "US-NCDC", "r", "gsod", "ncdc", "weather-stations", "global-data", "ncei", "weather-information", "historical-weather", "historical-data", "daily-data", "daily-weather", "rstats", "r-package", "peer-reviewed"],
"keywords": ["US-NCEI", "meteorological-data", "global-weather", "weather", "weather-data", "meteorology", "station-data", "surface-weather", "data-access", "US-NCDC"],
"license": "https://spdx.org/licenses/MIT",
"title": "GSODR",
"version": "2.0.0",
Expand Down Expand Up @@ -410,7 +410,7 @@
"contIntegration": "https://travis-ci.org/ropensci/GSODR",
"releaseNotes": "https://github.com/adamhsparks/GSODR/blob/master/NEWS.md",
"readme": "https://github.com/adamhsparks/GSODR/blob/master/README.md",
"fileSize": "1033.678KB",
"fileSize": "1033.789KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
33 changes: 24 additions & 9 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,44 @@
# Test environments

- macOS, R version 3.5.1 (2018-07-02)
- macOS, R version 3.6.1 (2019-07-05)

- Ubuntu Linux 18.04.1, R version 3.5.1 (2018-07-02)
- Ubuntu Linux 18.04.1, R version 3.6.1 (2019-07-05)

- win-builder, R Under development (unstable) (2019-01-14 r75992)
- win-builder, R Under development (unstable) ()

- win-builder, R version 3.5.1 (2018-04-23)
- win-builder, R version 3.6.1 (2019-07-05)


# R CMD check results

0 errors | 0 warnings | 1 note

# New Patch Release
# New Major Release

## Bug fixes

- Fixes a bug where extra data could be appended to dataframe. See
<https://github.com/ropensci/GSODR/issues/49>. This also means that when you are
retrieving large amounts of data, e.g. global data for 20+ years, you won't fill
up your hard disk space due to the raw data before processing.
- `get_GSOD()` now uses https rather than FTP server, correcting bug where the
data could not be downloaded any longer

## Major changes

- Corrected elevation values are no longer available from GSODR, this makes
package updates much easier

- Objects are returned as `data.table` objects

## Minor changes

- Implement better error handling when attempting to fetch station inventories

- Reduced package dependencies

- Improved vignettes

- Users may now specify country by FIPS code when using `get_GSOD()`

- Improved test coverage

- Update internal database of station locations

# Reverse dependencies
Expand Down

0 comments on commit 56fc01f

Please sign in to comment.