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

Remove isFALSE? #96

Open
MichaelChirico opened this issue Oct 9, 2024 · 0 comments
Open

Remove isFALSE? #96

MichaelChirico opened this issue Oct 9, 2024 · 0 comments

Comments

@MichaelChirico
Copy link

BBmisc/R/isFALSE.R

Lines 10 to 12 in eb18a51

isFALSE = function(x) {
identical(x, FALSE)
}

isFALSE is part of base R since 2017 (3.5.0):

https://github.com/wch/r-source/blob/tags/R-3-5-0/src/library/base/R/identical.R
r-devel/r-svn@c9f281d

So the export here conflicts with base whenever {BBmisc} is attached:

Loading required package: BBmisc

Attaching package: ‘BBmisc’

The following object is masked from ‘package:base’:

    isFALSE

We can export this object conditionally on getRversion(), but since it's already been in base R for 7 years, I would consider simply removing the function, or otherwise renaming it.

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

1 participant