Skip Menu |

This queue is for tickets about the Statistics-R CPAN distribution.

Report information
The Basics
Id: 77761
Status: resolved
Priority: 0/
Queue: Statistics-R

People
Owner: Nobody in particular
Requestors: clifford.sobchuk [...] ericsson.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Statistics::R fails on Windows Vista SP2
Date: Mon, 11 Jun 2012 16:27:24 -0400
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
It hangs in the errors.t file, but the failure occurs in the run.t file -> run_from_file command. C:\Windows\system32>cpan There seems to be running another CPAN process (pid 7920). Contacting... Other job not responding. Shall I overwrite the lockfile 'C:\strawberry\cpan\.lock'? (Y/n) [y] y cpan shell -- CPAN exploration and modules installation (v1.9600) Enter 'h' for help. Show quoted text
cpan> install Statistics::R
Database was generated on Mon, 11 Jun 2012 16:06:09 GMT Running install for module 'Statistics::R' Running make for F/FA/FANGLY/Statistics-R-0.27.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\F\FA\FANGLY\Statistics-R-0.27.tar.gz ok Scanning cache C:\strawberry\cpan\build for sizes ............................................................................DONE CPAN.pm: Going to build F/FA/FANGLY/Statistics-R-0.27.tar.gz Locating bin:R... found at C:\Program Files\R\R-2.13.0\bin\R.EXE. Checking if your kit is complete... Looks good Writing Makefile for Statistics::R Writing MYMETA.yml and MYMETA.json cp lib/Statistics/R/Legacy.pm blib\lib\Statistics\R\Legacy.pm cp lib/Statistics/R.pm blib\lib\Statistics\R.pm cp lib/Statistics/R/Win32.pm blib\lib\Statistics\R\Win32.pm FANGLY/Statistics-R-0.27.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00-load.t ........ # Testing Statistics::R 0.27, Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe t/00-load.t ........ ok t/01-pod.t ......... skipped: Test::Pod 1.00 required for testing POD t/02-legacy.t ...... ok t/03-run.t ......... 4/? Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... # Tests were run but no plan was declared and done_testing() was not seen. t/03-run.t ......... Dubious, test returned 1 (wstat 256, 0x100) All 14 subtests passed t/04-start-stop.t .. ok t/05-shared.t ...... ok t/06-get-set.t ..... ok t/07-robust.t ...... ok t/08-errors.t ...... 4/? Sometimes it will display 7/? Before it hangs. CLIFF SOBCHUK Ericsson Core RF Engineering Calgary, AB, Canada Phone 613-667-1974 ECN 8109 x71974 Mobile 403-819-9233 clifford.sobchuk@ericsson.com<mailto:clifford.sobchuk@ericsson.com> yahoo: sobchuk http://www.ericsson.com/ "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>
Hi Cliff, I cannot reproduce this bug on my machine. Since it seems to be system-dependent, I am not sure what the cause of the problem is, much less how to fix it. Can you clarify: do the test always fails identically or is there some randomness to the failure? Could you please download and install Statistics::R version 0.28 which I have just released? If the tests fail again, please let me know what version of the following you have: R, IPC::Run, Text::Balanced and Regexp::Common. Then, if you have older versions of the Perl modules (IPC::Run, Text::Balanced and Regexp::Common), please make sure to update to their latest versions and try to install Statistics::R again. If this does not work, maybe try to upgrade your R to the latest version and see if this helps. Thanks, Florent
Subject: RE: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2
Date: Tue, 6 Nov 2012 20:44:35 +0000
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
Hi Florent, I did some further testing before hitting send... I performed a force notest install Statistics::R and then went into the test directory to run the test manually. Results below. ================================================= C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t>perl 03-run.t ok 1 ok 2 - Binary ok 3 ok 4 - Basic ok 5 ok 6 ok 7 ok 8 ok 9 - IO ok 10 ok 11 - Multi-line commands ok 12 ok 13 - Heredoc commands ok 14 - Multiple commands Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... # Tests were run but no plan was declared and done_testing() was not seen. C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t> ===================================================== I get the following output. Note the error regarding '\d' below. It doesn't seem to proceed after the point in which I grabbed the screen shot. I waited 5 minutes with no obvious change in state. Looking in Process Explorer I can see that there are several R command processor initialized as well as an R terminal. No CPU time is associated with them while I waited to see if anything else occurred in the cpan window. I am using Strawberry Perl: perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-thread. R - two versions - the one in the path is R-2.13.0 as indicated in the output below. IPC::Run is version 0.91, (0.92 is latest - upgrading didn't change the results below) Text::Balanced is version is version 2.02 (latest) Regexp::Common is version 2011121001 (latest) Looking in to the code I see that it seems to be associated with passing the r script in to the module test. I tried the script itself and there are no obvious issues using it from the command line as `r --vanilla <script.R` => the output follows the cpan output. ============================================================== Show quoted text
cpan> install Statistics::R
Running install for module 'Statistics::R' Running make for F/FA/FANGLY/Statistics-R-0.28.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/F/FA/FANGLY/Statistics-R-0.28.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\F\FA\FANGLY\Statistics-R-0.28.tar.gz ok CPAN.pm: Going to build F/FA/FANGLY/Statistics-R-0.28.tar.gz Locating bin:R... found at C:\Program Files\R\R-2.13.0\bin\R.EXE. Checking if your kit is complete... Looks good Writing Makefile for Statistics::R Writing MYMETA.yml and MYMETA.json cp lib/Statistics/R/Legacy.pm blib\lib\Statistics\R\Legacy.pm cp lib/Statistics/R.pm blib\lib\Statistics\R.pm cp lib/Statistics/R/Win32.pm blib\lib\Statistics\R\Win32.pm FANGLY/Statistics-R-0.28.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00-load.t ........ 1/? # Testing Statistics::R 0.28, Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe t/00-load.t ........ ok t/01-pod.t ......... skipped: Test::Pod 1.00 required for testing POD t/02-legacy.t ...... ok t/03-run.t ......... 3/? Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... # Tests were run but no plan was declared and done_testing() was not seen. t/03-run.t ......... Dubious, test returned 1 (wstat 256, 0x100) All 14 subtests passed t/04-start-stop.t .. ok t/05-shared.t ...... ok t/06-get-set.t ..... ok t/07-robust.t ...... ok t/08-errors.t ...... 7/? ===================================================== I ran the script.R file with R and no issues were apparent. Output is below. C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t\data>r --vanilla <script.R R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. Show quoted text
> postscript("file2.ps" , horizontal=FALSE , width=500 , height=500 , pointsize=1) > > plot(c(1, 5, 10), type = "l") > > dev.off()
null device 1 Show quoted text
> > unlink("file2.ps") > > for (j in 1:3) { cat("loop iteration: "); print(j); }
loop iteration: [1] 1 loop iteration: [1] 2 loop iteration: [1] 3 Show quoted text
> > write("Some innocuous message on stdout\n", stdout())
Some innocuous message on stdout Show quoted text
> > write("Some innocuous message on stderr\n", stderr())
Some innocuous message on stderr Show quoted text
> > x <- 123 > print(x)
[1] 123 Show quoted text
> > x <- 456 ; write.table(x, file="", row.names=FALSE, col.names=FALSE)
456 Show quoted text
> > a <- 2 > b <- 5 > c <- a * b > print('ok')
[1] "ok" Show quoted text
>
C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t\data> =========================================================================== If there is anything more I can do to help I would need a little direction as to what to test or change. Thanks, CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer Show quoted text
-----Original Message----- From: Florent Angly via RT [mailto:bug-Statistics-R@rt.cpan.org] Sent: Monday, November 05, 2012 9:20 PM To: Clifford Sobchuk Subject: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2 <URL: https://rt.cpan.org/Ticket/Display.html?id=77761 > Hi Cliff, I cannot reproduce this bug on my machine. Since it seems to be system-dependent, I am not sure what the cause of the problem is, much less how to fix it. Can you clarify: do the test always fails identically or is there some randomness to the failure? Could you please download and install Statistics::R version 0.28 which I have just released? If the tests fail again, please let me know what version of the following you have: R, IPC::Run, Text::Balanced and Regexp::Common. Then, if you have older versions of the Perl modules (IPC::Run, Text::Balanced and Regexp::Common), please make sure to update to their latest versions and try to install Statistics::R again. If this does not work, maybe try to upgrade your R to the latest version and see if this helps. Thanks, Florent
Subject: RE: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2
Date: Tue, 6 Nov 2012 21:08:01 +0000
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
Further debugging using the pdl2 shell (from the PDL {perl data language} distribution) I was able to determine that it is the File::Spec::Function that is the cause of the issue. It interprets the directory separator as '\', however, R uses '/'. When I manually created the file with '/' instead of the '\', it works. Hope that helps. Eg. Show quoted text
pdl> use File::Spec::Functions pdl> $file=catfile('t','data','script.R') pdl> p $file
t\data\script.R Show quoted text
pdl> use Statistics::R pdl> $R=Statistics::R->new() pdl> $out=$R->run_from_file($file)
Runtime error: Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... Show quoted text
pdl> $file='t/data/script.R' pdl> p $file
t/data/script.R Show quoted text
pdl> $out=$R->run_from_file($file)
Runtime error: Internal problem while running this R command: source('t/data/script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... Show quoted text
pdl> $R=Statistics::R->new() pdl> $file='t/data/script.R' pdl> $out=$R->run_from_file($file) pdl> p $out
Some innocuous message on stderr loop iteration: [1] 1 loop iteration: [1] 2 loop iteration: [1] 3 Some innocuous message on stdout [1] 123 456 [1] "ok" Show quoted text
pdl>
CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer Show quoted text
-----Original Message----- From: Clifford Sobchuk Sent: Tuesday, November 06, 2012 1:43 PM To: 'bug-Statistics-R@rt.cpan.org' Subject: RE: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2 Hi Florent, I did some further testing before hitting send... I performed a force notest install Statistics::R and then went into the test directory to run the test manually. Results below. ================================================= C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t>perl 03-run.t ok 1 ok 2 - Binary ok 3 ok 4 - Basic ok 5 ok 6 ok 7 ok 8 ok 9 - IO ok 10 ok 11 - Multi-line commands ok 12 ok 13 - Heredoc commands ok 14 - Multiple commands Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... # Tests were run but no plan was declared and done_testing() was not seen. C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t> ===================================================== I get the following output. Note the error regarding '\d' below. It doesn't seem to proceed after the point in which I grabbed the screen shot. I waited 5 minutes with no obvious change in state. Looking in Process Explorer I can see that there are several R command processor initialized as well as an R terminal. No CPU time is associated with them while I waited to see if anything else occurred in the cpan window. I am using Strawberry Perl: perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-thread. R - two versions - the one in the path is R-2.13.0 as indicated in the output below. IPC::Run is version 0.91, (0.92 is latest - upgrading didn't change the results below) Text::Balanced is version is version 2.02 (latest) Regexp::Common is version 2011121001 (latest) Looking in to the code I see that it seems to be associated with passing the r script in to the module test. I tried the script itself and there are no obvious issues using it from the command line as `r --vanilla <script.R` => the output follows the cpan output. ==============================================================
cpan> install Statistics::R
Running install for module 'Statistics::R' Running make for F/FA/FANGLY/Statistics-R-0.28.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/F/FA/FANGLY/Statistics-R-0.28.tar.gz Checksum for C:\strawberry\cpan\sources\authors\id\F\FA\FANGLY\Statistics-R-0.28.tar.gz ok CPAN.pm: Going to build F/FA/FANGLY/Statistics-R-0.28.tar.gz Locating bin:R... found at C:\Program Files\R\R-2.13.0\bin\R.EXE. Checking if your kit is complete... Looks good Writing Makefile for Statistics::R Writing MYMETA.yml and MYMETA.json cp lib/Statistics/R/Legacy.pm blib\lib\Statistics\R\Legacy.pm cp lib/Statistics/R.pm blib\lib\Statistics\R.pm cp lib/Statistics/R/Win32.pm blib\lib\Statistics\R\Win32.pm FANGLY/Statistics-R-0.28.tar.gz C:\strawberry\c\bin\dmake.EXE -- OK Running make test C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00-load.t ........ 1/? # Testing Statistics::R 0.28, Perl 5.012003, C:\STRAWB~1\perl\bin\perl.exe t/00-load.t ........ ok t/01-pod.t ......... skipped: Test::Pod 1.00 required for testing POD t/02-legacy.t ...... ok t/03-run.t ......... 3/? Internal problem while running this R command: source('t\data\script.R') Got the error: '\d' is an unrecognized escape in character string starting "source('t\d" Execution halted Most likely, your R command contained lines exceeding 4076 bytes... # Tests were run but no plan was declared and done_testing() was not seen. t/03-run.t ......... Dubious, test returned 1 (wstat 256, 0x100) All 14 subtests passed t/04-start-stop.t .. ok t/05-shared.t ...... ok t/06-get-set.t ..... ok t/07-robust.t ...... ok t/08-errors.t ...... 7/? ===================================================== I ran the script.R file with R and no issues were apparent. Output is below. C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t\data>r --vanilla <script.R R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.
> postscript("file2.ps" , horizontal=FALSE , width=500 , height=500 , > pointsize=1) > > plot(c(1, 5, 10), type = "l") > > dev.off()
null device 1
> > unlink("file2.ps") > > for (j in 1:3) { cat("loop iteration: "); print(j); }
loop iteration: [1] 1 loop iteration: [1] 2 loop iteration: [1] 3
> > write("Some innocuous message on stdout\n", stdout())
Some innocuous message on stdout
> > write("Some innocuous message on stderr\n", stderr())
Some innocuous message on stderr
> > x <- 123 > print(x)
[1] 123
> > x <- 456 ; write.table(x, file="", row.names=FALSE, col.names=FALSE)
456
> > a <- 2 > b <- 5 > c <- a * b > print('ok')
[1] "ok"
>
C:\Users\eclisob\.cpanm\work\1352216263.9508\Statistics-R-0.28\t\data> =========================================================================== If there is anything more I can do to help I would need a little direction as to what to test or change. Thanks, CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer
-----Original Message----- From: Florent Angly via RT [mailto:bug-Statistics-R@rt.cpan.org] Sent: Monday, November 05, 2012 9:20 PM To: Clifford Sobchuk Subject: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2 <URL: https://rt.cpan.org/Ticket/Display.html?id=77761 > Hi Cliff, I cannot reproduce this bug on my machine. Since it seems to be system-dependent, I am not sure what the cause of the problem is, much less how to fix it. Can you clarify: do the test always fails identically or is there some randomness to the failure? Could you please download and install Statistics::R version 0.28 which I have just released? If the tests fail again, please let me know what version of the following you have: R, IPC::Run, Text::Balanced and Regexp::Common. Then, if you have older versions of the Perl modules (IPC::Run, Text::Balanced and Regexp::Common), please make sure to update to their latest versions and try to install Statistics::R again. If this does not work, maybe try to upgrade your R to the latest version and see if this helps. Thanks, Florent
Hi Cliff, Thanks so much for this good investigation. You seem to be right about R expecting '/' delimited files, even on Windows (see http://stat.ethz.ch/R-manual/R-patched/library/base/html/file.path.html). This is a bit I think... especially considering that the tests pass on some Windows platforms (see http://www.cpantesters.org/distro/S/Statistics-R.html#Statistics-R-0.26). Regardless, a sensible approach to fix the problem is to have run_from_file() dissect any given filepath into its individual constituents (volume, directories, filename), and pass that to R's file.path() command. This way, R builds the filename in a ways that is always compatible with itself. I released these changes in version 0.29. Let me know if all works as expected in this improved version. Cheers, Florent
Subject: RE: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2
Date: Wed, 7 Nov 2012 01:34:50 +0000
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
As soon as it shows up on cpan I'll give it a shot and let you know how it worked. Thanks for the support. CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer Show quoted text
-----Original Message----- From: Florent Angly via RT [mailto:bug-Statistics-R@rt.cpan.org] Sent: Tuesday, November 06, 2012 5:33 PM To: Clifford Sobchuk Subject: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2 <URL: https://rt.cpan.org/Ticket/Display.html?id=77761 > Hi Cliff, Thanks so much for this good investigation. You seem to be right about R expecting '/' delimited files, even on Windows (see http://stat.ethz.ch/R-manual/R-patched/library/base/html/file.path.html). This is a bit I think... especially considering that the tests pass on some Windows platforms (see http://www.cpantesters.org/distro/S/Statistics-R.html#Statistics-R-0.26). Regardless, a sensible approach to fix the problem is to have run_from_file() dissect any given filepath into its individual constituents (volume, directories, filename), and pass that to R's file.path() command. This way, R builds the filename in a ways that is always compatible with itself. I released these changes in version 0.29. Let me know if all works as expected in this improved version. Cheers, Florent
Am 2012-11-06 19:33:27, FANGLY schrieb: Show quoted text
> I released these changes in version 0.29. Let me know if all works as > expected in this improved version.
I just tried version 0.29. The problem described by Clifford still exists, with the same symptoms. I haven't done an in-depth analysis of 03-*.t, myself, but the tests do hang after the last (and failed) test in 08-errors.t (as described by Clifford). At this point I see hanging R processes in the background. For the record: I'm running under Windows 7, R 2.15.x, IPC::Run 0.92, Regexp::Common 2011121001, Text::Balanced 2.02. As for previous versions, I cannot remember this problem occurring when installing 0.26 (but my memory may be wrong); maybe the test in question was not in place back then? (I skipped 0.27, 0.28, so I cannot vouch for them.) \Gisbert P.S.: Florent, thanks for the great module -- I use it heavily!
Am 2012-11-06 19:33:27, FANGLY schrieb: Show quoted text
> I released these changes in version 0.29. Let me know if all works as > expected in this improved version.
I just tried version 0.29. The problem described by Clifford still exists, with the same symptoms. I haven't done an in-depth analysis of 03-*.t, myself, but the tests do hang after the last (and failed) test in 08-errors.t (as described by Clifford). At this point I see hanging R processes in the background. For the record: I'm running under Windows 7, R 2.15.x, IPC::Run 0.92, Regexp::Common 2011121001, Text::Balanced 2.02. As for previous versions, I cannot remember this problem occurring when installing 0.26 (but my memory may be wrong); maybe the test in question was not in place back then? (I skipped 0.27, 0.28, so I cannot vouch for them.) \Gisbert P.S.: Florent, thanks for the great module -- I use it heavily!
Subject: RE: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2
Date: Thu, 8 Nov 2012 23:04:44 +0000
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
Florent. It is just the last test (in suite 08) now that fails where you try the FlawedStatisticsR.pm - it can't seem to find the module even though it is there. Looking in the Makefile.PL I am not sure that I would find it. Since it is a pm file - would it not have to be in the same path as indicated in the all_from? It is just a guess on my part as I can't see anything else obvious. ============================================= C:\Users\eclisob\statistics-r\t>perl 08-errors.t ok 1 ok 2 - Syntax error ok 3 ok 4 - Runtime error not ok 5 - use t::FlawedStatisticsR; # Failed test 'use t::FlawedStatisticsR;' # at 08-errors.t line 28. # Tried to use 't::FlawedStatisticsR'. # Error: Can't locate t/FlawedStatisticsR.pm in @INC (@INC contains: C:\strawberry\perl\lib C:\strawberry\perl\site\lib/MSWin3 -x86-multi-thread C:\strawberry\perl\site\lib C:/strawberry/perl/site/lib/MSWin32-x86-multi-thread C:/strawberry/perl/site/lib C:/s rawberry/perl/vendor/lib C:/strawberry/perl/lib .) at (eval 50) line 2. # BEGIN failed--compilation aborted at (eval 50) line 2. Can't locate object method "new" via package "t::FlawedStatisticsR" (perhaps you forgot to load "t::FlawedStatisticsR"?) at 08-erro s.t line 29. # Tests were run but no plan was declared and done_testing() was not seen. C:\Users\eclisob\statistics-r\t> ======================================= Thanks, CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer Show quoted text
-----Original Message----- From: Gisbert W. Selke via RT [mailto:bug-Statistics-R@rt.cpan.org] Sent: Thursday, November 08, 2012 3:25 PM To: Clifford Sobchuk Subject: [rt.cpan.org #77761] Statistics::R fails on Windows Vista SP2 <URL: https://rt.cpan.org/Ticket/Display.html?id=77761 > Am 2012-11-06 19:33:27, FANGLY schrieb:
> I released these changes in version 0.29. Let me know if all works as > expected in this improved version.
I just tried version 0.29. The problem described by Clifford still exists, with the same symptoms. I haven't done an in-depth analysis of 03-*.t, myself, but the tests do hang after the last (and failed) test in 08-errors.t (as described by Clifford). At this point I see hanging R processes in the background. For the record: I'm running under Windows 7, R 2.15.x, IPC::Run 0.92, Regexp::Common 2011121001, Text::Balanced 2.02. As for previous versions, I cannot remember this problem occurring when installing 0.26 (but my memory may be wrong); maybe the test in question was not in place back then? (I skipped 0.27, 0.28, so I cannot vouch for them.) \Gisbert P.S.: Florent, thanks for the great module -- I use it heavily!
Thanks for leaving a review of the module, Gisbert. Clifford, Gisbert > I used Windows and was able to reproduce your issue on file t/08-errors.t Running the test in a test harness (the way it's run when doing 'make test') hangs: C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib\lib', 'blib\arch')" t/08-errors.t However, tested on its own, all works: C:\Perl\bin\perl.exe -I lib t/08-errors.t So, the good news is that the Statistics::R code seems to work alright, just not the test suite under Windows. I filed a bug report (https://rt.cpan.org/Ticket/Display.html?id=81159&results=6f4e9f9948eabf7ff29f4de481a7274e). My plan is to skip these problematic tests under Windows at the moment, until the problem is resolved upstream. Florent
Version 0.30 released. Enjoy...
Subject: RE: [rt.cpan.org #77761] Resolved: Statistics::R fails on Windows Vista SP2
Date: Thu, 15 Nov 2012 15:14:35 +0000
To: "bug-Statistics-R [...] rt.cpan.org" <bug-Statistics-R [...] rt.cpan.org>
From: Clifford Sobchuk <clifford.sobchuk [...] ericsson.com>
Thanks Florent - Works Great! CLIFF SOBCHUK Core RF Engineering Phone 613-667-1974 ecn: 8109-71974 mobile 403-819-9233 yahoo: sobchuk www.ericsson.com "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who is solely responsible for this email and its contents. All inquiries regarding this email should be addressed to Ericsson. The web site for Ericsson is www.ericsson.com." This Communication is Confidential. We only send and receive email on the basis of the terms set out at www.ericsson.com/email_disclaimer Show quoted text
-----Original Message----- From: Florent Angly via RT [mailto:bug-Statistics-R@rt.cpan.org] Sent: Wednesday, November 14, 2012 9:33 PM To: Clifford Sobchuk Subject: [rt.cpan.org #77761] Resolved: Statistics::R fails on Windows Vista SP2 <URL: https://rt.cpan.org/Ticket/Display.html?id=77761 > According to our records, your request has been resolved. If you have any further questions or concerns, please respond to this message.
Great. Thanks for the feedback.