tests/testthat/test_select_test_sample.R

# Print title
cat("\nTesting plot_map()\n")

# Test calculations
data(psyo)
test_tracks <- psyosphere::select_test_sample(psyo)

# Check results
if (nrow(test_tracks) != 9) {
  stop("plot_map() test value is not as expected.")
}

Try the psyosphere package in your browser

Any scripts or data that you put into this service are public.

psyosphere documentation built on July 2, 2020, 12:08 a.m.