Skip to content
Prev 9307 / 63421 Next

Handling of upper/lowercase in package names (PR#2816)

phgrosjean@sciviews.org wrote:
Two ways of fixing it, check in library() for .Platform$OS.type == "windows"

a) whether a package was attached by non-case sensitive spelling, e.g.:
     match(tolower(pckname), tolower(search))

b)  for correct (case sensitive) spelling of the package name, e.g. by 
reading the DESCRIPTION file *before* attaching the package.

Each one way seems to be easy, but which is preferred R-Core?
a) won't break windows specific code, b) might do so, but is more 
consistent.

Uwe Ligges