Skip to content

Commit

Permalink
Update name
Browse files Browse the repository at this point in the history
  • Loading branch information
gdower committed Feb 14, 2024
1 parent 1e1ef86 commit 631d45c
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 53 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Install the package dependencies:
install.packages('devtools', 'roxygen2', 'profvis', 'httr2', 'vcr')
```

Install the development version of the RTaxonWorks package:
Install the development version of the rtaxonworks package:
```{r eval=FALSE}
remotes::install_github("SpeciesFileGroup/RTaxonWorks")
remotes::install_github("SpeciesFileGroup/rtaxonworks")
```


Expand Down
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Package: RTaxonWorks
Package: rtaxonworks
Type: Package
Title: TaxonWorks Client
Description: Client for TaxonWorks
Expand All @@ -11,9 +11,9 @@ Authors@R: c(person("Geoff", "Ower", role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-9770-2345")),
person(given = "Species File Group", role = "fnd", comment = "https://speciesfilegroup.org/"))
License: MIT + file LICENSE
URL: https://docs.ropensci.org/rtaxonworks/ (docs), https://github.com/SpeciesFileGroup/RTaxonWorks
BugReports: https://github.com/SpeciesFileGroup/RTaxonWorks/issues
License: NCSA
URL: https://docs.ropensci.org/rtaxonworks/ (docs), https://github.com/SpeciesFileGroup/rtaxonworks
BugReports: https://github.com/SpeciesFileGroup/rtaxonworks/issues
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
Language: en-US
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Copyright © 2023 Species File Group. All rights reserved.

Developed by: Species File Group
Illinois Natural History Survey
https://github.com/SpeciesFileGroup/RTaxonWorks
https://github.com/SpeciesFileGroup/rtaxonworks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ Copyright © 2023 Species File Group. All rights reserved.

Developed by: Species File Group
Illinois Natural History Survey
https://github.com/SpeciesFileGroup/RTaxonWorks
https://github.com/SpeciesFileGroup/rtaxonworks

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution.
Neither the names of <Name of Development Group, Name of Institution>, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
Neither the names of Species File Group, Illinois Natural History Survey, Prairie Research Institute, University of Illinois, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test:

vign:
cd vignettes;\
${RSCRIPT} -e "Sys.setenv(NOT_CRAN='true'); knitr::knit('RTaxonWorks.Rmd.og', output = 'RTaxonWorks.Rmd')";\
${RSCRIPT} -e "Sys.setenv(NOT_CRAN='true'); knitr::knit('rtaxonworks.Rmd.og', output = 'rtaxonworks.Rmd')";\
cd ..

# update api spec and params in functions
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RTaxonWorks 0.0.1
rtaxonworks 0.0.1
==========

### NEW FEATURES
Expand Down
2 changes: 1 addition & 1 deletion R/http.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ serialize <- function(params) {
tw_ua <- function(on_gh_actions = FALSE) {
versions <- c(paste0("r-curl/", utils::packageVersion("curl")),
paste0("httr2/", utils::packageVersion("httr2")),
sprintf("SpeciesFileGroup(RTaxonWorks/%s)", utils::packageVersion("RTaxonWorks")))
sprintf("SpeciesFileGroup(rtaxonworks/%s)", utils::packageVersion("rtaxonworks")))
if (on_gh_actions) versions <- c(versions, "GitHub Actions")
paste0(versions, collapse = " ")
}
Expand Down
6 changes: 3 additions & 3 deletions R/RTaxonWorks-package.R → R/rtaxonworks-package.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#' @title RTaxonWorks
#' @title rtaxonworks
#' @description TaxonWorks Client
#' @note TW API docs: https://api.taxonworks.org/
#' @importFrom httr2 request req_perform resp_body_json
#' @importFrom tibble tibble
#' @importFrom jsonlite fromJSON
#' @importFrom data.table setDF rbindlist
#' @name RTaxonWorks-package
#' @aliases RTaxonWorks
#' @name rtaxonworks-package
#' @aliases rtaxonworks
#' @docType package
#' @keywords package
#' @author Geoff Ower
22 changes: 11 additions & 11 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RTaxonWorks
rtaxonworks
====

```{r echo=FALSE}
Expand All @@ -13,12 +13,12 @@ knitr::opts_chunk$set(
<!-- README.md is generated from README.Rmd. Please edit that file -->

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![cran checks](https://cranchecks.info/badges/worst/RTaxonWorks)](https://cranchecks.info/pkgs/RTaxonWorks)
[![R-CMD-check](https://github.com/SpeciesFileGroup/RTaxonWorks/workflows/R-CMD-check/badge.svg)](https://github.com/SpeciesFileGroup/RTaxonWorks/actions)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/RTaxonWorks)](https://github.com/r-hub/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/RTaxonWorks)](https://cran.r-project.org/package=RTaxonWorks)
[![cran checks](https://cranchecks.info/badges/worst/rtaxonworks)](https://cranchecks.info/pkgs/rtaxonworks)
[![R-CMD-check](https://github.com/SpeciesFileGroup/rtaxonworks/workflows/R-CMD-check/badge.svg)](https://github.com/SpeciesFileGroup/rtaxonworks/actions)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/rtaxonworks)](https://github.com/r-hub/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/rtaxonworks)](https://cran.r-project.org/package=rtaxonworks)

`RTaxonWorks` is an R client for the [TaxonWorks](https://taxonworks.org) API. Code follow the spirit/approach of the Gem [rcol](https://github.com/sckott/rcol), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).
`rtaxonworks` is an R client for the [TaxonWorks](https://taxonworks.org) API. Code follow the spirit/approach of the Gem [rcol](https://github.com/sckott/rcol), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).


Package documentation: https://docs.taxonworks.org/r
Expand All @@ -31,28 +31,28 @@ Package documentation: https://docs.taxonworks.org/r
## Installation

```{r eval=FALSE}
install.packages("RTaxonWorks")
install.packages("rtaxonworks")
```

Load the package
```{r}
library("RTaxonWorks")
library("rtaxonworks")
```

Dev version

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/RTaxonWorks. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/CODE_OF_CONDUCT.md).
Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/rtaxonworks. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/CODE_OF_CONDUCT.md).

## Development

Please read the [CONTRIBUTING guide](CONTRIBUTING.md) for instructions on how to install the development version.

## License

The gem is available as open source under the terms of the [NCSA/Illinois](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/LICENSE.txt) license. You can learn more about the NCSA license on [Wikipedia](https://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License) and compare it with other open source licenses at the [Open Source Initiative](https://opensource.org/license/uoi-ncsa-php/).
The gem is available as open source under the terms of the [NCSA/Illinois](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/LICENSE.txt) license. You can learn more about the NCSA license on [Wikipedia](https://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License) and compare it with other open source licenses at the [Open Source Initiative](https://opensource.org/license/uoi-ncsa-php/).

## Code of Conduct

Everyone interacting in the RTaxonWorks project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/CODE_OF_CONDUCT.md).
Everyone interacting in the rtaxonworks project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/CODE_OF_CONDUCT.md).
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
RTaxonWorks
rtaxonworks
====



<!-- README.md is generated from README.Rmd. Please edit that file -->

[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![cran checks](https://cranchecks.info/badges/worst/RTaxonWorks)](https://cranchecks.info/pkgs/RTaxonWorks)
[![R-CMD-check](https://github.com/SpeciesFileGroup/RTaxonWorks/workflows/R-CMD-check/badge.svg)](https://github.com/SpeciesFileGroup/RTaxonWorks/actions)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/RTaxonWorks)](https://github.com/r-hub/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/RTaxonWorks)](https://cran.r-project.org/package=RTaxonWorks)
[![cran checks](https://cranchecks.info/badges/worst/rtaxonworks)](https://cranchecks.info/pkgs/rtaxonworks)
[![R-CMD-check](https://github.com/SpeciesFileGroup/rtaxonworks/workflows/R-CMD-check/badge.svg)](https://github.com/SpeciesFileGroup/rtaxonworks/actions)
[![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/rtaxonworks)](https://github.com/r-hub/cranlogs.app)
[![cran version](https://www.r-pkg.org/badges/version/rtaxonworks)](https://cran.r-project.org/package=rtaxonworks)

`RTaxonWorks` is an R client for the [TaxonWorks](https://taxonworks.org) API. Code follow the spirit/approach of the Gem [rcol](https://github.com/sckott/rcol), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).
`rtaxonworks` is an R client for the [TaxonWorks](https://taxonworks.org) API. Code follow the spirit/approach of the Gem [rcol](https://github.com/sckott/rcol), and indeed much of the wrapping utility is copied 1:1 from that repo, thanks [@sckott](https://github.com/sckott).


Package documentation: https://docs.taxonworks.org/r
Expand All @@ -25,29 +25,30 @@ Package documentation: https://docs.taxonworks.org/r


```r
install.packages("RTaxonWorks")
install.packages("rtaxonworks")
```

Load the package

```r
library("RTaxonWorks")
library("rtaxonworks")
#> Error in library("rtaxonworks"): there is no package called 'rtaxonworks'
```

Dev version

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/RTaxonWorks. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/CODE_OF_CONDUCT.md).
Bug reports and pull requests are welcome on GitHub at https://github.com/SpeciesFileGroup/rtaxonworks. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/CODE_OF_CONDUCT.md).

## Development

Please read the [CONTRIBUTING guide](CONTRIBUTING.md) for instructions on how to install the development version.

## License

The gem is available as open source under the terms of the [NCSA/Illinois](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/LICENSE.txt) license. You can learn more about the NCSA license on [Wikipedia](https://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License) and compare it with other open source licenses at the [Open Source Initiative](https://opensource.org/license/uoi-ncsa-php/).
The gem is available as open source under the terms of the [NCSA/Illinois](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/LICENSE.txt) license. You can learn more about the NCSA license on [Wikipedia](https://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License) and compare it with other open source licenses at the [Open Source Initiative](https://opensource.org/license/uoi-ncsa-php/).

## Code of Conduct

Everyone interacting in the RTaxonWorks project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/SpeciesFileGroup/RTaxonWorks/blob/main/CODE_OF_CONDUCT.md).
Everyone interacting in the rtaxonworks project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/SpeciesFileGroup/rtaxonworks/blob/main/CODE_OF_CONDUCT.md).
12 changes: 6 additions & 6 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"http://schema.org"
],
"@type": "SoftwareSourceCode",
"identifier": "RTaxonWorks",
"identifier": "rtaxonworks",
"description": "Client for TaxonWorks\n (<https://www.taxonworks.org/>); a web application for managing biodiversity data, in particular taxonomic data. TaxonWorks is a Rails application, and this package provides an R interface to the TaxonWorks API.",
"name": "RTaxonWorks: TaxonWorks Client",
"codeRepository": "https://github.com/SpeciesFileGroup/RTaxonWorks",
"name": "rtaxonworks: TaxonWorks Client",
"codeRepository": "https://github.com/SpeciesFileGroup/rtaxonworks",
"relatedLink": "https://api.taxonworks.org",
"issueTracker": "https://github.com/SpeciesFileGroup/RTaxonWorks/issues",
"issueTracker": "https://github.com/SpeciesFileGroup/rtaxonworks/issues",
"license": "https://spdx.org/licenses/NCSA",
"version": "0.0.1",
"programmingLanguage": {
Expand Down Expand Up @@ -135,8 +135,8 @@
"applicationCategory": "Biology",
"isPartOf": "https://taxonworks.org",
"keywords": ["biology", "science", "API", "web", "api-client", "taxonomy", "species", "rstats", "r"],
"releaseNotes": "https://github.com/SpeciesFileGroup/RTaxonWorks/blob/master/NEWS.md",
"readme": "https://github.com/SpeciesFileGroup/RTaxonWorks/blob/master/README.md",
"releaseNotes": "https://github.com/SpeciesFileGroup/rtaxonworks/blob/master/NEWS.md",
"readme": "https://github.com/SpeciesFileGroup/rtaxonworks/blob/master/README.md",
"fileSize": "212.515KB",
"provider": {
"@id": "https://cran.r-project.org",
Expand Down
10 changes: 5 additions & 5 deletions vignettes/RTaxonWorks.Rmd → vignettes/rtaxonworks.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "RTaxonWorks"
title: "rtaxonworks"
author: "Geoff Ower"
date: "2024-02-12"
output:
Expand All @@ -8,14 +8,14 @@ output:
toc_float: true
theme: readable
vignette: >
%\VignetteIndexEntry{Introduction to RTaxonWorks}
%\VignetteIndexEntry{Introduction to rtaxonworks}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---



`RTaxonWorks` is a R client for the TaxonWorks API
`rtaxonworks` is a R client for the TaxonWorks API

Package documentation: https://docs.taxonworks.org/r

Expand All @@ -31,10 +31,10 @@ The following are a few examples.


```r
remotes::install_github("SpeciesFileGroup/RTaxonWorks")
remotes::install_github("SpeciesFileGroup/rtaxonworks")
```


```r
library("RTaxonWorks")
library("rtaxonworks")
```
10 changes: 5 additions & 5 deletions vignettes/RTaxonWorks.Rmd.og → vignettes/rtaxonworks.Rmd.og
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "RTaxonWorks"
title: "rtaxonworks"
author: "Geoff Ower"
date: "`r Sys.Date()`"
output:
Expand All @@ -8,7 +8,7 @@ output:
toc_float: true
theme: readable
vignette: >
%\VignetteIndexEntry{Introduction to RTaxonWorks}
%\VignetteIndexEntry{Introduction to rtaxonworks}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand All @@ -20,7 +20,7 @@ knitr::opts_chunk$set(
)
```

`RTaxonWorks` is a R client for the TaxonWorks API
`rtaxonworks` is a R client for the TaxonWorks API

Package documentation: https://docs.taxonworks.org/r

Expand All @@ -35,9 +35,9 @@ The following are a few examples.
## Installation

```{r eval=FALSE}
remotes::install_github("SpeciesFileGroup/RTaxonWorks")
remotes::install_github("SpeciesFileGroup/rtaxonworks")
```

```{r}
library("RTaxonWorks")
library("rtaxonworks")
```

0 comments on commit 631d45c

Please sign in to comment.