Skip to content

Remove ancient check for .DollarNames#111

Merged
eddelbuettel merged 2 commits intoeddelbuettel:masterfrom
MichaelChirico:patch-1
Feb 8, 2026
Merged

Remove ancient check for .DollarNames#111
eddelbuettel merged 2 commits intoeddelbuettel:masterfrom
MichaelChirico:patch-1

Conversation

@MichaelChirico
Copy link
Contributor

.DollarNames was added in 2009:

r-devel/r-svn@6fe54a7

(found this as one of 2 CRAN packages using exists() in the NAMESPACE)

export( "P", "readProtoFiles", "readProtoFiles2", "resetDescriptorPool", "asMessage" )

if( exists( ".DollarNames", asNamespace("utils") ) ) importFrom( utils, .DollarNames )
importFrom( utils, .DollarNames )
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd do this without whitespace at either end but can clean that another time...

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, but they were there before. Old style of my then co-author.

Copy link
Owner

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice (and somewhat funny!) catch

@eddelbuettel eddelbuettel merged commit 62c8a93 into eddelbuettel:master Feb 8, 2026
2 checks passed
@MichaelChirico MichaelChirico deleted the patch-1 branch February 8, 2026 21:40
@eddelbuettel
Copy link
Owner

I had a similarly old check here that I had removed on Jan 15 (but somehow not committed, now done) which checked for R (>= 3.0.0). And yeah, that too is a given now.

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