compare_names: Compare the Names of Two Objects

View source: R/compare.R

compare_namesR Documentation

Compare the Names of Two Objects

Description

Compare the Names of Two Objects

Usage

compare_names(x, y)

Arguments

x

first object

y

second object

Value

character vector of differences, invisibly

Examples

s <- tibble::tibble(a = 1, b = 2, d = 3)
t <- tibble::tibble(a = 1, d = 3, c = 2)
compare_names(s, t)

name documentation built on Sept. 9, 2025, 5:35 p.m.