R Under development (unstable) (2024-03-22 r86169 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > require(data.table) Loading required package: data.table > if (as.logical(Sys.getenv("TEST_DATA_TABLE_WITH_OTHER_PACKAGES","FALSE"))) { + + options(warn=1) + # test.data.table() turns on R's warnPartial* options and currently there + # are partial argument names used in base and other packages. Without the + # options(warn=1), other.Rout just contains "There were 16 warnings (use + # warnings() to see them)". However, a print(warnings()) after test.data.table() + # just results in NULL in other.Rout. Hence options(warn=1) because that + # worked to display the warnings, not because we want them displayed at the + # time per se. + + test.data.table(script="other.Rraw") + } > > > proc.time() user system elapsed 0.18 0.03 0.20