Recent Releases of snvecR
snvecR - v3.10.1
get_solution()has some examples in the README.- Created simple vignette comparing the C- and R implementation.
- Improvements to the documentation.
- Checked test coverage to see which lines of code aren't executed during tests.
Full Changelog: https://github.com/japhir/snvecR/compare/v3.10.0...v3.10.1
- R
Published by japhir over 1 year ago
snvecR - Cache Cleanup After Tests
This release makes sure that the tests, examples, and vignette all use a temporary directory when running, so that it can be cleaned up correctly. This relies on withr like this:
r
pth <- withr::local_tempdir(pattern = "snvecR")
withr::local_options(snvecR.cachedir = pth)
These make sure the directory is automatically removed after the test/example/vignette has run.
The cachedir() function now listens to the package option snvecR.cachedir to determine the user's cache directory. This can be set with options(snvecR.cachedir = "/path/to/desired/cachedir").
It still defaults to the result of tools::R_user_dir("snvecR", which = "cache").
See also this section of the r-pkgs book and this section on how to clean up after tests.
- R
Published by japhir about 2 years ago
snvecR - All the Solutions!
I've refactored the get_solution() function so it can now get all Astronomical Solutions currently available.
- R
Published by japhir over 2 years ago
snvecR - snvecR 3.7.6
- Remove cache directory after last example (even though it's in a donttest environment).
- R
Published by japhir about 3 years ago