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 unused, unexported as.{factor,ordered}.integer64 #64

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

MichaelChirico
Copy link
Collaborator

More fallout from #61.

Raised to attention because in the manually generated .Rd, these are documented like S3 methods:

\method{as.factor}{integer64}(x)
\method{as.ordered}{integer64}(x)

But the {roxygen2} output is:

as.factor.integer64(x)
as.ordered.integer64(x)

AFAICT these functions are totally unused, and don't even work:

as.factor.integer64(as.integer64(2:10))
# Error in as.character.factor(x) : malformed factor

There's no reference to them on CRAN:

https://github.com/search?q=org%3Acran+%2Fas%5C.%28factor%7Cordered%29%5C.integer64%2F&type=code

Nor elsewhere on GitHub AFAICT

https://github.com/search?q=lang%3AR+%2Fas%5C.%28factor%7Cordered%29%5C.integer64%2F+-path%3A64&type=code

So I am going ahead with merging this without further fuss.

@MichaelChirico MichaelChirico merged commit a014e88 into master Oct 13, 2024
8 checks passed
@MichaelChirico MichaelChirico deleted the rm-as-factor-i64 branch October 13, 2024 05:12
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