Running 'test_envDocument.R' [155s]
  Running 'testthat.R' [156s]
Running the tests in 'tests/test_envDocument.R' failed.
Complete output:
  > # test_envDocument
  > # 
  > # Note: I'm not sure how to run a true regression test on this package since its
  > # purpose is to print out a lot of machine-specific info.  For now just make
  > # sure it outupts the appropriate sections (system, Rversion and included package envDocument)
  > 
  > library(envDocument)
  > 
  > # Calling env_doc with defaults returns a single data frame of information
  > # about the environment
  > info <- env_doc()
  Warning messages:
  1: In getScriptInfo() :
    Error in getScriptPath() : No path information available.
  
  2: In getGitInfo() :
    Unable to look up git information; could not determine calling script
  Error in getScriptPath() : No path information available.
  
  > 
  > # Call with output = "print" will print the data frame
  > env_doc("print")
               Name                                                   Value
  1         sysname                                                 Windows
  2         release                                              Server x64
  3         version                                             build 20348
  4        nodename                                                CRANWIN3
  5         machine                                                  x86-64
  6           login                                                    CRAN
  7            user                                                    CRAN
  8  effective_user                                                    CRAN
  9       Directory  d:/Rcompile/CRANpkg/local/4.4/envDocument.Rcheck/tests
  10        Version R Under development (unstable) (2024-03-22 r86169 ucrt)
  11    envDocument                              2.4.1 CRAN CRAN 2019-08-08
  12       compiler                                          4.4.0 NA NA NA
  13          git2r                0.33.0 CRAN CRAN 2023-11-26 16:50:05 UTC
  14 All Attributes                                           Not Available
  15 All Attributes                                           Not Available
      Section
  1    System
  2    System
  3    System
  4    System
  5    System
  6    System
  7    System
  8    System
  9    System
  10        R
  11 Packages
  12 Packages
  13 Packages
  14   Script
  15      Git
  Warning messages:
  1: In getScriptInfo() : Error in getScriptPath() : 
    Obtained value for path <print> does not end with .R, .Rmd or .Rnw: print
  
  2: In getGitInfo() :
    Unable to look up git information; could not determine calling script
  Error in getScriptPath() : 
    Obtained value for path <print> does not end with .R, .Rmd or .Rnw: print
  
  > 
  > # Call with output = "table" to pretty-print each section with knitr::kable
  > # set results to 'asis' to avoid prefixing output
  > 
  > #+ env_table, results = "asis"
  > env_doc("table")
  
  
  Table: System Information
  
  |Name           |Value                                                  |
  |:--------------|:------------------------------------------------------|
  |sysname        |Windows                                                |
  |release        |Server x64                                             |
  |version        |build 20348                                            |
  |nodename       |CRANWIN3                                               |
  |machine        |x86-64                                                 |
  |login          |CRAN                                                   |
  |user           |CRAN                                                   |
  |effective_user |CRAN                                                   |
  |Directory      |d:/Rcompile/CRANpkg/local/4.4/envDocument.Rcheck/tests |
  
  
  Table: R Information
  
  |Name    |Value                                                   |
  |:-------|:-------------------------------------------------------|
  |Version |R Under development (unstable) (2024-03-22 r86169 ucrt) |
  
  
  Table: Packages Information
  
  |Name        |Value                                    |
  |:-----------|:----------------------------------------|
  |envDocument |2.4.1 CRAN CRAN 2019-08-08               |
  |compiler    |4.4.0 NA NA NA                           |
  |git2r       |0.33.0 CRAN CRAN 2023-11-26 16:50:05 UTC |
  
  
  Table: Script Information
  
  |Name           |Value         |
  |:--------------|:-------------|
  |All Attributes |Not Available |
  
  
  Table: Git Information
  
  |Name           |Value         |
  |:--------------|:-------------|
  |All Attributes |Not Available |
  Warning messages:
  1: In getScriptInfo() : Error in getScriptPath() : 
    Obtained value for path <table> does not end with .R, .Rmd or .Rnw: table
  
  2: In getGitInfo() :
    Unable to look up git information; could not determine calling script
  Error in getScriptPath() : 
    Obtained value for path <table> does not end with .R, .Rmd or .Rnw: table
  
  > 
  > # change to trigger git status
  > message("Done")
  Done
  > 
  > proc.time()
     user  system elapsed 
     0.37    0.06    0.42 
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > 
  > test_check("envDocument")
  Loading required package: envDocument
  [ FAIL 0 | WARN 0 | SKIP 2 | PASS 4 ]
  
  ══ Skipped tests (2) ═══════════════════════════════════════════════════════════
  • On CRAN (2): 'test-gitinfo.R:13:3', 'test-gitinfo.R:25:3'
  
  [ FAIL 0 | WARN 0 | SKIP 2 | PASS 4 ]
  > 
  > proc.time()
     user  system elapsed 
     0.70    0.20    0.89