ghdc/functions/copyBib.R
2024-10-23 16:30:58 +08:00

15 lines
357 B
R

#' copyBib()
#' @param toDIR the directory .
#' @param bibfile the citation file.
#' @return the directory
#' @export
copyBib <- function(toDIR, bibfile = 'functions/citation.bib'){
caller = as.character( deparse(sys.call()) )
writelog(msg=caller, caller = caller)
file.copy(from = bibfile, toDIR)
writelog(msg='Finished', caller = caller)
}