[R] R CMD build: "Error in if (any(update))"

Rob Foxall r|ox@||27 @end|ng |rom gm@||@com
Mon Jun 10 06:29:54 CEST 2019


Apologies for the html. I thought that the R--package-devel list was for
CRAN packages, which this package is not.

On Mon, Jun 10, 2019 at 11:53 AM Bert Gunter <bgunter.4567 using gmail.com> wrote:

> Wrong list.
> Post to R--package-devel instead. And post in plain text, not html.
>
> Cheers,
> Bert
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along and
> sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Sun, Jun 9, 2019 at 8:40 PM Rob Foxall <rfoxall27 using gmail.com> wrote:
>
>> Hi,
>>
>> I've got an R package that I periodically create in what I assume is an
>> old-fashioned way:
>>
>> Within R: use "package.skeleton"
>> Outside of R: update e.g. .rd files as appropriate
>> Command window: run the following commands
>> R CMD build packageName
>> R CMD check packageName
>> R CMD INSTALL --build packageName
>>
>> I am now getting an error on the R CMD build stage. Initially I had wanted
>> to remove a package dependency (by not passing some functions to
>> package.skeleton and editing my NAMESPACE and DESCRIPTION file
>> appropriately), but on getting the error I tried to revert everything back
>> to my last successful build (Feb 2019), however, the error persisted:
>> R CMD build packageName
>> * checking for file 'packageName/DESCRIPTION' ... OK
>> * preparing 'packageName' :
>> * checking DESCRIPTION meta-information ... OK
>> * checking for LF line-endings in source and make files
>> * checking for empty or unneeded directories
>> * looking to see if a 'data/datalist' file should be added
>> Error in if (any(update)) { : missing value where TRUE/FALSE needed
>> Execution halted
>>
>> I am guessing that the error could be due to any of the last three lines
>> that don't have an "OK", but I am completely stuck as to how to narrow it
>> down further, and Dr. Google has already failed me.
>>
>> Using R version 3.6.0, R tools version 3.5.0.4 (I don't recall if had
>> different versions previous time I built this package in Feb 2019).
>>
>> Cheers,
>> Rob.
>>
>>         [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list