Skip to content

Partial argument match warning #138

@sTeADone

Description

@sTeADone

Its a very minor issue.

packageVersion("diffdf") |>
  print()

options(warnPartialMatchArgs = TRUE)
options(warnPartialMatchDollar = TRUE)
options(warnPartialMatchAttr = TRUE)

df1 <- data.frame(
  index1 = c(0, 0, 1, 1),
  index2 = c(1, 2, 1, 2),
  value = c(1, 2, 3, 4),
  value2 = c(1, 2, 3, 4)
)

df2 <- data.frame(
  index1 = c(1, 1, 2, 2),
  index2 = c(1, 2, 1, 2),
  value = c(0, 1, 20, 3),
  value2 = c(0, 1, 2, 333)
)

diff_result <- diffdf::diffdf(df1, df2, keys = c("index1", "index2"), suppress_warnings = TRUE)

Yields warning:

[1] '1.1.1'
Warning message:
In merge.data.frame(x = BASE, y = COMP, by = KEYS, suffix = c(".x",  :
  partial argument match of 'suffix' to 'suffixes'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions