Skip to content

Allow handling a pch vector in new R version#11

Merged
dmurdoch merged 1 commit into
plotrix:masterfrom
saschameyen:master
Nov 12, 2025
Merged

Allow handling a pch vector in new R version#11
dmurdoch merged 1 commit into
plotrix:masterfrom
saschameyen:master

Conversation

@saschameyen

Copy link
Copy Markdown
Contributor

Recent R versions throw errors when supplying plotCI() with a pch argument that is a vector. This is because the if condition on line 39 cannot handle a vector (anymore). Surrounding the is.na() in this line with an any() call prevents this problem. This way, plotCI() can still be used with a vector pch argument in newer R versions.

@dmurdoch dmurdoch merged commit dc9f144 into plotrix:master Nov 12, 2025
@dmurdoch

Copy link
Copy Markdown
Contributor

Thanks for the PR. Sorry it took so long to get to it...

dmurdoch added a commit that referenced this pull request Nov 12, 2025
@saschameyen

Copy link
Copy Markdown
Contributor Author

Thank you! And have a good day :)

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