Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests #29

Open
thokall opened this issue Jul 13, 2021 · 0 comments
Open

Add tests #29

thokall opened this issue Jul 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@thokall
Copy link
Contributor

thokall commented Jul 13, 2021

As the package is now more complicated it would be could to add some tests to avoid creating problems whene altering code.
From the top of my head I suggest the following:

  • Test that input data (irrespective of file type supplied generate identical dataframes with data. The same goes for the single data point entry
  • Test that all distance functions generates the same number of perfect matches
  • Check that thet GPS and date conversions are consistent over input.

There are lots of information on howto implement tests using testthat.

https://r-pkgs.org/tests.html

@thokall thokall added enhancement New feature or request question Further information is requested labels Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants