File: compact_character.Rd

package info (click to toggle)
r-cran-insight 0.19.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,308 kB
  • sloc: sh: 13; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_compact.R
\name{compact_character}
\alias{compact_character}
\title{Remove empty strings from character}
\usage{
compact_character(x)
}
\arguments{
\item{x}{A single character or a vector of characters.}
}
\value{
A character or a character vector with empty strings removed.
}
\description{
Remove empty strings from character
}
\examples{
compact_character(c("x", "y", NA))
compact_character(c("x", "NULL", "", "y"))

}