* using log directory ‘/builds/Rdatatable/data.table/data.table.Rcheck’ * using R version 3.3.0 (2016-05-03) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using options ‘--no-manual --ignore-vignettes’ * checking for file ‘data.table/DESCRIPTION’ ... OK * this is package ‘data.table’ version ‘1.16.99’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Packages suggested but not available for checking: ‘xts’ ‘knitr’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘data.table’ can be installed ... OK * checking installed package size ... NOTE installed size is 7.5Mb sub-directories of 1Mb or more: libs 2.0Mb po 1.6Mb tests 1.9Mb * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... SKIPPED * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... OK Running ‘autoprint.R’ Comparing ‘autoprint.Rout’ to ‘autoprint.Rout.save’ ...17,20d16 < a < < 1: 1 < 2: 3 27,30d22 < a < < 1: 1 < 2: 3 32,36d23 < Index: < a < < 1: 1 < 2: 3 38,42d24 < Index: < a < < 1: 1 < 2: 3 60,63d41 < a < < 1: 1 < 2: 5 65,68d42 < a < < 1: 1 < 2: 6 72,75d45 < a < < 1: 1 < 2: 5 142,144d111 < a < < 1: 9 150,153d116 < a < < 1: 10 < 2: 10 155,158d117 < a < < 1: 10 < 2: 10 160,163d118 < a < < 1: 10 < 2: 10 209,214d163 < x y < < 1: 1 1 < Warning message: < In `[.data.table`(dt, , `:=`(y, 1)) : < A shallow copy of this data.table was taken so that := can add or remove 1 columns by reference. At an earlier point, this data.table was copied by R (or was created manually using structure() or similar). Avoid names<- and attr<- which in R currently (and oddly) may copy the whole data.table. Use set* syntax instead to avoid copying: ?set, ?setnames and ?setattr. It's also not unusual for data.table-agnostic packages to produce tables affected by this issue. If this message doesn't help, please report your use case to the data.table issue tracker so the root cause can be fixed or this message improved. 219a169,184 > > if (TRUE) withAutoprint({ > + DT # yes > + DT[1L, 1L] # yes > + DT[2L, a := 10L] # no > + }) > > DT > a > > 1: 10 > 2: 10 > > DT[1L, 1L] > a > > 1: 10 > > DT[2L, `:=`(a, 10L)] > > Running ‘froll.R’ Running ‘knitr.R’ Comparing ‘knitr.Rout’ to ‘knitr.Rout.save’ ... OK Running ‘main.R’ Running ‘nafill.R’ Running ‘other.R’ Running ‘programming.R’ Running ‘S4.R’ Running ‘types.R’ * DONE Status: 2 NOTEs