[datatable-help] Building data.table 1.8.9 from sources fails
Victor Kryukov
victor.kryukov at gmail.com
Thu Mar 7 06:55:26 CET 2013
Please ignore this. I've accidentally replaced NAMESPACE by running
document(). Everything builds fine from fresh source. I should really go
home now...
Yours Sincerely,
Victor Kryukov
On Wed, Mar 6, 2013 at 9:49 PM, Victor Kryukov <victor.kryukov at gmail.com>wrote:
> Hello,
>
> when I'm trying to build freshly cloned data.table 1.8.9 from source via
> either 'R CMD build .' in pkg/ directory or calling devtools build(), it
> fails with the following error. I don't really understand what's going on,
> as in lines 16-17 in datatable-faq.Rnw we have
>
> if (!exists("data.table",.GlobalEnv)) library(data.table) # see Intro.Rnw
> for comments on these two lines
> rm(list=as.character(tables()$NAME),envir=.GlobalEnv)
>
> and first line should load data.table if not loaded. Even when I load it
> explicitly in line 16 via library(data.table), i.e. removing if(), it fails
> with the same error.
>
> Any ideas why?
>
> 'R CMD check .' finishes without any problems. My systemInfo() is below
> just in case.
>
> Regards,
> Victor
>
> ====
>
> > build()
> '/usr/local/Cellar/r/2.15.3/R.framework/Resources/bin/R' --vanilla CMD
> build '/Users/victor/Documents/R/datatable/pkg' --no-manual
> --no-resave-data
>
> * checking for file '/Users/victor/Documents/R/datatable/pkg/DESCRIPTION'
> ... OK
> * preparing 'data.table':
> * checking DESCRIPTION meta-information ... OK
> * cleaning src
> * installing the package to re-build vignettes
> * creating vignettes ... ERROR
>
> Error: processing vignette 'datatable-faq.Rnw' failed with diagnostics:
> chunk 1
> Error in rm(list = as.character(tables()$NAME), envir = .GlobalEnv) :
> could not find function "tables"
> Execution halted
> Error: Command failed (1)
>
> ====
>
> > sessionInfo()
> R version 2.15.3 (2013-03-01)
> Platform: x86_64-apple-darwin12.2.1 (64-bit)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20130306/add42840/attachment.html>
More information about the datatable-help
mailing list