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

Use lapply() rather than sapply() #1

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

Conversation

DavisVaughan
Copy link

dplyr 1.1.0 is on its way to CRAN right now.

The checks run by CRAN noticed that DecomposeR is broken by this dplyr release, and it somehow slipped through our own reverse dependency checks.

dplyr::last() will now return the last row of matrices rather than the last value, and this causes issues in your package. It seems like you may have wanted to use lapply() rather than sapply() here, because sapply() creates an array and I think you just wanted a vector.

@gaborcsardi
Copy link

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!

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.

2 participants