Skip to content

Commit

Permalink
Update default import to Zenodo release v1.2.2 (#62)
Browse files Browse the repository at this point in the history
* Lower nrows requirement in test
* Update default import to release v1.2.2
* Bump version, update NEWS
  • Loading branch information
jwokaty authored Oct 27, 2024
1 parent b973847 commit df8436c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: bugsigdbr
Version: 1.11.3
Version: 1.11.4
Title: R-side access to published microbial signatures from BugSigDB
Authors@R: c(
person(given = "Ludwig",
Expand Down Expand Up @@ -38,4 +38,4 @@ License: GPL-3
VignetteBuilder: knitr
biocViews: DataImport, GeneSetEnrichment, Metagenomics, Microbiome
Encoding: UTF-8
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# bugsigdbr

## Changes in version 1.11.4

* Update stable release version for data on Zenodo

## Changes in version 1.8.2

* Uniform first-letter capitalization for Body site and Condition terms
Expand Down
6 changes: 5 additions & 1 deletion R/bugsigdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
#' Latest version (incl. not reviewed content):
#' \url{https://github.com/waldronlab/BugSigDBExports}
#'
#' Release v1.2.2: \url{https://zenodo.org/records/13997429}
#'
#' Release v1.2.1: \url{https://zenodo.org/records/10627578}
#'
#' Release v1.2.0: \url{https://zenodo.org/records/10407666}
#'
#' Release v1.1.0: \url{https://zenodo.org/records/6468009}
Expand All @@ -59,7 +63,7 @@
#' df <- importBugSigDB()
#'
#' @export
importBugSigDB <- function(version = "10.5281/zenodo.10627578", cache = TRUE)
importBugSigDB <- function(version = "10.5281/zenodo.13997429", cache = TRUE)
{
version <- tolower(version)

Expand Down
6 changes: 5 additions & 1 deletion man/importBugSigDB.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-importBugSigDB.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test_that("importBugSigDB from Zenodo", {
test_that("importBugSigDB from the edge (devel)", {
bsdb <- bugsigdbr::importBugSigDB(version = "devel", cache = FALSE)
url <- "https://tinyurl.com/3nvzm3fx"
checkImport(bsdb, url, nrows = 5500)
checkImport(bsdb, url, nrows = 5450)
})

test_that("importBugSigDB from github hash", {
Expand Down

0 comments on commit df8436c

Please sign in to comment.