Skip to content

Fix unit test and CI workflow due to changes in deldir & rgl - #291

Merged
GegznaV merged 4 commits into
cbeleites:developfrom
GegznaV:fix/290-fix-unit-test
Dec 21, 2020
Merged

GegznaV merged 4 commits into
cbeleites:developfrom
GegznaV:fix/290-fix-unit-test

Conversation

@GegznaV

@GegznaV GegznaV commented Dec 21, 2020

Copy link
Copy Markdown
Collaborator

This issue is related to the updated version of deldir package.

You may reproduce the previous behavior by installing the previous version of deldir:

remotes::install_version("deldir", "0.1-29")

And running the code:

library(hyperSpec)
hy_map <- generate_hy_map()
plot_voronoi <- plot(hy_map, "voronoi")
plot_voronoi

Closes #290

@GegznaV GegznaV added the Topic: unit test 1️⃣ Unit tests and code coverage label Dec 21, 2020
@GegznaV

GegznaV commented Dec 21, 2020

Copy link
Copy Markdown
Collaborator Author

All unit tests pass locally with deldir 0.2-3

image

The version of deldir previous 0.2 generated the message:
image

@GegznaV

GegznaV commented Dec 21, 2020 •

Copy link
Copy Markdown
Collaborator Author

Additionally, an issue related to GHA setup was solved: the newest versions of rgl require at least R 4.0.0

@GegznaV
GegznaV requested a review from cbeleites December 21, 2020 16:48
@GegznaV GegznaV added the Topic: CI 🌵 Related to continuous integracion (CI), automatic builds and checking. label Dec 21, 2020
@GegznaV GegznaV changed the title Fix unit test due to changes in package deldir Fix unit test and CI workflow due to changes in deldir & rgl Dec 21, 2020
@GegznaV
GegznaV removed the request for review from cbeleites December 21, 2020 18:19
@GegznaV

GegznaV commented Dec 21, 2020

Copy link
Copy Markdown
Collaborator Author

It's a trivial fix, so I'm merging it.

@GegznaV
GegznaV merged commit 0174cd0 into cbeleites:develop Dec 21, 2020
@GegznaV
GegznaV deleted the fix/290-fix-unit-test branch December 21, 2020 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Topic: CI 🌵 Related to continuous integracion (CI), automatic builds and checking. Topic: unit test 1️⃣ Unit tests and code coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed unit test: lattice-based plot() gives expected output

1 participant