Commit c2d005ab authored by Holger Brandl's avatar Holger Brandl

updated todos

parent ac9c0bef
......@@ -121,6 +121,8 @@ unlen <- function(x) length(unique(x))
pp <- function(dat) page(dat, method = "print")
# TODO .Deprecated and .Defunct (see http://ropensci.org/blog/technotes/2017/01/05/package-evolution)
as.df <- function(dt){ warning("DEPRECATED: use as_df instead of as.df"); as.data.frame(dt) }
as_df <- function(dt) as.data.frame(dt)
......@@ -525,9 +527,9 @@ table_browser <- function(df, caption=deparse(substitute(df)), ...){
datatable(df, filter = "bottom", extensions = 'Buttons', options = list( dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel')), caption=caption,...)
}
#prj_name = "env_data_prep"
prj_file = function(filename) {
## prefix a name with a project-prefix. Requires that prj_name to be defined
file.path(dirname(filename), paste0(prj_name, ".", basename(filename)))
#results_prefix = "env_data_prep"
add_prefix = function(filename) {
## prefix a name with a project-prefix. Requires that results_prefix to be defined
file.path(dirname(filename), paste0(results_prefix, ".", basename(filename)))
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment