Skip to content

Commit 2131a4e

Browse files
authored
Merge pull request #432 from stitam/newrelease
Final edits before v1.3.1
2 parents c1656c5 + 5bb117d commit 2131a4e

11 files changed

Lines changed: 19 additions & 18 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description: Chemical information from around the web. This package interacts
66
ChEBI, Chemical Translation Service, ChemSpider, ETOX, Flavornet,
77
NIST Chemistry WebBook, OPSIN, PubChem, SRS, Wikidata.
88
Type: Package
9-
Version: 1.3.0
9+
Version: 1.3.1
1010
License: MIT + file LICENSE
1111
URL: https://docs.ropensci.org/webchem/, https://github.com/ropensci/webchem
1212
BugReports: https://github.com/ropensci/webchem/issues
@@ -26,7 +26,7 @@ LazyLoad: yes
2626
LazyData: yes
2727
Encoding: UTF-8
2828
Depends:
29-
R (>= 3.0)
29+
R (>= 4.1.0)
3030
Imports:
3131
xml2,
3232
httr,

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# dev
1+
# webchem 1.3.1
22

33
## BUG FIXES
44

55
* `pc_prop()` returned `NA` without much further explanation if any of the queries were not positive integers. The updated function attempts to coerce queries to positive integers, only progresses valid queries, and prints informative messages along the way if verbose messages are enabled.
66
* `srs_query()` broke because the URL was no longer working. We have updated the URL.
77
* `is.inchikey(type = "chemspider")` broke because the URL was no longer working. We have updated the URL but the function now requires an API key like all other ChemSpider functions.
8-
* `pc_prop()` failed with `properties = NULL` because the list of accepted property names had changed. The have updated the list.
8+
* `pc_prop()` failed with `properties = NULL` because the list of accepted property names had changed. We have updated the list.
99

1010
# webchem 1.3.0
1111

R/jagst.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
#' \item{value}{concentration in ug/L}
1717
#' \item{qual}{qualifier, indicating values < LOQ}
1818
#' }
19-
#' @source \url{https://udo.lubw.baden-wuerttemberg.de/public/pages/home/index.xhtml}
19+
#' @source \url{https://udo.lubw.baden-wuerttemberg.de/public/}
2020
"jagst"

R/opsin.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' OPSIN web interface
22
#'
33
#' Query the OPSIN (Open Parser for Systematic IUPAC nomenclature) web service
4-
#' \url{https://opsin.ch.cam.ac.uk/instructions.html}.
4+
#' \url{https://www.ebi.ac.uk/opsin}.
55
#'
66
#' @import jsonlite httr xml2
77
#' @import tibble

R/ping.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ping_service <-
4949
"chembl" = "https://www.ebi.ac.uk/chembl/api/data/molecule/CHEMBL1082.json",
5050
"cir" = "http://cactus.nci.nih.gov/chemical/structure/Triclosan/cas/xml",
5151
"cts" = "http://cts.fiehnlab.ucdavis.edu/service/compound/XEFQLINVKFYRCS-UHFFFAOYSA-N",
52-
"cs_web" = "http://www.chemspider.com/Chemical-Structure.5363.html",
52+
"cs_web" = "https://www.chemspider.com/Chemical-Structure.5363.html",
5353
"fn" = "http://www.flavornet.org/info/121-33-5.html",
5454
"nist" = "https://webbook.nist.gov/cgi/cbook.cgi?Name=2-hexene&Units=SI",
5555
"opsin" = "https://opsin.ch.cam.ac.uk/opsin/cyclopropane.json",

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ At least some of the data in the following sources is accesible through `webchem
4444
- [ChEBI](https://www.ebi.ac.uk/chebi/)
4545
- [Chemical Identifier Resolver (CIR)](https://cactus.nci.nih.gov/chemical/structure)
4646
- [Chemical Translation Service (CTS)](http://cts.fiehnlab.ucdavis.edu/)
47-
- [ChemSpider](http://www.chemspider.com/) (requires an [API token](https://developer.rsc.org/))
47+
- [ChemSpider](https://www.chemspider.com/) (requires an [API token](https://developer.rsc.org/))
4848
- [ETOX](http://webetox.uba.de/webETOX/index.do)
4949
- [Flavornet](http://www.flavornet.org)
5050
- [NIST](https://webbook.nist.gov) (currently gas chromatography retention indices only)
51-
- [OPSIN](http://opsin.ch.cam.ac.uk/instructions.html)
51+
- [OPSIN](https://www.ebi.ac.uk/opsin/)
5252
- [PubChem](https://pubchem.ncbi.nlm.nih.gov/)
5353
- [U.S. EPA Substance Registry Service (SRS)](https://cdxnodengn.epa.gov/cdx-srs-rest/)
5454
- [Wikidata](https://www.wikidata.org/wiki/Wikidata:WikiProject_Chemistry)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ documentation
4242
- [Chemical Identifier Resolver
4343
(CIR)](https://cactus.nci.nih.gov/chemical/structure)
4444
- [Chemical Translation Service (CTS)](http://cts.fiehnlab.ucdavis.edu/)
45-
- [ChemSpider](http://www.chemspider.com/) (requires an [API
45+
- [ChemSpider](https://www.chemspider.com/) (requires an [API
4646
token](https://developer.rsc.org/))
4747
- [ETOX](http://webetox.uba.de/webETOX/index.do)
4848
- [Flavornet](http://www.flavornet.org)
4949
- [NIST](https://webbook.nist.gov) (currently gas chromatography
5050
retention indices only)
51-
- [OPSIN](http://opsin.ch.cam.ac.uk/instructions.html)
51+
- [OPSIN](https://www.ebi.ac.uk/opsin/)
5252
- [PubChem](https://pubchem.ncbi.nlm.nih.gov/)
5353
- [U.S. EPA Substance Registry Service
5454
(SRS)](https://cdxnodengn.epa.gov/cdx-srs-rest/)

codemeta.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"codeRepository": "https://github.com/ropensci/webchem",
99
"issueTracker": "https://github.com/ropensci/webchem/issues",
1010
"license": "https://spdx.org/licenses/MIT",
11-
"version": "1.3.0",
11+
"version": "1.3.1",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",
1515
"url": "https://r-project.org"
1616
},
17-
"runtimePlatform": "R version 4.3.0 (2023-04-21)",
17+
"runtimePlatform": "R version 4.5.0 (2025-04-11)",
1818
"provider": {
1919
"@id": "https://cran.r-project.org",
2020
"@type": "Organization",
@@ -190,6 +190,7 @@
190190
"@type": "SoftwareApplication",
191191
"identifier": "vcr",
192192
"name": "vcr",
193+
"version": ">= 0.6.0",
193194
"provider": {
194195
"@id": "https://cran.r-project.org",
195196
"@type": "Organization",
@@ -204,7 +205,7 @@
204205
"@type": "SoftwareApplication",
205206
"identifier": "R",
206207
"name": "R",
207-
"version": ">= 3.0"
208+
"version": ">= 4.1.0"
208209
},
209210
"2": {
210211
"@type": "SoftwareApplication",
@@ -350,7 +351,7 @@
350351
},
351352
"SystemRequirements": null
352353
},
353-
"fileSize": "626.9KB",
354+
"fileSize": "641.472KB",
354355
"citation": [
355356
{
356357
"@type": "ScholarlyArticle",

man/jagst.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/opsin_query.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)