Running 'test_envDocument.R'
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: Package git2r is needed by getGitInfo. Please install it or call env_doc(git = FALSE). 
  > 
  > # Call with output = "print" will print the data frame
  > env_doc("print")
               Name
  1         sysname
  2         release
  3         version
  4        nodename
  5         machine
  6           login
  7            user
  8  effective_user
  9       Directory
  10        Version
  11    envDocument
  12       compiler
  13 All Attributes
  14 All Attributes
                                                                Value  Section
  1                                                           Windows   System
  2                                                        Server x64   System
  3                                                       build 20348   System
  4                                                      AA72B55F2BB7   System
  5                                                            x86-64   System
  6                                                     ContainerUser   System
  7                                                     ContainerUser   System
  8                                                     ContainerUser   System
  9  C:/r_packages/pkgcheck/CRAN/envDocument/envDocument.Rcheck/tests   System
  10          R Under development (unstable) (2022-03-27 r81995 ucrt)        R
  11                                       2.4.1 CRAN CRAN 2019-08-08 Packages
  12                                                   4.3.0 NA NA NA Packages
  13                                                    Not Available   Script
  14                                                    Not Available      Git
  Warning messages:
  1: In getScriptInfo() : Error in getScriptPath() : 
    Obtained value for path <print> does not end with .R, .Rmd or .Rnw: print
  
  2: Package git2r is needed by getGitInfo. Please install it or call env_doc(git = FALSE). 
  > 
  > # 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")
  Error: Package knitr is not available and is needed for this function to work.
  In addition: Warning messages:
  1: In getScriptInfo() : Error in getScriptPath() : 
    Obtained value for path <table> does not end with .R, .Rmd or .Rnw: table
  
  2: Package git2r is needed by getGitInfo. Please install it or call env_doc(git = FALSE). 
  Execution halted