tests/testthat/test_PLORN.R

test_that("sort", {

  y <- runif(30)
  x <- matrix(runif(30 * 30), 30, 30)

  expect_equal(nrow(p.sort(x, y)), 30)
  expect_equal(ncol(p.sort(x, y)), 30)
})

Try the PLORN package in your browser

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

PLORN documentation built on March 21, 2022, 9:11 a.m.