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

Compatibility with R 4.2 #473

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

DarwinAwardWinner
Copy link

This pull request contains the minimal changes I found necessary to install and run monocle 2 on R 4.2. Not all the below changes have been tested, since I'm not using all the corresponding features. Feel free to merge this if you're still interested in supporting monocle 2 on current R versions.

(I realize monocle 3 exists now, but we were already using monocle 2 for a project and switching mid-analysis was not practical.)

Ryan C. Thompson added 5 commits July 14, 2022 10:36
class() returns all classes, not just the first one, resulting in
somtimes evaluating multiple conditions.
VGAM's vfamily slot can be a chracter vector of length > 1, so we need
to either take the first one or use aggregation functions like any/all
when testing it inside if/else conditions.
It's unclear whether this will cause issues with the resulting output
file.
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