mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2025-09-12 18:09:39 +02:00
22 lines
436 B
Text
22 lines
436 B
Text
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/helpers.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"))
|
||
|
}
|