Skip to content

Commit 92024ca

Browse files
author
ironholds
committed
CRAN fixes
1 parent 0c63bb6 commit 92024ca

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.Rbuildignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
^.*\.Rproj$
22
^\.Rproj\.user$
33
^CONDUCT\.md$
4-
presentations/*
4+
presentations/*
5+
^.*\.o$

tests/testthat/test_parameters.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test_that("Setting parameter values works", {
3434

3535
test_that("Removing parameter keys works", {
3636
expect_true(param_remove("https://en.wikipedia.org/api.php?baz=qux", "baz") ==
37-
"https://en.wikipedia.org/api.php?")
37+
"https://en.wikipedia.org/api.php")
3838
})
3939

4040
test_that("Removing parameter keys works when there are multiple parameters in the URL", {
@@ -44,7 +44,7 @@ test_that("Removing parameter keys works when there are multiple parameters in t
4444

4545
test_that("Removing parameter keys works when there are multiple parameters to remove", {
4646
expect_true(param_remove("https://en.wikipedia.org/api.php?baz=qux&foo=bar", c("baz","foo")) ==
47-
"https://en.wikipedia.org/api.php?")
47+
"https://en.wikipedia.org/api.php")
4848
})
4949

5050
test_that("Removing parameter keys works when there is no query", {

0 commit comments

Comments
 (0)