Implemented dataframe parsing on setdiff
This commit is contained in:
parent
34cebe8604
commit
d47b84fb55
2 changed files with 11 additions and 1 deletions
|
|
@ -239,6 +239,7 @@ test_that("setdiff works as expected", {
|
|||
Var2 = c('B', 'D'),
|
||||
Var3 = c(TRUE, TRUE)
|
||||
)
|
||||
row.names(C) <- c(2L, 4L)
|
||||
expect_equal(setdiff_MATLAB(A, B), C) # TODO: implement for data frames
|
||||
# TODO: add more examples from https://se.mathworks.com/help/matlab/ref/double.setdiff.html;jsessionid=0d8d42582d4d299b8224403899f1
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue