tests/system-info.R

if (identical(Sys.getenv("NOT_CRAN"), "true")) file.create("system-info.Rout.save")

# System information
Sys.info()
.Platform
sessionInfo()
# Dates and times
Sys.Date()
Sys.time()
Sys.timezone()
# Paths
getwd()
tempdir()
.libPaths()
path.expand("~")
normalizePath("/")
# Pandoc
Sys.which("pandoc")
rmarkdown::pandoc_available()
rmarkdown::pandoc_version()
# Git
Sys.which("git")
if (file.exists(Sys.which("git"))) system("git --version")

Try the workflowr package in your browser

Any scripts or data that you put into this service are public.

workflowr documentation built on Aug. 23, 2023, 1:09 a.m.