Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Adafede committed Aug 13, 2024
1 parent 11bb718 commit ba45084
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/get_default_paths.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import::from(yaml, read_yaml, .into = environment())
#'
#' @export
#'
#' @examples NULL
#' @examples get_default_paths()
get_default_paths <- function(yaml = system.file("extdata", "paths.yaml", package = "tima")) {
## Read the YAML file containing the paths
paths <- read_yaml(file = yaml)
Expand Down
2 changes: 1 addition & 1 deletion R/get_example_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#'
#' @export
#'
#' @examples NULL
#' @examples get_example_files(example = c("features"), in_cache = FALSE)
get_example_files <- function(example = c("features", "metadata", "sirius", "spectra"), in_cache = TRUE) {
stopifnot(
"Example files available are `features`, `hmdb_is`, `metadata`, `sirius`, `spectra` and `spectral_lib_with_rt`." =
Expand Down
7 changes: 6 additions & 1 deletion R/get_last_version_from_zenodo.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ import::from(stringi, stri_replace_all_fixed, .into = environment())
#'
#' @export
#'
#' @examples NULL
#' @examples
#' get_last_version_from_zenodo(
#' doi = "10.5281/zenodo.5794106",
#' pattern = "frozen.csv.gz",
#' path = "frozen.csv.gz"
#' )
get_last_version_from_zenodo <-
function(doi, pattern, path) {
## Remove the prefix from the DOI
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@
"SystemRequirements": null
},
"keywords": ["metaboliteannotation", "chemotaxonomy", "scoringsystem", "naturalproducts", "computationalmetabolomics", "taxonomicdistance", "specializedmetabolome"],
"fileSize": "3249.803KB",
"fileSize": "3250.19KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
2 changes: 1 addition & 1 deletion man/get_default_paths.Rd

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

2 changes: 1 addition & 1 deletion man/get_example_files.Rd

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

6 changes: 5 additions & 1 deletion man/get_last_version_from_zenodo.Rd

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

0 comments on commit ba45084

Please sign in to comment.