Skip to contents

Report on your hipercow configuration. We will always want you to post this along side any problems; it has lots of useful information in it that will help us see how your set up is configured.

Usage

hipercow_configuration(show = TRUE, root = NULL)

Arguments

show

Display the configuration to the screen

root

Hipercow root, usually best NULL

Value

A list with a machine readable form of this information, invisibly.

Examples

cleanup <- hipercow_example_helper()
#>  This example uses a special helper
hipercow_configuration()
#> 
#> ── hipercow root at /tmp/RtmpUN1Cun/file194c26d76e79 ───────────────────────────
#>  Working directory '.' within root
#>  R version 4.4.1 on Linux (runner@fv-az1020-758)
#> 
#> ── Packages ──
#> 
#>  This is hipercow 1.0.34
#>  Installed: conan2 (1.9.101), logwatch (0.1.1)
#>  hipercow.windows is not installed
#> 
#> ── Environments ──
#> 
#> ── default 
#> • packages: (none)
#> • sources: (none)
#> • globals: (none)
#> 
#> ── empty 
#> • packages: (none)
#> • sources: (none)
#> • globals: (none)
#> 
#> ── Drivers ──
#> 
#>  1 driver configured ('example')
#> 
#> ── example 
#> (unconfigurable)

# If you have saved additional environments, they will be listed here:
file.create("functions.R")
#> [1] TRUE
hipercow_environment_create(
  name = "other",
  packages = "knitr",
  sources = "functions.R")
#>  Created environment 'other'
hipercow_configuration()
#> 
#> ── hipercow root at /tmp/RtmpUN1Cun/file194c26d76e79 ───────────────────────────
#>  Working directory '.' within root
#>  R version 4.4.1 on Linux (runner@fv-az1020-758)
#> 
#> ── Packages ──
#> 
#>  This is hipercow 1.0.34
#>  Installed: conan2 (1.9.101), logwatch (0.1.1)
#>  hipercow.windows is not installed
#> 
#> ── Environments ──
#> 
#> ── default 
#> • packages: (none)
#> • sources: (none)
#> • globals: (none)
#> 
#> ── empty 
#> • packages: (none)
#> • sources: (none)
#> • globals: (none)
#> 
#> ── other 
#> • packages: knitr
#> • sources: functions.R
#> • globals: (none)
#> 
#> ── Drivers ──
#> 
#>  1 driver configured ('example')
#> 
#> ── example 
#> (unconfigurable)

cleanup()
#>  Cleaning up example