-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
arrange() interacts differently with data_frame than with data.frame when ordering words with accented vowels:
> df1 <- data.frame(word = c("casa", "árbol"))
> df1 %>% arrange(word)
word
1 árbol
2 casa
>
> df2 <- data_frame(word = c("casa", "árbol"))
> df2 %>% arrange(word)
Source: local data frame [2 x 1]
word
1 casa
2 árbol
>
> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.4 (Yosemite)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_0.4.2.9002
loaded via a namespace (and not attached):
[1] lazyeval_0.1.10.9000 magrittr_1.5 R6_2.1.0 assertthat_0.1
[5] parallel_3.2.1 DBI_0.3.1 tools_3.2.1 Rcpp_0.11.6
Earls-MBP:~ earlbrown$ clang++ -v
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
Earls-MBP:~ earlbrown$ g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior