test_columnnames {IPDFileCheck}R Documentation

Function to test column names of a data being different from what specified

Description

Function to test column names of a data being different from what specified

Usage

test_columnnames(column_names, data)

Arguments

column_names

column names of the data frame

data

a data frame

Value

0, if success error, if failure

Examples

test_columnnames(c("name", "age"), data.frame(
  "Age" =  c(21, 15),
  "Name" =  c("John", "Dora")
))

[Package IPDFileCheck version 0.8.1 Index]