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

R CMD check fails with dev dplyr #1

Closed
hadley opened this issue Dec 9, 2014 · 0 comments
Closed

R CMD check fails with dev dplyr #1

hadley opened this issue Dec 9, 2014 · 0 comments

Comments

@hadley
Copy link

hadley commented Dec 9, 2014

checking examples ... ERROR
Running examples in ‘statar-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: duplicates
> ### Title: returns duplicated rows
> ### Aliases: duplicates duplicates_
> 
> ### ** Examples
> 
> library(data.table)
> DT <- data.table(a = rep(1:2, each = 3), b = 1:6)
> duplicates(DT, by = "a")
2 groups have duplicates
   N a b
1: 3 1 1
2: 3 1 2
3: 3 1 3
4: 3 2 4
5: 3 2 5
6: 3 2 6
> duplicates(DT, by = list(a,b))
Error: All select() inputs must resolve to integer column positions.
The following do not:

Could you please take a look? Thanks!

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