Skip to contents

Create a subdirectory in hermes

Usage

create_dir_hermes(
  region = NULL,
  project = NULL,
  type = NULL,
  class = NULL,
  name = NULL,
  suffix = ".RData",
  dir = get_path_hermes()
)

Arguments

region

Region. A region of interest.

project

character. The project the script concerns (e.g. cronus).

type

character. The type of the object (e.g. plot, report).

class

character. The class of the object.

name

character. The name of the script (without the suffix).

suffix

character. The name of the suffix (starting with a dot).

dir

character. The hermes project directory.

Value

The absolute path is returned invisibly.

Examples

if (FALSE) {
# Define required variables
region <- Region(name = "nebraska", type = "us state",
                 div = c(country = "United States", state = "Nebraska"))

create_dir_hermes(region, "cronus", "plot", "Progress", "myplot", ".pdf")
}