% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/creat_folder.R
\name{creat_folder}
\alias{creat_folder}
\title{Create Nested Output Folders}
\usage{
creat_folder(f1, f2 = NULL, f3 = NULL, return = NULL)
}
\arguments{
\item{f1}{Character. First-level folder name.}

\item{f2}{Character or `NULL`. Second-level folder name. Default is `NULL`.}

\item{f3}{Character or `NULL`. Third-level folder name. Default is `NULL`.}

\item{return}{Deprecated (not used). Kept for backward compatibility.}
}
\value{
List with elements:
\describe{
  \item{folder_name}{Relative path to the created folder}
  \item{abspath}{Absolute path ending with '/'}
}
}
\description{
Creates one to three nested folders (if not existing) under the current
working directory and returns their names and absolute paths.
}
\examples{
creat_folder(file.path(tempdir(), "1-result"))
creat_folder(file.path(tempdir(), "1-result"), "figures", "correlation")
}
