Re: [R-pkg-devel] problem with locale-dependent order()

2015-09-21 Thread Hadley Wickham
Hi Alex, As far as I know, that's the best solution. In roxygen, I've wrapped it up with a couple of helpers: set_collate <- function(locale) { cur <- Sys.getlocale(category = "LC_COLLATE") Sys.setlocale(category = "LC_COLLATE", locale = locale) cur } with_collate <- function(locale, code)

Re: [R-pkg-devel] Help with Package creation

2015-09-21 Thread Jennifer Bryan
Hi Mohammad, You don’t really say but I’m guessing your error is when checking the package? I think you should take the message at face value. It appears the randomForest package is not available from the libraries R knows about at the time of whatever it is your doing. R CMD check will not go