Browse Source

minor test tweak

tags/v0.5.2
boB Rudis 7 years ago
parent
commit
4e23af80a6
No known key found for this signature in database GPG Key ID: 2A514A4997464560
  1. 2
      DESCRIPTION
  2. 2
      cdcfluview.Rproj
  3. 1
      man/cdcfluview.Rd
  4. 1
      man/census_regions.Rd
  5. 1
      man/get_flu_data.Rd
  6. 1
      man/get_mortality_surveillance_data.Rd
  7. 1
      man/get_state_data.Rd
  8. 1
      man/get_weekly_flu_report.Rd
  9. 1
      man/hhs_regions.Rd
  10. 2
      tests/testthat/test-cdcfluview.R

2
DESCRIPTION

@ -30,4 +30,4 @@ Imports:
V8
Depends:
R (>= 3.2.0)
RoxygenNote: 5.0.1
RoxygenNote: 6.0.1

2
cdcfluview.Rproj

@ -20,3 +20,5 @@ PackageInstallArgs: --no-multiarch --with-keep.source
PackageBuildArgs: --resave-data
PackageCheckArgs: --as-cran
PackageRoxygenize: rd,collate,namespace
QuitChildProcessesOnExit: Yes

1
man/cdcfluview.Rd

@ -16,4 +16,3 @@ provides functions to access the data provided by portal's underlying API.
\author{
Bob Rudis (bob@rud.is)
}

1
man/census_regions.Rd

@ -25,4 +25,3 @@ Last updated 2015-08-09.
\url{https://www.cdc.gov/std/stats12/images/CensusMap.png}
}
\keyword{datasets}

1
man/get_flu_data.Rd

@ -49,4 +49,3 @@ There is often a noticeable delay when making the API request to the CDC.
flu <- get_flu_data("hhs", 1:10, c("who", "ilinet"), years=2000:2014)
}
}

1
man/get_mortality_surveillance_data.Rd

@ -39,4 +39,3 @@ get_mortality_surveillance_data()
\references{
\url{https://www.cdc.gov/flu/weekly/nchs.htm}
}

1
man/get_state_data.Rd

@ -38,4 +38,3 @@ get_state_data(2010:2014)
httr::with_verbose(get_state_data(2009:2015))
}
}

1
man/get_weekly_flu_report.Rd

@ -29,4 +29,3 @@ get_weekly_flu_report()
\references{
\url{https://www.cdc.gov/flu/weekly/flureport.xml}
}

1
man/hhs_regions.Rd

@ -28,4 +28,3 @@ Last updated 2015-08-09.
\url{https://www.hhs.gov/about/agencies/iea/regional-offices/index.html}
}
\keyword{datasets}

2
tests/testthat/test-cdcfluview.R

@ -1,6 +1,8 @@
context("basic functionality")
test_that("we can do something", {
skip_on_cran()
expect_that(dim(get_flu_data("hhs", years=2015)), equals(c(520L, 15L)))
expect_that(dim(get_state_data(2008)), equals(c(2494L, 8L)))

Loading…
Cancel
Save