% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/manifest.R
\name{ato_manifest_write}
\alias{ato_manifest_write}
\title{Write the session manifest to a file}
\usage{
ato_manifest_write(path, format = c("auto", "csv", "yaml", "json"))
}
\arguments{
\item{path}{Output file path. Extension determines format if
\code{format = "auto"}: \code{.csv} to CSV, \code{.yaml}/\code{.yml} to YAML,
\code{.json} to JSON.}

\item{format}{One of \code{"auto"} (infer from extension), \code{"csv"},
\code{"yaml"}, or \code{"json"}.}
}
\value{
Invisibly, the absolute path to the written file.
}
\description{
Writes the manifest to a file in the requested format. Call
at the end of an analysis script; commit the manifest
alongside the paper for full reproducibility.
}
\examples{
\donttest{
p <- tempfile(fileext = ".csv")
ato_manifest_clear()
ato_manifest_write(p)
}
}
\seealso{
Other reproducibility: 
\code{\link{ato_deposit_zenodo}()},
\code{\link{ato_manifest}()},
\code{\link{ato_manifest_clear}()},
\code{\link{ato_sha256}()},
\code{\link{ato_snapshot}()}
}
\concept{reproducibility}
