R Under development (unstable) (2024-07-28 r86931 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. > message("*** startup_session_options() ...") *** startup_session_options() ... > > opts_0 <- startup::startup_session_options() > utils::str(opts_0) List of 5 $ startup.session.startdir : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests" $ startup.session.starttime : POSIXct[1:1], format: "2024-07-29 23:35:40" $ startup.session.starttime_iso: chr "20240729-233540" $ startup.session.id : chr "RtmpAXLseu" $ startup.session.dumpto : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests/last.dump_20240729-233540_RtmpAXLseu" > > opts_1 <- startup::startup_session_options(action = "update") > utils::str(opts_1) List of 5 $ startup.session.startdir : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests" $ startup.session.starttime : POSIXct[1:1], format: "2024-07-29 23:35:40" $ startup.session.starttime_iso: chr "20240729-233540" $ startup.session.id : chr "RtmpAXLseu" $ startup.session.dumpto : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests/last.dump_20240729-233540_RtmpAXLseu" > stopifnot(identical(opts_1, opts_0)) > > opts_2 <- startup::startup_session_options(action = "overwrite") > utils::str(opts_2) List of 5 $ startup.session.startdir : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests" $ startup.session.starttime : POSIXct[1:1], format: "2024-07-29 23:35:40" $ startup.session.starttime_iso: chr "20240729-233540" $ startup.session.id : chr "RtmpAXLseu" $ startup.session.dumpto : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests/last.dump_20240729-233540_RtmpAXLseu" > > opts_3 <- startup::startup_session_options(action = "erase") > utils::str(opts_3) Named list() > stopifnot(all(unlist(lapply(opts_3, FUN = is.null)))) > > opts_4 <- startup::startup_session_options() > utils::str(opts_4) List of 5 $ startup.session.startdir : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests" $ startup.session.starttime : POSIXct[1:1], format: "2024-07-29 23:35:40" $ startup.session.starttime_iso: chr "20240729-233540" $ startup.session.id : chr "RtmpAXLseu" $ startup.session.dumpto : chr "d:/RCompile/CRANincoming/R-devel/startup.Rcheck/tests/last.dump_20240729-233540_RtmpAXLseu" > > message("*** startup_session_options() ... DONE") *** startup_session_options() ... DONE > > proc.time() user system elapsed 0.12 0.06 0.17