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

is.na() only takes one input in R/4.2 and above and cause errors #29

Closed
Lesky47 opened this issue Aug 22, 2024 · 1 comment
Closed

is.na() only takes one input in R/4.2 and above and cause errors #29

Lesky47 opened this issue Aug 22, 2024 · 1 comment

Comments

@Lesky47
Copy link

Lesky47 commented Aug 22, 2024

if(is.na(indices)){

Similar issues raised somewhere else:
Wedge-lab/dpclust3p#10
Wedge-lab/dpclust3p#14 (comment)

Changing is.na() to all(is.na()) fixed all the issues for me.

@sdentro
Copy link
Collaborator

sdentro commented Oct 5, 2024

This is now fixed in the dev branch, this is now fixed. Many thanks for reporting!

@sdentro sdentro closed this as completed Oct 5, 2024
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

No branches or pull requests

2 participants