tests/testthat/test-counts.R

test_that("multiplication works", {
  data <- activityCounts::sampleXYZ
  #print(data)
  results <- counts(sampleXYZ, hertz = 100)
  expected_results <- activityCounts::sampleCounts
  #source('../../R/counts.R')
  #results <- counts(data, hertz=100)
  expect_equal(2 * 2, 4)
})

Try the activityCounts package in your browser

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

activityCounts documentation built on April 12, 2025, 1:46 a.m.