tmaravin at insightful.com
2008-Feb-22 00:10 UTC
[Rd] R CMD check for glmpath on Windows (PR#10823)
The problem first appeared in R 2.6.1 and is still there in R 2.6.2 On Windows running R CMD check command for glmpath package fails. The reason seems to be that when R is running the examples file (glmpath-Ex.R), it skips about 50 lines and as a result gives a syntax error. I'm working with a modified version of the CRAN glmpath 0.94. My version happens to give a more clear example of a problem than the original one. Lines 86-89 of glmpath-Ex.R: bootstrap.a <- bootstrap.path(heart.data$x, heart.data$y, B=10, method="bic") ## End Don't show bootstrap.a Lines 130-133 of glmpath-Ex.R: ### Name: cv.coxpath ### Title: Computes cross-validated (minus) log-partial-likelihoods for ### coxpath ### Aliases: cv.coxpath The end of glmpath-Ex.Rout:> bootstrap.a <- bootstrap.path(heart.data$x, heart.data$y,+ B=10, method="bic")> al-likelihoods forError: unexpected 'for' in "al-likelihoods for" Execution halted I've contacted Mee Young who replied: "It failed for some obscure reasons, but CRAN admins thought that the issue was Fortran's I/O interfering with C. However, the glmpath windows binary from any earlier version of R works under the current version of R." We've never observed this problem on LINUX. --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = i386 os = mingw32 system = i386, mingw32 status = major = 2 minor = 6.1 year = 2007 month = 11 day = 26 svn rev = 43537 language = R version.string = R version 2.6.1 (2007-11-26) Windows XP (build 2600) Service Pack 2.0 Locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 Search Path: .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base