Closed MichaelChirico closed 2 years ago
A fix would be to add skip_if_not_installed("GoFKernel") (ditto for other Suggests) where appropriate.
Will do, thanks for spotting
maybe it's better to move the GoFKernel functionality to a separate test file?
Would make it harder to find tests this way
maybe library(GoFKernel) at the top of the file would suffice. that way it's clear to readers that the package is deeply embedded in that files tests
Closed in #268
Hi, I can't install
GoFKernel
(because it Depends onKernSmooth
, which has licensing issues), so testing distr6 caused a lot of subtle issues -- the test output looks like:As you can see, it's quite noisy / very hard to pick up on the relationship of
GoFKernel
to many of the failures (besides just those that referenceGoFKernel
explicitly).I also can't install the latest version of
actuar
(since it has an R version dependency I don't meet yet), but that's only one test so it's easy to skip/remove it manually.A fix would be to add
skip_if_not_installed("GoFKernel")
(ditto for other Suggests) where appropriate.At present the
GoFKernel
tests are heavily interweaved with other tests that don't require it -- maybe it's better to move theGoFKernel
functionality to a separate test file?