[Rd] The ByteCompile & LazyLoading fields
    Colin Gillespie 
    csgillespie at gmail.com
       
    Mon Jul  3 14:35:10 CEST 2017
    
    
  
Hi,
In the DESCRIPTION file the ByteCompile and LazyLoading arguments appear to
accept any value.
>From the manual the field should be a "logical field". However, authors
interpret this in a variety of ways:
unique(tools::CRAN_package_db()$ByteCompile)
# [1] NA     "TRUE" "yes"  "true" "Yes"  "no"
# unique(tools::CRAN_package_db()$LazyData)
# [1] NA               "true"           "TRUE"           "yes"
 "no"             "false"
# [7] "True"           "Yes"            "FALSE"          "YES"
 "LazyData: true" "NA"
# [13] "No"
I presume that all non NA are treated as TRUE.
This observation applies to other logical fields in the DESCRIPTION file.
Colin
	[[alternative HTML version deleted]]
    
    
More information about the R-devel
mailing list