Skip to content

Commit 96f7667

Browse files
committed
fix cmd check issues
1 parent 2257df5 commit 96f7667

File tree

119 files changed

+813
-1469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+813
-1469
lines changed

DESCRIPTION

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Collate:
6868
'calc_rt_diff_class.R'
6969
'lcms_table_class.R'
7070
'cd_source_class.R'
71+
'chart_plot_doc.R'
7172
'rest_api_parsers.R'
7273
'rest_api_class.R'
7374
'classyfire_lookup_class.R'
@@ -94,6 +95,7 @@ Collate:
9495
'kegg_lookup_class.R'
9596
'lipidmaps_lookup_class.R'
9697
'ls_source_class.R'
98+
'model_apply_doc.R'
9799
'mspurity_source_class.R'
98100
'mwb_compound_lookup_class.R'
99101
'mwb_refmet_database_class.R'

LICENSE

Lines changed: 0 additions & 674 deletions
This file was deleted.

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ exportMethods(model_apply)
9898
exportMethods(read_database)
9999
exportMethods(read_source)
100100
exportMethods(required_cols)
101-
exportMethods(show)
102101
exportMethods(vertical_join)
103102
exportMethods(write_database)
104103
import(cowplot, except = theme_map)
@@ -110,6 +109,7 @@ import(methods)
110109
import(rlang)
111110
import(struct)
112111
importFrom(scales,manual_pal)
112+
importFrom(stats,setNames)
113113
importFrom(utils,URLencode)
114114
importFrom(utils,capture.output)
115115
importFrom(utils,modifyList)

R/AnnotationDb_database.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ AnnotationDb_database <- function(
5454
)
5555

5656
#' @export
57+
#' @rdname read_database
5758
setMethod(
5859
f = "read_database",
5960
signature = c("AnnotationDb_database"), definition = function(obj) {

R/AnnotationDb_select_class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ AnnotationDb_select <- function(
116116
)
117117

118118

119-
120119
#' @export
120+
#' @template model_apply
121121
setMethod(
122122
f = "model_apply",
123123
signature = c("AnnotationDb_select", "annotation_source"),

R/BiocFileCache_database_class.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ BiocFileCache_database <- function(
111111
)
112112

113113
#' @export
114+
#' @rdname read_database
114115
setMethod(
115116
f = "read_database",
116117
signature = c("BiocFileCache_database"),

R/BiocFileCache_database_helpers.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#' @return TRUE if successful
2424
#' @examples
2525
#' M <- BiocFileCache_database(
26-
#' path = tempfile(),
26+
#' source = tempfile(),
2727
#' resource_name = "example",
2828
#' bfc_fun = .unzip
2929
#' )
@@ -49,7 +49,7 @@
4949
#' @return TRUE if successful
5050
#' @examples
5151
#' M <- BiocFileCache_database(
52-
#' path = tempfile(),
52+
#' source = tempfile(),
5353
#' resource_name = "example",
5454
#' bfc_fun = .cache_as_is
5555
#' )

R/CompoundDb_source_class.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ CompoundDb_source <- function(
2828
)
2929

3030
#' @export
31+
#' @template model_apply
3132
setMethod(
3233
f = "model_apply",
3334
signature = c("CompoundDb_source", "annotation_source"),

R/MTox700plus_database_class.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ MTox700plus_database <- function(
5757
name = "MTox700+ version number",
5858
description = paste0(
5959
"The version number of the MTox700+ database to import. ",
60-
"Available versions are listed here: ",
61-
'[https://github.com/michabohealthscience/MTox700plus/',
62-
'releases].',
60+
"Available versions are listed ",
61+
'\\href{https://github.com/michabohealthscience/MTox700plus/',
62+
'releases}{here}.',
6363
' `version` should match the tag of the release e.g. `"v1.0"`.',
6464
' For convenience `version = "latest"` will always retrieve ',
6565
"the most recent release. To prevent unecessary downloads ",
@@ -84,6 +84,7 @@ MTox700plus_database <- function(
8484

8585

8686
#' @export
87+
#' @rdname read_database
8788
setMethod(
8889
f = "read_database",
8990
signature = c("MTox700plus_database"), definition = function(obj) {

R/MetMashR-package.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#' @import struct
22
#' @importFrom utils URLencode modifyList read.csv stack unzip
3+
#' @importFrom stats setNames
34
#' @keywords internal
45
"_PACKAGE"
56

0 commit comments

Comments
 (0)