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

Lodash pluck fix #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Lodash pluck fix #2

wants to merge 1 commit into from

Conversation

monichol
Copy link

@monichol monichol commented May 2, 2017

Lodash removed _.pluck in version 4.x in favor of _.map with the iteratee shorthand. See the changelog for more details.

Since the kaplan-meier lib requires a pluck method on the object passed to init, using modern versions of lodash fail. This is a really simple fix that maintains a preference for existing pluck methods.

the iteratee shorthand. See the [changelog](https://github.com/lodash/lodash/wiki/Changelog) for more details.

Since the kaplan-meier lib requires a `.pluck` method on the object
passed to `init`, using modern versions of lodash fail. This is a
really simple and somewhat naive fix for that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant