Skip to content

Commit

Permalink
update to docs and test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdunipace committed Feb 1, 2024
1 parent db3882a commit f24a28a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: WpProj
Type: Package
Title: Linear p-Wasserstein Projections
Version: 0.2.1
Date: 2024-01-30
Date: 2024-01-31
Authors@R:
c(
person(given = "Eric",
Expand Down Expand Up @@ -91,7 +91,7 @@ Suggests:
Rmosek,
spelling,
ECOSolveR
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
URL: https://github.com/ericdunipace/WpProj
BugReports: https://github.com/ericdunipace/WpProj/issues
Expand Down
1 change: 0 additions & 1 deletion man/WpProj-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions tests/testthat/test-transport_plan.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,11 @@ testthat::test_that("transport rank works", {
# testthat::expect_null(trans.nothing$cost)

testthat::skip_on_ci()
if(Sys.info()["nodename"] == "Cid-Highwind.local" &&
Sys.info()["user"] == "eifer") {
testthat::expect_equal(x_idx[507], transx$tplan$from[508])
testthat::expect_equal(y_idx, transy$tplan$from)
}
})

testthat::test_that("transport univariate.approx.pwr works", {
Expand Down

0 comments on commit f24a28a

Please sign in to comment.