Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial argument names #56

Closed
HenrikBengtsson opened this issue Aug 12, 2021 · 1 comment
Closed

Partial argument names #56

HenrikBengtsson opened this issue Aug 12, 2021 · 1 comment
Assignees
Labels

Comments

@HenrikBengtsson
Copy link

Hi. FYI, with

options(warnPartialMatchArgs = TRUE)

I get warnings like:

Warning in rep(seq_len(V), length = n) :
  partial argument match of 'length' to 'length.out'

They come from, for instance,

folds <- rep(seq_len(V), length = n)

which should be:

rep(seq_len(V), length.out = n)
@nhejazi nhejazi self-assigned this Aug 27, 2021
@nhejazi nhejazi added the bug label Aug 27, 2021
nhejazi added a commit that referenced this issue Aug 27, 2021
@nhejazi
Copy link
Member

nhejazi commented Aug 27, 2021

Thanks for reporting this @HenrikBengtsson. I was able to replicate with the example in the package README and have now made uses of argument names specific throughout, in fbc80c3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants