From jens.henrik at badsberg.eu  Tue Apr 14 13:57:37 2009
From: jens.henrik at badsberg.eu (jens.henrik at badsberg.eu)
Date: Tue, 14 Apr 2009 13:57:37 +0200 (CEST)
Subject: [Rd] 'R CMD build --binary BUNDLE' and Windows
In-Reply-To: <49DDB1B4.1030905@biostat.ku.dk>
References: <1BFF99DC9507426792104D6A4DD70741@Scaleo>
	<49DDB1B4.1030905@biostat.ku.dk>
Message-ID: <d313d5d381a2f9a2483cccd5248cf136.squirrel@webmail01.one.com>

It has only been fixed partly:

'Contains' fields with more than about 72 characters are 'corrupted' when
the DESCRIPTION file is 'reformated' in the process from 'incomming' to
'http://cran.at.r-project.org/web/packages/' - or R (2.9.0) cannot handle
'contains' fields with more than one line.

The bundle 'CoCo version 0.1.7.5' I submitted april 3th now checks OK by R
version 2.9.0 RC: http://win-builder.r-project.org/JDzIuXv33Z9B/

But a check on file 'CoCo_0.1.7.5.tar.gz' from
http://cran.at.r-project.org/web/packages/CoCo/index.html is not OK:
http://win-builder.r-project.org/9Nh7tz03uCV8/

The difference is that the DESCRIPTION file of the bundle is 'reformated'
by CRAN, dividing the 'Contains' filed onto two lines.

Regards,

Jens Henrik


'diff' of DESCRIPTION files:
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ diff -b CoCo/DESCRIPTION ../../2009.04.03/mnt/CoCo/DESCRIPTION
2,3c2
< Contains: CoCoObjects CoCoCore CoCoRaw CoCoOldData CoCoGraph CoCo
<         CoCoCg
---
> Contains: CoCoObjects CoCoCore CoCoRaw CoCoOldData CoCoGraph CoCo CoCoCg
9,15c8,13
< BundleDescription: Interface to CoCo from R - Graphical modelling by
<         CoCo. The package CoCo handles discrete data by log-linear
<         models and contingency tables. CoCoCg is for both discrete and
<         continuous data by CG-regressions. CoCoCore and CoCoRaw contain
<         respectively the one entry point interface function to CoCo end
<         the interface functions for the commands of CoCo. CoCoObjects
<         and CoCoGraph are base and extension with objects and graphs.
---
> BundleDescription: Interface to CoCo from R - Graphical modelling by CoCo.
>       The package CoCo handles discrete data by log-linear models and
contingency tables.
>       CoCoCg is for both discrete and continuous data by CG-regressions.
>       CoCoCore and CoCoRaw contain respectively the one entry point
interface function
>       to CoCo end the interface functions for the commands of CoCo.
>       CoCoObjects and CoCoGraph are base and extension with objects and
graphs.
17,18c15,16
< Copyright: Copyright (C) by Jens Henrik Badsberg, 1991-2009, non-profit
<         use and redistribution permitted (Artistic License 2.0)
---
> Copyright: Copyright (C) by Jens Henrik Badsberg, 1991-2009,
>       non-profit use and redistribution permitted (Artistic License 2.0)
22,23d19
< Repository: CRAN
< Date/Publication: 2009-04-04 20:41:49
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >


Submitted DESCRIPTION file of the CoCo-bundle:
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bundle: CoCo
Contains: CoCoObjects CoCoCore CoCoRaw CoCoOldData CoCoGraph CoCo CoCoCg
Version: 0.1.7.5
Date: 03.04.2009
Author: Jens Henrik Badsberg <coco at badsberg.eu>
Maintainer: Jens Henrik Badsberg <coco at badsberg.eu>
Depends: R (>= 2.0.0), dynamicGraph (>= 0.2.0), MASS, methods
BundleDescription: Interface to CoCo from R - Graphical modelling by CoCo.
	The package CoCo handles discrete data by log-linear models and
contingency tables.
	CoCoCg is for both discrete and continuous data by CG-regressions.
	CoCoCore and CoCoRaw contain respectively the one entry point interface
function
	to CoCo end the interface functions for the commands of CoCo.
	CoCoObjects and CoCoGraph are base and extension with objects and graphs.
License: file LICENSE
Copyright: Copyright (C) by Jens Henrik Badsberg, 1991-2009,
	non-profit use and redistribution permitted (Artistic License 2.0)
Address: Andreas Bjorns Gade 21, 2. tv, 1428 Kobenhavn K, Denmark
URL: http://www.badsberg.eu
Packaged: Fri Apr  3 23:41:15 2009; CoCo
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >


DESCRIPTION file of the CoCo-bundle on CRAN:
< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Bundle: CoCo
Contains: CoCoObjects CoCoCore CoCoRaw CoCoOldData CoCoGraph CoCo
        CoCoCg
Version: 0.1.7.5
Date: 03.04.2009
Author: Jens Henrik Badsberg <coco at badsberg.eu>
Maintainer: Jens Henrik Badsberg <coco at badsberg.eu>
Depends: R (>= 2.0.0), dynamicGraph (>= 0.2.0), MASS, methods
BundleDescription: Interface to CoCo from R - Graphical modelling by
        CoCo. The package CoCo handles discrete data by log-linear
        models and contingency tables. CoCoCg is for both discrete and
        continuous data by CG-regressions. CoCoCore and CoCoRaw contain
        respectively the one entry point interface function to CoCo end
        the interface functions for the commands of CoCo. CoCoObjects
        and CoCoGraph are base and extension with objects and graphs.
License: file LICENSE
Copyright: Copyright (C) by Jens Henrik Badsberg, 1991-2009, non-profit
        use and redistribution permitted (Artistic License 2.0)
Address: Andreas Bjorns Gade 21, 2. tv, 1428 Kobenhavn K, Denmark
URL: http://www.badsberg.eu
Packaged: Fri Apr 3 23:41:15 2009; CoCo
Repository: CRAN
Date/Publication: 2009-04-04 20:41:49
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >


> coco at badsberg.eu wrote:
>> 'R CMD build --binary BUNDLE' and Windows.
>>
>>
>>
>> When using R version 2.9.0 beta for 'R CMD build --binary CoCo' on
>> Windows
>> only the first package of the 'Contains' field of the bundle DESCRIPTION
>> file ends up in the zip file.
>>
>> (Same result for the bundle 'VR' by R version 2.9.0 beta.)
>>
>>
>>
>> The check of the CoCo bundle version 0.1.7.5 by R version 2.9.0 beta is
>> OK
>> (on my machine), see attached 00check.log.
>>
>>
>>
>> The zip-file is OK by versions 2.6.0, 2.6.2, 2.7.2, and 2.8.0 of R.
>
> Brian fixed this, please check the current version (r48312).
>
>
> --
>     O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
>    c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
>   (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907
>



[Rd] 'R CMD build --binary BUNDLE' and Windows
jens.henrik at badsberg.eu