search for: curlocale

Displaying 2 results from an estimated 2 matches for "curlocale".

Did you mean: clocale
2008 Apr 16
0
package.skeleton() creates corrupted Rd file (PR#11191)
...s Bates and further investigation, it appears that the problem is in package.skeleton() function, not in promptPackage() function neither in R-ru.po (Russian translations for R) file. This is the problematic code: package.skeleton <- ... { ... ## we need to test in the C locale curLocale <- Sys.getlocale("LC_CTYPE") on.exit(Sys.setlocale("LC_CTYPE", curLocale), add = TRUE) if(Sys.setlocale("LC_CTYPE", "C") != "C") warning("cannot turn off locale-specific chars via LC_CTYPE") ... } Rd stubs for *pac...
2008 Mar 30
1
package.skeleton.S4
...Check that the parameters are of correct type if (!is.character(list)){stop("'list' should be a character vector naming R objects")}else{} if (!is.logical(namespace) || (length(namespace) != 1)){stop("'namespace' should be a single logical")}else{} curLocale <- Sys.getlocale("LC_CTYPE") on.exit(Sys.setlocale("LC_CTYPE", curLocale), add = TRUE) if (Sys.setlocale("LC_CTYPE", "C") != "C"){warning("cannot turn off locale-specific chars via LC_CTYPE")}else{} ### Remove non existing...