Skip to content

Commit

Permalink
mkdir -> fs::dir_create
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis authored and sigven committed Jun 14, 2024
1 parent 437936a commit f5e500e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 28 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export(generate_cpsr_report)
export(get_insilico_prediction_statistics)
export(get_max_rows_pr_datatable)
export(load_germline_snv_indel)
export(mkdir)
export(plot_summary_statistics)
export(plot_virtual_panels)
export(retrieve_secondary_calls)
Expand Down
13 changes: 0 additions & 13 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -314,16 +314,3 @@ check_variant2cancer_phenotype <- function(cpg_calls, ref_data) {
}
return(cpg_calls)
}

#' Create directory
#'
#' @param d Directory to create.
#'
#' @export
mkdir <- function(d) {
if (!dir.exists(d)) {
dir.create(d, recursive = TRUE)
}
TRUE
}

1 change: 1 addition & 0 deletions R/utils_shortcuts.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ utils::globalVariables(c("."))
#' @noRd
dummy1 <- function() {
# Solves R CMD check: Namespaces in Imports field not imported from
glue::glue
DT::datatable
htmltools::br
shiny::bootstrapPage
Expand Down
14 changes: 0 additions & 14 deletions man/mkdir.Rd

This file was deleted.

0 comments on commit f5e500e

Please sign in to comment.