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 data.frame(setting = names(x), value = unlist(x), stringsAsFactors = FALSE) : arguments imply differing number of rows: 8, 7 #7

Closed
HenrikBengtsson opened this issue Sep 5, 2017 · 1 comment

Comments

@HenrikBengtsson
Copy link
Contributor

"Moved" from r-lib/revdepcheck#90:

print.platform_info() assumes all fields are of length one, which may not be the case. For instance, os may be empty because utils::sessionInfo()$running is NULL, cf. r-lib/revdepcheck#90 (comment)

> platform <- sessioninfo:platform_info()
> platform$os <- character(0)
> print(platform)
Error in data.frame(setting = names(x), value = unlist(x), stringsAsFactors = FALSE) : 
  arguments imply differing number of rows: 8, 7

Enter a frame number, or 0 to exit   

1: print(platform)
2: print.platform_info(platform)
3: data.frame(setting = names(x), value = unlist(x), stringsAsFactors = FALSE)
4: stop(gettextf("arguments imply differing number of rows: %s", paste(unique(nr
5: (function () 
{
    utils::recover()
})()
@gaborcsardi
Copy link
Member

Fix now by #8

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

2 participants