Test if input is a data.frame
Test if input is a data.frame
test_if_dataframe(x)
x |
object |
an error if input (x) is a data.frame
## Not run: # success test_if_dataframe(airquality) #fail my_test <- matrix(10) test_if_dataframe(my_test) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.