From c@gille@pie @ending from gm@il@com  Thu Aug 23 17:06:35 2018
From: c@gille@pie @ending from gm@il@com (Colin Gillespie)
Date: Thu, 23 Aug 2018 16:06:35 +0100
Subject: [Rd] Slightly misleading help page: tools::add_datalist
Message-ID: <CADbDLZkC3OGFi1o1PtkcitWzTmyuQpjG1J1gJ=hZFBQxnwwBEg@mail.gmail.com>

Hi,

I was looking at the help page for add_datalist() and it states under
Details:

"R CMD build will call this function to add a data list to packages with
1MB or more of data."

This is correct, however, what is omitted from the help page is that
add_datalist() will *only* create the datalist file on packages with 1MB or
more of data, as in the function we have

if (size <= 1024^2) return()

As an aside what's the reason for the 1MB limit?

Thanks

Colin

	[[alternative HTML version deleted]]



[Rd] Slightly misleading help page: tools::add_datalist
Colin Gillespie