Skip to content

Commit

Permalink
update package for CRAN submission
Browse files Browse the repository at this point in the history
  • Loading branch information
zmeers committed May 30, 2018
1 parent 2e2a4d5 commit a6d7272
Show file tree
Hide file tree
Showing 21 changed files with 86 additions and 96 deletions.
Binary file removed .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Package: readabs
Type: Package
Title: Read Excel Files From The Australian Bureau Of Statistics Into Tidy Data Sets
Title: Read 'Excel' Files from the Australian Bureau of Statistics into Tidy Data Sets
Version: 0.2.1
Authors@R: c(
person("Zoe", "Meers", role = c("aut", "cre"), email = "[email protected]"),
person("Jaron", "Lee", role = c("aut"), email = "[email protected]"))
Maintainer: Zoe Meers <[email protected]>
Description: Reads files from the Australian Bureau of Statistics into clean, tidy data sets.
Description: Reads files from the Australian Bureau of Statistics <https:://www.abs.gov.au/> into clean, tidy data sets.
Date: 2018-05-30
License: MIT + file LICENSE
Encoding: UTF-8
Expand Down
23 changes: 2 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,2 @@
MIT License

Copyright (c) 2018 US Studies Centre

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
YEAR:2018
COPYRIGHT HOLDER: Zoe Meers
16 changes: 14 additions & 2 deletions R/read_abs_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
#'
#' @examples
#' \dontrun{
#' read_abs_data(path=system.file("extdata","5206002_expenditure_volume_measures.xls", package = "readabs", mustWork = TRUE), sheet=2)
#' read_abs_data(
#' path=
#' system.file(
#' "extdata",
#' "5206002_expenditure_volume_measures.xls",
#' package = "readabs"),
#' sheet=2)
#'}
#'
#'
Expand All @@ -40,7 +46,13 @@ read_abs_data <- function(path, sheet) {
#' @export
#' @examples
#' \dontrun{
#' read_abs_metadata(path=system.file("extdata", "5206002_expenditure_volume_measures.xls", package = "readabs", mustWork = TRUE), sheet=2)
#' read_abs_metadata
#' (path=
#' system.file(
#' "extdata",
#' "5206002_expenditure_volume_measures.xls",
#' package = "readabs"),
#' sheet=2)
#'}
#'
read_abs_metadata <- function(path, sheet) {
Expand Down
2 changes: 1 addition & 1 deletion R/read_abs_sdmx.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' @examples
#' \dontrun{
#' read_abs_sdmx("http://stat.data.abs.gov.au/restsdmx/sdmx.ashx/GetData/ABS_REGIONAL_ASGS/PENSION_2+BANKRUPT_2.AUS.0.A/all?startTime=2013&endTime=2013")
#' read_abs_sdmx(url)
#'}


Expand Down
17 changes: 1 addition & 16 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,7 @@
## R CMD check results
There were no ERRORs or WARNINGs.

There were 2 NOTEs:

* checking Rd line widths ... NOTE
Rd file 'read_abs_data.Rd':
\examples lines wider than 100 characters:
read_abs_data(path=system.file("extdata","5206002_expenditure_volume_measures.xls", package = "readabs", mustWork = TRUE), sheet=2)

Rd file 'read_abs_metadata.Rd':
\examples lines wider than 100 characters:
read_abs_metadata(path=system.file("extdata", "5206002_expenditure_volume_measures.xls", package = "readabs", mustWork = TRUE), sheet= ... [TRUNCATED]

Rd file 'read_abs_sdmx.Rd':
\examples lines wider than 100 characters:
read_abs_sdmx("http://stat.data.abs.gov.au/restsdmx/sdmx.ashx/GetData/ABS_REGIONAL_ASGS/PENSION_2+BANKRUPT_2.AUS.0.A/all?startTime=2013 ... [TRUNCATED]

These lines will be truncated in the PDF manual.
There was 1 NOTE:


* First submission.
Expand Down
23 changes: 2 additions & 21 deletions docs/LICENSE-text.html

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

32 changes: 16 additions & 16 deletions docs/articles/my-vignette.html

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

11 changes: 8 additions & 3 deletions docs/index.html

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

4 changes: 2 additions & 2 deletions docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pandoc: 2.1.3
pandoc: 1.19.2.1
pkgdown: 1.0.0
pkgdown_sha: ~
articles:
Expand Down
8 changes: 7 additions & 1 deletion docs/reference/read_abs_data.html

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

13 changes: 10 additions & 3 deletions docs/reference/read_abs_metadata.html

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

6 changes: 3 additions & 3 deletions docs/reference/read_abs_sdmx.html

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

Binary file removed inst/.DS_Store
Binary file not shown.
8 changes: 7 additions & 1 deletion man/read_abs_data.Rd

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

8 changes: 7 additions & 1 deletion man/read_abs_metadata.Rd

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

Loading

0 comments on commit a6d7272

Please sign in to comment.