-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
…AN (Issue217) (#219) * adding skips to tests and breaking out cred tests * updating comment * removing libraries in test sub script, no longer needed * rebuilding documentation with current roxygen2 * advancing the version number * updating ver and date * advancing the version number
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
Package: RSocrata | ||
Type: Package | ||
Title: Download or Upload 'Socrata' Data Sets | ||
Description: Provides easier interaction with | ||
'Socrata' open data portals <https://dev.socrata.com>. | ||
Users can provide a 'Socrata' data set resource URL, | ||
or a 'Socrata' Open Data API (SoDA) web query, | ||
or a 'Socrata' "human-friendly" URL, | ||
returns an R data frame. Converts dates to 'POSIX' | ||
format and manages throttling by 'Socrata'. | ||
Users can upload data to 'Socrata' portals directly | ||
from R. | ||
Version: 1.7.12-4 | ||
Date: 2022-11-16 | ||
Author: Hugh Devlin, Ph. D., Tom Schenk, Jr., Gene Leynes, Nick Lucius, John Malc, Mark Silverberg, and Peter Schmeideskamp | ||
Maintainer: "Tom Schenk Jr." <[email protected]> | ||
Depends: | ||
R (>= 3.3.0) | ||
Imports: | ||
httr (>= 1.0.0), | ||
jsonlite (>= 0.9.16), | ||
mime (>= 0.3), | ||
plyr (>= 1.8.4) | ||
Suggests: | ||
testthat (>= 0.10.0), | ||
roxygen2 (>= 4.1.0), | ||
readr (>= 0.2.2) | ||
License: MIT + file LICENSE | ||
URL: https://github.com/Chicago/RSocrata | ||
BugReports: https://github.com/Chicago/RSocrata/issues | ||
RoxygenNote: 6.1.1 | ||
Package: RSocrata | ||
Type: Package | ||
Title: Download or Upload 'Socrata' Data Sets | ||
Description: Provides easier interaction with | ||
'Socrata' open data portals <https://dev.socrata.com>. | ||
Users can provide a 'Socrata' data set resource URL, | ||
or a 'Socrata' Open Data API (SoDA) web query, | ||
or a 'Socrata' "human-friendly" URL, | ||
returns an R data frame. Converts dates to 'POSIX' | ||
format and manages throttling by 'Socrata'. | ||
Users can upload data to 'Socrata' portals directly | ||
from R. | ||
Version: 1.7.13-7 | ||
Date: 2023-08-25 | ||
Author: Hugh Devlin, Ph. D., Tom Schenk, Jr., Gene Leynes, Nick Lucius, John Malc, Mark Silverberg, and Peter Schmeideskamp | ||
Maintainer: "Gene Leynes" <[email protected]> | ||
Depends: | ||
R (>= 3.3.0) | ||
Imports: | ||
httr (>= 1.0.0), | ||
jsonlite (>= 0.9.16), | ||
mime (>= 0.3), | ||
plyr (>= 1.8.4) | ||
Suggests: | ||
testthat (>= 0.10.0), | ||
roxygen2 (>= 4.1.0), | ||
readr (>= 0.2.2) | ||
License: MIT + file LICENSE | ||
URL: https://github.com/Chicago/RSocrata | ||
BugReports: https://github.com/Chicago/RSocrata/issues | ||
RoxygenNote: 7.2.3 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
Version: 1.0 | ||
|
||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
|
||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
|
||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
|
||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source | ||
PackageCheckArgs: --as-cran | ||
PackageRoxygenize: rd,collate,namespace | ||
Version: 1.0 | ||
RestoreWorkspace: Default | ||
SaveWorkspace: Default | ||
AlwaysSaveHistory: Default | ||
EnableCodeIndexing: Yes | ||
UseSpacesForTab: Yes | ||
NumSpacesForTab: 2 | ||
Encoding: UTF-8 | ||
RnwWeave: Sweave | ||
LaTeX: pdfLaTeX | ||
BuildType: Package | ||
PackageUseDevtools: Yes | ||
PackageInstallArgs: --no-multiarch --with-keep.source | ||
PackageCheckArgs: --as-cran | ||
PackageRoxygenize: rd,collate,namespace |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,28 @@ | ||
|
||
## LOAD REQUIRED LIBRARIES | ||
|
||
library(testthat) | ||
library(RSocrata) | ||
library(httr) | ||
library(jsonlite) | ||
library(mime) | ||
library(plyr) | ||
|
||
## Set credentials for testing private datasets and write functionality | ||
## The related tests are not currently run due to a lack of vendor support, | ||
## see issue #174 for details, although it's hoped to be resolved in a | ||
## future release. | ||
Sys.setenv(SOCRATA_EMAIL="[email protected]") | ||
Sys.setenv(SOCRATA_PASSWORD="7vFDsGFDUG") | ||
|
||
|
||
## RUN TESTS | ||
## This command will run all files matching test*.R in `./tests`, unless | ||
## the tests are skipped globally or individually. | ||
## Note: Run locally with `devtools::check()` | ||
## Note: Run this to test as CRAN: Sys.setenv(NOT_CRAN=FALSE) | ||
|
||
test_check("RSocrata") | ||
|
||
|
||
|