Closed hrecht closed 7 years ago
Message from CRAN checks:
checking examples ... ERROR Running examples in 'censusapi-Ex.R' failed The error most likely occurred in:
Name: listCensusMetadata
Title: Get variable or geography metadata for a given API as a data
frame
Aliases: listCensusMetadata
Keywords: metadata
** Examples
varsbds<- listCensusMetadata(name="timeseries/bds/firms", type = "v") Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 1, 0 Calls: listCensusMetadata ... as.data.frame -> as.data.frame.list -> do.call ->
Execution halted checking for unstated dependencies in vignettes ... OK checking package vignettes in 'inst/doc' ... OK checking re-building of vignette outputs ... [3s] WARNING Error in re-building vignettes: ...
Attaching package: 'censusapi'
The following object is masked from 'package:methods':
getFunction
Quitting from lines 65-67 (getting-started.Rmd) Error: processing vignette 'getting-started.Rmd' failed with diagnostics: arguments imply differing number of rows: 1, 0 Execution halted
Fixed with https://github.com/hrecht/censusapi/commit/a383bf33732ca8230c48cda1ad303711ddeb8a8d, sending to CRAN after more testing.
Making this function more mature is a future release goal.
Fixed with v0.2.1, now on CRAN
Getting a build error on this example:
varsbds<- listCensusMetadata(name="timeseries/bds/firms", type = "v")
Likely due to new API metadata features(s) that went live recently https://www.census.gov/data/developers/updates.html