Skip to content

Commit

Permalink
qualtRics v3.2.1 (#353)
Browse files Browse the repository at this point in the history
* qualtRics v3.2.1

* Add revdep check to Rbuildignore

* Skip mock server tests on CI (temporary?)
  • Loading branch information
juliasilge authored Aug 16, 2024
1 parent 5509e86 commit 64cacf7
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 11 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Changelog\.md$
^todo\.md$
^revamp\.md$
^pkgdown$
^revdep$
^cran-comments\.md$
^CRAN-RELEASE$
^\.github$
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
inst/doc
/man/qualtRicsResponseCodes.Rd
/dev/*
/revdep/*noindex/
*sqlite
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# qualtRics (development version)
# qualtRics 3.2.1

- Fixed bug when a survey question has *both* recoded values and variable naming thanks to @Haunfelder (#343)

Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ knitr::opts_chunk$set(
[Joseph O'Brien](joseph.m.obrien@gmail.com),
[Jasper Ginn](https://jasperhg90.github.io/)<br/>
**License:**
[MIT](https://opensource.org/license/mit/)
[MIT](https://opensource.org/license/mit)

<!-- badges: start -->
[![R-CMD-check](https://github.com/ropensci/qualtRics/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/qualtRics/actions)
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
**Authors:** [Julia Silge](https://juliasilge.com/), [Joseph
O’Brien](joseph.m.obrien@gmail.com), [Jasper
Ginn](https://jasperhg90.github.io/)<br/> **License:**
[MIT](https://opensource.org/license/mit/)
[MIT](https://opensource.org/license/mit)

<!-- badges: start -->

Expand Down Expand Up @@ -137,13 +137,13 @@ dates or for specific survey items, and more.

## Related work

- [Jason Bryer](https://github.com/jbryer/qualtrics) wrote an R
package to work with the previous version of the Qualtrics API
- [QualtricsTools](https://github.com/emma-morgan/QualtricsTools)
creates automatic reports in shiny.
- [qsurvey](https://github.com/jamesdunham/qsurvey) by James Dunham
focuses on testing and review of surveys before fielding, and
analysis of responses afterward.
- [Jason Bryer](https://github.com/jbryer/qualtrics) wrote an R package
to work with the previous version of the Qualtrics API
- [QualtricsTools](https://github.com/emma-morgan/QualtricsTools)
creates automatic reports in shiny.
- [qsurvey](https://github.com/jamesdunham/qsurvey) by James Dunham
focuses on testing and review of surveys before fielding, and analysis
of responses afterward.

### Community Guidelines

Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## Release summary

This is the 15th CRAN release of qualtRics (the 9th since it has returned to CRAN after being archived). This release corrects a prevous `.Rd` argument problem, as well as adding new functionality around where survey results are stored on disk.
This is the 16th CRAN release of qualtRics (the 10th since it has returned to CRAN after being archived). This release corrects a test behavior as instructed by CRAN maintainer, as well as improving zip archive path handling and fixing a bug around recoding values.
26 changes: 26 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Platform

|field |value |
|:--------|:--------------------------------|
|version |R version 4.4.0 (2024-04-24) |
|os |macOS Sonoma 14.5 |
|system |aarch64, darwin20 |
|ui |X11 |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Denver |
|date |2024-08-16 |
|pandoc |3.2.1 @ /opt/homebrew/bin/pandoc |

# Dependencies

|package |old |new |Δ |
|:---------|:-----|:----------|:--|
|qualtRics |3.2.0 |3.2.0.9000 |* |
|insight |NA |0.20.2 |* |
|openssl |NA |2.2.0 |* |
|withr |NA |3.0.1 |* |

# Revdeps

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 1 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

1 change: 1 addition & 0 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions tests/testthat/test-all-surveys.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_on_cran()
skip_on_ci()

test_that("all_surveys() sends the proper request to Qualtrics", {
local_mocked_bindings(glue_api_v3 = function(base_url) "https://stoplight.io/mocks/qualtricsv2/publicapidocs/60937")
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-fetch-distribution-history.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_on_cran()
skip_on_ci()

test_that("fetch_distribution_history() returns a tbl_df with expected column names and types", {
local_mocked_bindings(glue_api_v3 = function(base_url) "https://stoplight.io/mocks/qualtricsv2/publicapidocs/60919")
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-fetch-distributions.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_on_cran()
skip_on_ci()

test_that("fetch_distributions returns a tbl_df with expected column names and types", {
local_mocked_bindings(glue_api_v3 = function(base_url) "https://stoplight.io/mocks/qualtricsv2/publicapidocs/60919")
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-fetch-mailinglist.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
skip_on_cran()
skip_on_ci()

test_that("fetch_mailinglist returns a tbl_df with expected column names and types", {
local_mocked_bindings(glue_api_v3 = function(base_url) "https://stoplight.io/mocks/qualtricsv2/publicapidocs/60928")
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-list-distribution-links.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
skip_on_cran()
## mock server is returning 500 on 2024-08-16:
skip_on_ci()

test_that("list_distribution_links() returns a tbl_df with expected column names and types", {
local_mocked_bindings(glue_api_v3 = function(base_url) "https://stoplight.io/mocks/qualtricsv2/publicapidocs/60919")
Expand Down

0 comments on commit 64cacf7

Please sign in to comment.