From simon.urbanek at r-project.org  Thu May  2 16:03:07 2013
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Thu, 2 May 2013 10:03:07 -0400
Subject: [Rd] Comments in the DESCRIPTION file
In-Reply-To: <1367477919284-4666017.post@n4.nabble.com>
References: <509A2942.3050004@u-paris10.fr>
	<1367402475396-4665892.post@n4.nabble.com>
	<C4C6B669-E9A6-4D2F-AC55-4968F3CBE764@r-project.org>
	<1367477919284-4666017.post@n4.nabble.com>
Message-ID: <40677854-5CFC-4FA1-B1F6-E27C3CEBF772@r-project.org>


On May 2, 2013, at 2:58 AM, cgenolin wrote:

> Hi,
> 
> I am not that familiar with the DCF... But R seems to accept # quite easely.

The fact that R currently accepts invalid DCF files is not a guarantee that it won't be following the standard more closely in the future. What you are doing is illegal in the DCF standard so don't do it. If you do so, don't be surprised that it will fail tomorrow, you have been warned.

Cheers,
S





> More precisely:
> 
> Before posting my message, I try it on a small package: R CMD check or R CMD
> INSTALL did not make any warning or error (whereas they do if I use '#'
> alone). 
> 
> After reading your response, I dig a bit more. The source of my DESCRIPTION
> file was:
> 
> --- 8< ------------------
> #############################:
> ###: This is some kind of 'section 1'
> ###:
> Package: packBasic1
> Title: Very simple package
> Version: 0.9.2
> License: GPL (>=2.0)
> Description: A package
> #:
> #:
> #############################:
> ###: This is 'section 2'
> ###:
> Author: Christophe Genolini
> Maintainer: Christophe Genolini <genolini at u-paris10.fr>
> --- 8< ------------------
> 
> The DESCRIPTION file after installation was: 
> 
> --- 8< ------------------
> #############################:
> ###:
> Package: packBasic1
> Title: Very simple package
> Version: 0.9.2
> License: GPL (>=2.0)
> Description: A package
> #:
> Author: Christophe Genolini
> Maintainer: Christophe Genolini <genolini at u-paris10.fr>
> Built: R 3.0.0; ; 2013-05-02 06:50:57 UTC; windows
> --- 8< ------------------
> 
> So I guess there was a problem.
> But if I number the comments line, then it works:
> 
> --- 8< ---------------------
> #############################1:
> ###2: This is some kind of 'section 1'
> ###3:
> Package: packBasic1
> Title: Very simple package
> Version: 0.9.2
> License: GPL (>=2.0)
> Description: A package
> #4:
> #5:
> #############################6:
> ###7: This is 'section 2'
> ###8:
> Author: Christophe Genolini
> Maintainer: Christophe Genolini <genolini at u-paris10.fr>
> Built: R 3.0.0; ; 2013-05-02 06:49:27 UTC; windows
> --- 8< ---------------------
> 
> Christophe
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Comments-in-the-DESCRIPTION-file-tp4648678p4666017.html
> Sent from the R devel mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 



[Rd] Comments in the DESCRIPTION file
Simon Urbanek