gtrack.create_dirs: Create directories needed for track creation

View source: R/db.R

gtrack.create_dirsR Documentation

Create directories needed for track creation

Description

This function creates the directories needed for track creation. For example, if the track name is 'proj.sample.my_track', this function creates the directories 'proj' and 'sample'. Use this function with caution - a long track name may create a deep directory structure.

Usage

gtrack.create_dirs(track, mode = "0777")

Arguments

track

name of the track

mode

see 'dir.create'

Value

None.

Examples


gdb.init_examples()

# This creates the directories 'proj' and 'sample'
gtrack.create_dirs("proj.sample.my_track")


misha documentation built on Sept. 14, 2023, 5:08 p.m.