Skip to content

Releases: japhir/snvecR

Fix test user dir pollution

29 May 23:42
Compare
Choose a tag to compare
v3.9.4

bump version to 3.9.4

Cache Cleanup After Tests

24 Apr 20:52
Compare
Choose a tag to compare

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:

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.

Remove a lot of dependencies

04 Mar 20:48
Compare
Choose a tag to compare
v3.9.1

version bump to 3.9.1

Consistency in preparation for the Workshop

01 Mar 13:56
Compare
Choose a tag to compare

All the Solutions!

26 Jan 17:40
Compare
Choose a tag to compare

I've refactored the get_solution() function so it can now get all Astronomical Solutions currently available.

CRAN fixes

20 Jun 20:42
Compare
Choose a tag to compare
v3.7.7

add testthat setup file to clean up after running tests

snvecR 3.7.6

02 Jun 01:40
Compare
Choose a tag to compare
  • Remove cache directory after last example (even though it's in a donttest environment).

First CRAN release

19 May 22:00
Compare
Choose a tag to compare
resolve cache issues #4

added donttest to all function examples
default to cache = TRUE if not interactive
clear the cache after tests if not interactive

First alpha release

25 Apr 20:43
Compare
Choose a tag to compare
First alpha release Pre-release
Pre-release

To generate Zenodo DOI