Skip to content

Commit

Permalink
more fixes to test-wt-profiles for cran machines
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jun 8, 2022
1 parent a4d6159 commit e15aebc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dodgr
Title: Distances on Directed Graphs
Version: 0.2.13.023
Version: 0.2.13.024
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre")),
person("Andreas", "Petutschnig", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ATFutures/dodgr",
"issueTracker": "https://github.com/ATFutures/dodgr/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.2.13.023",
"version": "0.2.13.024",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
4 changes: 3 additions & 1 deletion tests/testthat/test-wt-profiles.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ context("weighting profiles")
test_that("wp", {
f <- file.path (tempdir (), "wp")
expect_false (file.exists (paste0 (f, ".json")))
expect_silent (write_dodgr_wt_profile (f))
#expect_silent ( # pkg startup msgs on some systems
write_dodgr_wt_profile (f)
#)
expect_true (file.exists (paste0 (f, ".json")))
w <- read_dodgr_wt_profile (f)
expect_identical (w, dodgr::weighting_profiles)
Expand Down

0 comments on commit e15aebc

Please sign in to comment.