harrelfe / Hmisc

Harrell Miscellaneous
Other
205 stars 81 forks source link

Fix partial argument warnings #128

Closed billdenney closed 3 years ago

billdenney commented 4 years ago

I recently started enabling more strict warnings to show partial argument matching and other warnings.

I found the following warning when using Hmisc, and so I searched for all length= arguments for rep() or seq() and made them length.out=.

1: In rep(to, length = length(from)) :
  partial argument match of 'length' to 'length.out'