Skip to contents

This function imports a set of CoMMa specifications from a CoMMa repo. The main file in such a repository is the manifest, a YAML file specifying the locations of the files with the CoMMa specs.

Usage

import_comma_repo(x, silent = comma::opts$get("silent"))

Arguments

x

The URL to the CoMMa spec repo manifest (a YAML file).

Value

An imported CoMMa spec repo object.

Examples

### Get included repo location
repoPath <-
  system.file(
    "CoMMa-spec-repo",
    "CoMMa-specs.yml",
    package = "comma"
  );

### Import repo
importedRepo <-
  comma::import_comma_repo(
    repoPath
  );