Files
Rpacman/man/format_str.Rd
2023-09-28 09:44:06 +01:00

24 lines
583 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{format_str}
\alias{format_str}
\title{Re-formats a string to fix the width by padding with spaces}
\usage{
format_str(str, width = NULL, justify = "left", ...)
}
\arguments{
\item{str}{A character vector of strings to format}
\item{width}{An optional width of the string to pad to}
\item{justify}{"left" or "right" justification}
\item{...}{formattable objects}
}
\value{
A formatted (padded) character vector
}
\description{
Re-formats a string to fix the width by padding with spaces
}