Skip to content

Fix documentation typos#292

Merged
cregouby merged 5 commits intomlverse:mainfrom
Chandraveersingh1717:fix-documentation-typos
Apr 2, 2026
Merged

Fix documentation typos#292
cregouby merged 5 commits intomlverse:mainfrom
Chandraveersingh1717:fix-documentation-typos

Conversation

@Chandraveersingh1717
Copy link
Copy Markdown
Contributor

Summary

Fixed multiple documentation issues found during code review:

  1. Primary fix: imagenet_21k_classes() return value incorrectly documented as character vector (actually returns data.frame)
  2. Fixed variable naming typo class_too_idxclass_to_idx
  3. Fixed multiple typos and inconsistencies in NEWS.md

Primary Issue

The imagenet_21k_classes() function was documented as:

@return A character vector with 21k entries representing the ImageNet-21k class labels.

But the actual implementation returns:

data.frame(id = ids, label = labels)

@cregouby cregouby merged commit e9d83d2 into mlverse:main Apr 2, 2026
3 checks passed
@cregouby
Copy link
Copy Markdown
Collaborator

cregouby commented Apr 2, 2026

praise thanks @Chandraveersingh1717 for fixing those !

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