diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 271d466..a3ac618 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -1,4 +1,4 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/master/examples +# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: config: - - {os: macOS-latest, r: 'release'} + - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} @@ -29,18 +29,21 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v1 + - uses: r-lib/actions/setup-r@v2 with: r-version: ${{ matrix.config.r }} http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v1 + - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: rcmdcheck + extra-packages: any::rcmdcheck + needs: check - - uses: r-lib/actions/check-r-package@v1 + - uses: r-lib/actions/check-r-package@v2 + with: + upload-snapshots: true diff --git a/DESCRIPTION b/DESCRIPTION index 410ee9a..e4dcc0d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: GNapi -Version: 0.3-7 -Date: 2022-10-25 +Version: 0.3-8 +Date: 2023-07-26 Title: Connection to the GeneNetwork API Description: Tools for connecting to the GeneNetwork API. Author: Karl W Broman [aut, cre] () @@ -26,5 +26,5 @@ LazyData: true Encoding: UTF-8 ByteCompile: true VignetteBuilder: knitr -RoxygenNote: 7.2.1 +RoxygenNote: 7.2.3 Roxygen: list(markdown=TRUE) diff --git a/NEWS.md b/NEWS.md index 1f6ce9d..1900a47 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,13 @@ +## GNapi 0.3-8 (2023-07-26) + +### Minor changes + +- Updated URL for GeneNetwork API + +- Remove an example from the vignette that no longer works: + "get the information for a specific group," `list_groups("rat", "HSNIH-Palmer")` + + ## GNapi 0.3-7 (2022-10-25) ### Bug fixes diff --git a/R/gnapi_url.R b/R/gnapi_url.R index 3e6db34..bc670ea 100644 --- a/R/gnapi_url.R +++ b/R/gnapi_url.R @@ -10,5 +10,5 @@ #' @export gnapi_url <- function() { - "http://gn2.genenetwork.org/api/v_pre1" + "https://genenetwork.org/api/v_pre1" } diff --git a/README.md b/README.md index 1c85a08..83a3e5c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -## R/GNapi - R package to connect to the [GeneNetwork](http://gn2.genenetwork.org/) API +## R/GNapi - R package to connect to the [GeneNetwork](https://genenetwork.org/) API -[![R build status](https://github.com/rqtl/GNapi/workflows/R-CMD-check/badge.svg)](https://github.com/rqtl/GNapi/actions) +[![R-CMD-check](https://github.com/rqtl/GNapi/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/rqtl/GNapi/actions/workflows/R-CMD-check.yaml) --- @@ -24,7 +24,7 @@ Then use `remotes::install_github()` to install R/GNapi. ### Usage For an understanding of the -[GeneNetwork](http://gn2.genenetwork.org) API, see +[GeneNetwork](https://genenetwork.org) API, see [its documentation](https://github.com/genenetwork/genenetwork2/blob/testing/api_readme.md), as well as [Zachary Sloan](https://github.com/zsloan?tab=repositories)'s diff --git a/docs/GNapi.html b/docs/GNapi.html index 051afac..f203da4 100644 --- a/docs/GNapi.html +++ b/docs/GNapi.html @@ -29,23 +29,23 @@ +code{white-space: pre-wrap;} +span.smallcaps{font-variant: small-caps;} +span.underline{text-decoration: underline;} +div.column{display: inline-block; vertical-align: top; width: 50%;} +div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} +ul.task-list{list-style: none;} +