Skip to content

Commit

Permalink
fixed names in .Deprecated statements
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Sep 28, 2024
1 parent ee7e7c3 commit 87bbeb5
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions R/annotations.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ annotations <- function(proteins = NULL, wide = FALSE, ...){
#'
#' @noRd
import_omnipath_annotations <- function(...){
.Deprecated('import_omnipath_annotations')
.Deprecated('annotations')
annotations(...)
}

Expand Down Expand Up @@ -216,7 +216,7 @@ annotation_resources <- function(dataset = NULL, ...){
#'
#' @noRd
get_annotation_resources <- function(...){
.Deprecated('get_annotation_resources')
.Deprecated('annotation_resources')
annotation_resources(...)
}

Expand Down
4 changes: 2 additions & 2 deletions R/complexes.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ complexes <- function(...){
#'
#' @noRd
import_omnipath_complexes <- function(...){
.Deprecated('import_omnipath_complexes')
.Deprecated('complexes')
complexes(...)
}

Expand Down Expand Up @@ -96,6 +96,6 @@ complex_resources <- function(dataset = NULL){
#'
#' @noRd
get_complex_resources <- function(...){
.Deprecated('get_complex_resources')
.Deprecated('complex_resources')
complex_resources(...)
}
2 changes: 1 addition & 1 deletion R/complexes_genes.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ complex_genes <- function(
#'
#' @noRd
get_complex_genes <- function(...){
.Deprecated('get_complex_genes')
.Deprecated('complex_genes')
complex_genes(...)
}
4 changes: 2 additions & 2 deletions R/enz_sub.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ enzyme_substrate <- function(...){
#'
#' @noRd
import_omnipath_enzsub <- function(...){
.Deprecated('import_omnipath_enzsub')
.Deprecated('enzyme_substrate')
enzyme_substrate(...)
}

Expand Down Expand Up @@ -104,7 +104,7 @@ enzsub_resources <- function(dataset = NULL){
#'
#' @noRd
get_enzsub_resources <- function(...){
.Deprecated('get_enzsub_resources')
.Deprecated('enzsub_resources')
enzsub_resources(...)
}

Expand Down
28 changes: 14 additions & 14 deletions R/interactions.R
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ omnipath_interactions <- function(...){
#'
#' @noRd
import_omnipath_interactions <- function(...){
.Deprecated('import_omnipath_interactions')
.Deprecated('omnipath_interactions')
omnipath_interactions(...)
}

Expand Down Expand Up @@ -238,7 +238,7 @@ pathwayextra <- function(...){
#'
#' @noRd
import_pathwayextra_interactions <- function(...){
.Deprecated('import_pathwayextra_interactions')
.Deprecated('pathwayextra')
pathwayextra(...)
}

Expand Down Expand Up @@ -284,7 +284,7 @@ kinaseextra <- function(...){
#'
#' @noRd
import_kinaseextra_interactions <- function(...){
.Deprecated('import_kinaseextra_interactions')
.Deprecated('kinaseextra')
kinaseextra(...)
}

Expand Down Expand Up @@ -329,7 +329,7 @@ ligrecextra <- function(...){
#'
#' @noRd
import_ligrecextra_interactions <- function(...){
.Deprecated('import_ligrecextra_interactions')
.Deprecated('ligrecextra')
ligrecextra(...)
}

Expand Down Expand Up @@ -370,7 +370,7 @@ post_translational <- function(...){
#'
#' @noRd
import_post_translational_interactions <- function(...){
.Deprecated('import_post_translational_interactions')
.Deprecated('post_translational')
post_translational(...)
}

Expand Down Expand Up @@ -428,7 +428,7 @@ dorothea <- function(dorothea_levels = c('A', 'B'), ...){
#'
#' @noRd
import_dorothea_interactions <- function(...){
.Deprecated('import_dorothea_interactions')
.Deprecated('dorothea')
dorothea(...)
}

Expand Down Expand Up @@ -474,7 +474,7 @@ tf_target <- function(...){
#'
#' @noRd
import_tf_target_interactions <- function(...){
.Deprecated('import_tf_target_interactions')
.Deprecated('tf_target')
tf_target(...)
}

Expand Down Expand Up @@ -524,7 +524,7 @@ transcriptional <- function(dorothea_levels = c('A', 'B'), ...){
#'
#' @noRd
import_transcriptional_interactions <- function(...){
.Deprecated('import_transcriptional_interactions')
.Deprecated('transcriptional')
transcriptional(...)
}

Expand Down Expand Up @@ -599,7 +599,7 @@ mirna_target <- function(...){
#'
#' @noRd
import_mirnatarget_interactions <- function(...){
.Deprecated('import_mirnatarget_interactions')
.Deprecated('mirna_target')
mirna_target(...)
}

Expand Down Expand Up @@ -642,7 +642,7 @@ tf_mirna <- function(...){
#'
#' @noRd
import_tf_mirna_interactions <- function(...){
.Deprecated('import_tf_mirna_interactions')
.Deprecated('tf_mirna')
tf_mirna(...)
}

Expand Down Expand Up @@ -685,7 +685,7 @@ lncrna_mrna <- function(...){
#'
#' @noRd
import_lncrna_mrna_interactions <- function(...){
.Deprecated('import_lncrna_mrna_interactions')
.Deprecated('lncrna_mrna')
lncrna_mrna(...)
}

Expand Down Expand Up @@ -732,7 +732,7 @@ small_molecule <- function(...){
#'
#' @noRd
import_small_molecule_protein_interactions <- function(...){
.Deprecated('import_small_molecule_protein_interactions')
.Deprecated('small_molecule')
small_molecule(...)
}

Expand Down Expand Up @@ -802,7 +802,7 @@ all_interactions <- function(
#'
#' @noRd
import_all_interactions <- function(...){
.Deprecated('import_all_interactions')
.Deprecated('all_interactions')
all_interactions(...)
}

Expand Down Expand Up @@ -853,7 +853,7 @@ interaction_resources <- function(dataset = NULL){
#'
#' @noRd
get_interaction_resources <- function(...){
.Deprecated('get_interaction_resources')
.Deprecated('interaction_resources')
interaction_resources(...)
}

Expand Down
10 changes: 5 additions & 5 deletions R/intercell.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ intercell <- function(
#'
#' @noRd
import_omnipath_intercell <- function(...){
.Deprecated('import_omnipath_intercell')
.Deprecated('intercell')
intercell(...)
}

Expand Down Expand Up @@ -350,7 +350,7 @@ intercell_resources <- function(dataset = NULL){
#'
#' @noRd
get_intercell_resources <- function(...){
.Deprecated('get_intercell_resources')
.Deprecated('intercell_resources')
intercell_resources(...)
}

Expand Down Expand Up @@ -665,7 +665,7 @@ intercell_network <- function(
#'
#' @noRd
import_intercell_network <- function(...){
.Deprecated('import_intercell_network')
.Deprecated('intercell_network')
intercell_network(...)
}

Expand Down Expand Up @@ -1261,7 +1261,7 @@ intercell_categories <- function(){
#'
#' @noRd
get_intercell_categories <- function(...){
.Deprecated('get_intercell_categories')
.Deprecated('intercell_categories')
intercell_categories(...)
}

Expand Down Expand Up @@ -1325,7 +1325,7 @@ intercell_generic_categories <- function(){
#'
#' @noRd
get_intercell_generic_categories <- function(...){
.Deprecated('get_intercell_generic_categories')
.Deprecated('intercell_generic_categories')
intercell_generic_categories(...)
}

Expand Down
2 changes: 1 addition & 1 deletion R/resources.R
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ resources <- function(
#'
#' @noRd
get_resources <- function(...){
.Deprecated('get_resources')
.Deprecated('resources')
resources(...)
}

Expand Down

0 comments on commit 87bbeb5

Please sign in to comment.