check_rows.Rd
This function prints the number of rows of a data frame. This function is used to check that rows are not deleted or doubled unless expected.
check_rows(df, name = NULL)
The data frame whose rows are to be counted
The name of the data file (this will be printed)
A message is printed to the console with the number of rows of the data
check_rows(mtcars)
#> [1] "Number of rows of the mtcars: 32"