mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-22 05:20:23 +01:00
22 lines
433 B
R
22 lines
433 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/utils.r
|
|
\name{file_extension}
|
|
\alias{file_extension}
|
|
\title{Helper to import files correctly}
|
|
\usage{
|
|
file_extension(filenames)
|
|
}
|
|
\arguments{
|
|
\item{filenames}{file names}
|
|
}
|
|
\value{
|
|
character vector
|
|
}
|
|
\description{
|
|
Helper to import files correctly
|
|
}
|
|
\examples{
|
|
file_extension(list.files(here::here(""))[[2]])[[1]]
|
|
file_extension(c("file.cd..ks","file"))
|
|
}
|