daqana / dqrng

Fast Pseudo Random Number Generators for R
https://daqana.github.io/dqrng/
Other
42 stars 8 forks source link

Testthat issues with daring headers #60

Closed hsloot closed 1 year ago

hsloot commented 1 year ago

Summary

While devtools::check() works (which implicitly runs all tests), devtools::test() fails. The reason is that the latter includes <path-to-repo>/include (which does not exist) and not <path-to-dqrng>/include.

Proposed Solution

   # .gitignore
   -/include

  # .Rbuildignore
  + ^include$

  # include (symlink)
  +inst/include

See https://github.com/r-lib/devtools/issues/1617.