rvlenth/emmeans

Partial argument patch of `just` to `justify`

pawelru opened this issue · 3 comments

This occurred when calling print() on "emmGrid" class of object but the root cause is there:

nm[j] = format(nm[j], width = nchar(m[1,j]), just="left")

I assume reprex is not needed here.

I removed the "bug" label because the argument is always correctly matched so it causes no errors.

... and if you think this did cause an error, then yes, a reprex is required.

The longer story is that I am testing my code against some potential errors due to partial argument match:

list(
  warnPartialMatchDollar = TRUE,
  warnPartialMatchArgs = TRUE,
  warnPartialMatchAttr = TRUE,
  warn = 2
)

This however tests the whole stack of calls (i.e. not only my code but also packages that I depend on - both directly and indirectly). I am aware that this is rather an unusual setup but it's done on purpose. Now I am sharing my discoveries with respective pkg authors.