Dear list,

I'm very excited that windows support for multicore package is starting to
appear. I hope my query is appropriate for this list. I've downloaded the
latest snapshop (multicore_0.1-4.tar.gz) from rforge and tried to build the
package. Something goes astray when executing examples. When the check comes
to this point, I also get a window saying Rterm stopped responding. When I
shut it down, R check fails with the following error. Any advice on what
might be wrong?

R CMD check multicore
* using log directory 'd://multicore.Rcheck'
* using R version 2.11.0 (2010-04-22)
* using session charset: CP1250
* checking for file 'multicore/DESCRIPTION' ... OK
* this is package 'multicore' version '0.1-4'
* checking package name space information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... WARNING
Subdirectory 'multicore/src' contains object files.
* checking for executable files ... OK
* checking whether package 'multicore' can be installed ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the name space can be loaded with stated dependencies ...
OK
* checking whether the name space can be unloaded cleanly ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking for portable use of $BLAS_LIBS ... OK
* checking examples ... ERROR
Running examples in 'multicore-Ex.R' failed.
The error most likely occurred in:

> ### * fork
>
> flush(stderr()); flush(stdout())
>
> ### Name: fork
> ### Title: Fork a copy of the current R process
> ### Aliases: fork exit
> ### Keywords: interface
>
> ### ** Examples
>
>   p <- fork()
>   if (inherits(p, "masterProcess")) {
+     cat("I'm a child! ", Sys.getpid(), "\n")
+     exit(,"I was a child")
+   }
>   cat("I'm the master\n")
I'm the master
>   p <- fork()
>   if (inherits(p, "masterProcess")) {
+     cat("I'm a child! ", Sys.getpid(), "\n")
+     exit(,"I was a child")
+   }
I'm a child!  3420
  unserialize(readChildren(1.5))
Error in unserialize(readChildren(1.5)) :
  'connection' must be a connection
Execution halted

When I install the package from Rforge, things go through.

> install.packages("multicore",, "http://www.rforge.net/", type =
"win.binary")
Warning in install.packages("multicore", , "http://www.rforge.net/", type =
"win.binary") :
  argument 'lib' is missing: using
'C:\Users\romunov\Documents\R\win-library\2.11'
trying URL '
http://www.rforge.net/bin/windows/contrib/2.11/multicore_0.1-4.zip'
Content type 'application/zip' length 51436 bytes (50 Kb)
opened URL
downloaded 50 Kb

package 'multicore' successfully unpacked and MD5 sums checked

The downloaded packages are in
    C:\Users\romunov\AppData\Local\Temp\RtmpsA3KzY\downloaded_packages
> library(multicore)
> ?multicore



-- 
In God we trust, all others bring data.


> sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32

locale:
[1] LC_COLLATE=Slovenian_Slovenia.1250  LC_CTYPE=Slovenian_Slovenia.1250
[3] LC_MONETARY=Slovenian_Slovenia.1250 LC_NUMERIC=C
[5] LC_TIME=Slovenian_Slovenia.1250

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] multicore_0.1-4

loaded via a namespace (and not attached):
[1] tools_2.11.1

	[[alternative HTML version deleted]]

