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

Error in summary.corpus(x, n = 101) when ndoc(x) > 100 #1242

Closed
kbenoit opened this issue Feb 20, 2018 · 0 comments
Closed

Error in summary.corpus(x, n = 101) when ndoc(x) > 100 #1242

kbenoit opened this issue Feb 20, 2018 · 0 comments
Assignees

Comments

@kbenoit
Copy link
Collaborator

kbenoit commented Feb 20, 2018

longcorp <- corpus(
    rep(LETTERS, 4), 
    docvars = data.frame(label = rep(paste("document", 1:26), 4))
)
ndoc(longcorp)
# [1] 104

summary(longcorp, n = 101)
# Error in data.frame(..., check.names = FALSE) : 
#     arguments imply differing number of rows: 100, 101 
@kbenoit kbenoit self-assigned this Feb 20, 2018
@kbenoit kbenoit added this to the CRAN refresh post 1.0 milestone Feb 20, 2018
@koheiw koheiw closed this as completed in 5cda511 Feb 21, 2018
koheiw added a commit that referenced this issue Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant