-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
Allows single-column data frames to be compared, rather than erroring No longer produces deprecated code warnings when running tests Removed unnecessary console output during tests Changed an if condition to meet guidelines around not using && operator with logical vectors Fixed issue with Travis CI tests not passing Added pkgdown documentation
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
on: | ||
push: | ||
branches: master | ||
|
||
name: pkgdown | ||
defaults: | ||
run: | ||
working-directory: dataCompareR | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@master | ||
|
||
- uses: r-lib/actions/setup-pandoc@master | ||
|
||
- name: Query dependencies | ||
run: | | ||
install.packages('remotes') | ||
saveRDS(remotes::dev_package_deps(dependencies = TRUE), "./depends.Rds", version = 2) | ||
shell: Rscript {0} | ||
|
||
- name: Cache R packages | ||
uses: actions/cache@v1 | ||
with: | ||
path: ${{ env.R_LIBS_USER }} | ||
key: macOS-r-3.6-${{ hashFiles('./depends.Rds') }} | ||
restore-keys: macOS-r-3.6- | ||
|
||
- name: Install dependencies | ||
run: | | ||
install.packages("remotes") | ||
remotes::install_deps(dependencies = TRUE) | ||
remotes::install_dev("pkgdown") | ||
shell: Rscript {0} | ||
|
||
- name: Install package | ||
run: R CMD INSTALL . | ||
|
||
- name: Copy README | ||
run: cp ../README.md index.md | ||
|
||
- name: Deploy package | ||
run: pkgdown::deploy_to_branch(new_process = FALSE) | ||
shell: Rscript {0} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
language: r | ||
r: | ||
- 4.0.0 | ||
- devel | ||
cache: packages | ||
before_install: | ||
- cd dataCompareR | ||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
os: | ||
- linux | ||
dist: xenial | ||
services: | ||
- xvfb |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
## Test environments | ||
* local Windows 10 install, R 3.4.0 | ||
* RHEL 6 server, R 3.2.3 | ||
* win-builder (devel, release, oldrelease) | ||
* local Windows 10 install, R 4.0.0 | ||
* Ubuntu 16.04.6 (on travis-ci), R 3.6.2, R 4.0.0, devel R 4.1.0 | ||
* win-builder (release, oldrelease) | ||
|
||
## R CMD check results | ||
Status: OK | ||
|
||
R CMD check results | ||
0 errors | 0 warnings | 0 notes | ||
0 errors | 0 warnings | 1 notes | ||
|
||
|
||
The note was about the submission status and mentioned the archival of the package due to the problems not being corrected despite reminders. | ||
The dataCompareR package is maintained by employees of Capital One. | ||
When the previous lead maintainer left the company, the reminders were unexpectedly not visible to the current maintainers. | ||
This has been fixed. | ||
|
||
## Downstream dependencies | ||
No downstream dependencies |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
Package: dataCompareR | ||
Title: Compare Two Data Frames and Summarise the Difference | ||
Version: 0.1.2 | ||
Authors@R: c(person("Rob", "Noble-Eddy", email = "[email protected]", role = c("aut", "cre")), | ||
person("Sarah", "Johnston", role = c("aut")), | ||
person("Sarah", "Pollicott", role = c("aut")), | ||
Version: 0.1.3 | ||
Authors@R: c( | ||
person("Sarah", "Johnston", email = "[email protected]", role = c("aut", "cre")), | ||
person("Rob", "Noble-Eddy", role = c("aut")), | ||
person("Merlijn", "van Horssen", role = c("aut")), | ||
person("Krishan", "Bhasin", role = c("aut")), | ||
person("Sarah", "Pollicott", role = c("aut")), | ||
person("Lukas", "Drapal", role = c("ctb")), | ||
person("Nikolaos", "Perrakis", role = c("ctb")), | ||
person("Nikhil", "Thomas Joy", role = c("ctb")), | ||
|
@@ -18,10 +20,12 @@ Authors@R: c(person("Rob", "Noble-Eddy", email = "[email protected]", ro | |
person("David", "Robinson", role = c("ctb")), | ||
person("Cheryl", "Renton", role = c("ctb")), | ||
person("Matt", "Triggs", role = c("ctb")), | ||
person("Krishan", "Bhasin", role = c("ctb")), | ||
person("Carola", "Deppe", role = c("ctb")), | ||
person("Ruijing", "Li", role = c("ctb")), | ||
person("John", "Swift", role = c("ctb")) | ||
person("John", "Swift", role = c("ctb")), | ||
person(given = "Capital One Services, LLC", | ||
email = "[email protected]", | ||
role = c("cph")) | ||
) | ||
Description: Easy comparison of two tabular data | ||
objects in R. Specifically designed to show differences between two sets of | ||
|
@@ -40,7 +44,7 @@ URL: https://github.com/capitalone/dataCompareR | |
BugReports: https://github.com/capitalone/dataCompareR/issues | ||
License: Apache License 2.0 | file LICENSE | ||
LazyData: true | ||
RoxygenNote: 6.1.0 | ||
RoxygenNote: 7.1.0 | ||
Suggests: | ||
testthat, | ||
data.table, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
destination: docs | ||
|
||
reference: | ||
- contents: | ||
- matches("rCompare") | ||
- matches("generateMismatchData") | ||
- matches("saveReport") | ||
- print.dataCompareRobject | ||
- summary.dataCompareRobject | ||
- print.summary.dataCompareRobject |
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.