Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
remove use of `drop=FALSE` in wrong place
  • Loading branch information
grlloyd committed Jul 1, 2024
1 parent b7a25b2 commit 99fcb56
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Description: This package provides functions for interfacing with the
MultiAssayExperiment are also included.
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Collate:
'parse_fcns.R'
'generics.R'
Expand Down
2 changes: 1 addition & 1 deletion R/class_def.R
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ setMethod(f = 'do_query',
fq$count=NULL

SM=df[,colnames(fq),drop=FALSE]
df[,colnames(fq),drop=FALSE]=NULL
df[,colnames(fq)]=NULL

df=as.data.frame(t(df))
VM=data.frame(feature_id=rownames(df))
Expand Down
15 changes: 8 additions & 7 deletions R/metabolomicsWorkbenchR.R
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
#' metabolomicsWorkbenchR
#'
#' This package provides an interface to the Metabolomics Workbench API. It can
#' be used to query the Metabolomics Workbench for study, compound, protein,
#' gene information and more. All endpoints of the API are available via a
#' This package provides an interface to the Metabolomics Workbench API. It can
#' be used to query the Metabolomics Workbench for study, compound, protein,
#' gene information and more. All endpoints of the API are available via a
#' simple \code{do_query} method. A number of convenience functions are included
#' to import study data as \code{SummarizedExperiment} objects to facilitate use
#' within R and the Bioconductor community.
#' @docType package
#' @name metabolomicsWorkbenchR
#' @seealso
#' @seealso
#' \itemize{
#' \item \code{\link{do_query}} for a simple example.
#' \item \code{browseVignettes("metabolomicsWorkbenchR")} for more info.
#' \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php}
#' \item Visit \url{https://www.metabolomicsworkbench.org/tools/mw_rest.php}
#' for details of the API.
#' }
#'
#' @keywords internal
"_PACKAGE"

NULL
## NULL
19 changes: 15 additions & 4 deletions man/metabolomicsWorkbenchR.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99fcb56

Please sign in to comment.