R Under development (unstable) (2024-06-05 r86695 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. > library(testthat) > library(usethis) > library(envsetup) Attaching package: 'envsetup' The following object is masked from 'package:base': library > > > test_check("envsetup") v Configuration file found! i The following paths in your configuration do not exist: /DEV/username/project1/data /PROD/project1/data /DEV/username/project1/programs /PROD/project1/programs /DEV/username/project1/functions /PROD/project1/functions /DEV/username/project1/output /PROD/project1/output i All path objects will not work since directories are missing. v .Rprofile created v envsetup initialization complete v Configuration file found! i The following paths in your configuration do not exist: /DEV/username/project1/data /PROD/project1/data /DEV/username/project1/programs /PROD/project1/programs /DEV/username/project1/functions /PROD/project1/functions /DEV/username/project1/output /PROD/project1/output i All path objects will not work since directories are missing. v envsetup initialization complete Attaching paths to envsetup:paths Attaching functions from D:\temp\RtmpeudasL/PROD/functions/envre.R to autos:envre Attaching functions from D:\temp\RtmpeudasL/global/functions to autos:global Attaching functions from D:\temp\RtmpeudasL/PROD/functions to autos:projects.PROD Attaching functions from D:\temp\RtmpeudasL/QA/functions to autos:projects.QA Attaching functions from D:\temp\RtmpeudasL/DEV/functions to autos:projects.DEV Read Path:D:\temp\RtmpeudasL/DEV/data/iris.csv Write Path:D:\temp\RtmpeudasL/DEV/data/iris.csv v Directories built D:\temp\RtmpeudasL +-- demo | +-- DEV | | \-- username | | \-- project1 | | +-- data | | +-- output | | \-- programs | \-- PROD | \-- project1 | +-- data | +-- output | \-- programs +-- DEV | +-- data | \-- functions +-- docs +-- global | \-- functions +-- PROD | \-- functions \-- QA \-- functions Read Path:D:\temp\RtmpeudasL/DEV/data/iris.csv Rows: 150 Columns: 5 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): Species dbl (4): Sepal.Length, Sepal.Width, Petal.Length, Petal.Width i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. Read Path:D:\temp\RtmpeudasL/DEV/data Read Path:D:\temp\RtmpeudasL/DEV/data/iris2.csv Rows: 150 Columns: 5 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): Species dbl (4): Sepal.Length, Sepal.Width, Petal.Length, Petal.Width i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. Write Path:D:\temp\RtmpeudasL/DEV/data Attaching paths to envsetup:paths Read Path:D:\temp\RtmpeudasL/DEV/data/iris.csv Rows: 150 Columns: 5 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): Species dbl (4): Sepal.Length, Sepal.Width, Petal.Length, Petal.Width i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. Write Path:D:\temp\RtmpeudasL/DEV/data Attaching paths to envsetup:paths Attaching paths to envsetup:paths Attaching functions from D:\temp\RtmpeudasL/PROD/functions/envre.R to autos:envre Attaching functions from D:\temp\RtmpeudasL/global/functions to autos:global Attaching functions from D:\temp\RtmpeudasL/PROD/functions to autos:projects.PROD Attaching functions from D:\temp\RtmpeudasL/QA/functions to autos:projects.QA Attaching functions from D:\temp\RtmpeudasL/DEV/functions to autos:projects.DEV Attaching paths to envsetup:paths Attaching functions from D:\temp\RtmpeudasL/PROD/functions/envre.R to autos:envre Attaching functions from D:\temp\RtmpeudasL/global/functions to autos:global Attaching functions from D:\temp\RtmpeudasL/PROD/functions to autos:projects.PROD Attaching functions from D:\temp\RtmpeudasL/QA/functions to autos:projects.QA Attaching functions from D:\temp\RtmpeudasL/DEV/functions to autos:projects.DEV Attaching paths to envsetup:paths Attaching functions from D:\temp\RtmpeudasL/PROD/functions/envre.R to autos:envre Attaching functions from D:\temp\RtmpeudasL/global/functions to autos:global Attaching functions from D:\temp\RtmpeudasL/PROD/functions to autos:projects.PROD Attaching functions from D:\temp\RtmpeudasL/QA/functions to autos:projects.QA Attaching functions from D:\temp\RtmpeudasL/DEV/functions to autos:projects.DEV Read Path:D:\temp\RtmpeudasL/DEV/data/iris.csv Rows: 150 Columns: 5 -- Column specification -------------------------------------------------------- Delimiter: "," chr (1): Species dbl (4): Sepal.Length, Sepal.Width, Petal.Length, Petal.Width i Use `spec()` to retrieve the full column specification for this data. i Specify the column types or set `show_col_types = FALSE` to quiet this message. [ FAIL 0 | WARN 0 | SKIP 8 | PASS 44 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-autos.R:126:3', 'test-init.R:7:3', 'test-init.R:13:3', 'test-init.R:19:3', 'test-utils.R:15:3', 'test-utils.R:32:3', 'test-utils.R:48:3', 'test-utils.R:61:3' [ FAIL 0 | WARN 0 | SKIP 8 | PASS 44 ] > > # https://blog.r-hub.io/2020/11/18/testthat-utility-belt/ > # https://testthat.r-lib.org/articles/test-fixtures.html > > proc.time() user system elapsed 1.79 0.51 2.23