Skip to content

Commit

Permalink
Fix build (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman authored Feb 27, 2024
1 parent 5219585 commit f148543
Show file tree
Hide file tree
Showing 11 changed files with 96 additions and 78 deletions.
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
^.*\.Rproj$
^\.Rproj\.user$
^_pkgdown\.yml$
^docs$
^pkgdown$
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ po/*~

# RStudio Connect folder
rsconnect/
docs
2 changes: 1 addition & 1 deletion R/HoloFoodR.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' details on the JSONAPI implementation.
#'
#' @name HoloFoodR-package
#' @docType _PACKAGE
#' @docType package
#' @seealso
#' \link[SummarizedExperiment:SummarizedExperiment-class]{SummarizedExperiment}
#' \link[MultiAssayExperiment:MultiAssayExperiment-class]{MultiAssaySummarizedExperiment}
Expand Down
32 changes: 16 additions & 16 deletions R/doQuery.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@
#'
#' @param ... optional arguments:
#' \itemize{
#'
#' \item{\code{max.hits}: }{\code{NULL} or \code{integer scalar} specifying the
#'
#' \item \code{max.hits}: \code{NULL} or \code{integer scalar} specifying the
#' maximum number of results to fetch. When NULL, all results are fetched.
#' (Default: \code{NULL})}
#'
#' \item{\code{spread.sample.types}: }{\code{Logical scalar} specifying whether
#' (Default: \code{NULL})
#'
#' \item \code{spread.sample.types}: \code{Logical scalar} specifying whether
#' to create spread sample types column of animals data. In animals data,
#' sample types column might have multiple values that might be hard to
#' explore. This argument specifies whether to create presence/absence table
#' from sample types. (Default: \code{TRUE})}
#'
#' \item{\code{use.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#' \item{\code{cache.dir}: }{\code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})}
#'
#' \item{\code{clear.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#' from sample types. (Default: \code{TRUE})
#'
#' \item \code{use.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' \item \code{cache.dir}: \code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})
#'
#' \item \code{clear.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' }
#'
#' @return \code{data.frame}
Expand Down
26 changes: 13 additions & 13 deletions R/getData.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@
#'
#' @param ... optional arguments:
#' \itemize{
#'
#' \item{\code{max.hits}: }{\code{NULL} or \code{integer scalar} specifying the
#'
#' \item \code{max.hits}: \code{NULL} or \code{integer scalar} specifying the
#' maximum number of results to fetch. When NULL, all results are fetched.
#' (Default: \code{NULL})}
#'
#' \item{\code{use.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#' \item{\code{cache.dir}: }{\code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})}
#'
#' \item{\code{clear.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#' (Default: \code{NULL})
#'
#' \item \code{use.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' \item \code{cache.dir}: \code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})
#'
#' \item \code{clear.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' }
#'
#' @return \code{list} or \code{data.frame}
Expand Down
20 changes: 10 additions & 10 deletions R/getResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
#'
#' @param ... optional arguments:
#' \itemize{
#'
#' \item{\code{use.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#' \item{\code{cache.dir}: }{\code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})}
#'
#' \item{\code{clear.cache}: }{\code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})}
#'
#'
#' \item \code{use.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' \item \code{cache.dir}: \code{Character scalar} specifying cache directory.
#' (Default: \code{tempdir()})
#'
#' \item \code{clear.cache}: \code{Logical scalar} specifying whether to
#' use.cache (Default: \code{FALSE})
#'
#' }
#'
#' @return \code{MultiAssayExperiment}
Expand Down
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
url: ~
template:
bootstrap: 5

12 changes: 11 additions & 1 deletion man/HoloFoodR-package.Rd

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

30 changes: 15 additions & 15 deletions man/doQuery.Rd

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

24 changes: 12 additions & 12 deletions man/getData.Rd

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

20 changes: 10 additions & 10 deletions man/getResult.Rd

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

0 comments on commit f148543

Please sign in to comment.