Skip to content

Commit 714ee90

Browse files
committed
chore: style, document, rebuild site after pcommit
1 parent 8cdc84e commit 714ee90

70 files changed

Lines changed: 9290 additions & 678 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CRAN-SUBMISSION

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Version: 1.2.1
2+
Date: 2026-04-05 15:43:43 UTC
3+
SHA: 3a2638f213df709f586abb9394338d90329a6e69

R/extr_iris.R

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,11 @@ extr_iris_ <- function(casrn = NULL,
167167
#' @keywords internal
168168
#' @noRd
169169
extr_iris_openssl_ <- function(
170-
casrn,
171-
cancer_types = c("non_cancer", "cancer"),
172-
delay = 0,
173-
verbose = TRUE) {
170+
casrn,
171+
cancer_types = c("non_cancer", "cancer"),
172+
delay = 0,
173+
verbose = TRUE
174+
) {
174175
Sys.sleep(delay)
175176
base_url <- "https://cfpub.epa.gov/ncea/iris/search/basic/?"
176177

R/extr_monograph.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
#' @export
2626
#' @examples
2727
#' \donttest{
28-
#' dat <- extr_monograph(search_type = "casrn", ids = c("105-74-8", "120-58-1"), verbose = FALSE)
29-
#' str(dat)
28+
#' dat <- extr_monograph(search_type = "casrn", ids = c("105-74-8", "120-58-1"), verbose = FALSE)
29+
#' str(dat)
3030
#'
31-
#' # Example usage for name search
32-
#' dat2 <- extr_monograph(
33-
#' search_type = "name",
34-
#' ids = c("Aloe", "Schistosoma", "Styrene"),
35-
#' verbose = FALSE
36-
#' )
37-
#' str(dat2)
31+
#' # Example usage for name search
32+
#' dat2 <- extr_monograph(
33+
#' search_type = "name",
34+
#' ids = c("Aloe", "Schistosoma", "Styrene"),
35+
#' verbose = FALSE
36+
#' )
37+
#' str(dat2)
3838
#' }
3939
extr_monograph <- function(ids,
4040
search_type = "casrn",

R/extr_pubchem.R

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,11 @@ extr_casrn_from_cid_out <- function(pubchem_ids, verbose = TRUE) {
191191
#' extr_chem_info(iupac_names = c("Formaldehyde", "Aflatoxin B1"))
192192
#' }
193193
extr_chem_info <- function(
194-
iupac_names,
195-
verbose = TRUE,
196-
domain = "compound",
197-
delay = 0) {
194+
iupac_names,
195+
verbose = TRUE,
196+
domain = "compound",
197+
delay = 0
198+
) {
198199
result <- with_graceful_exit(
199200
extr_chem_info_out,
200201
iupac_names = iupac_names,
@@ -209,10 +210,11 @@ extr_chem_info <- function(
209210

210211

211212
extr_chem_info_out <- function(
212-
iupac_names,
213-
verbose = TRUE,
214-
domain = "compound",
215-
delay = 0) {
213+
iupac_names,
214+
verbose = TRUE,
215+
domain = "compound",
216+
delay = 0
217+
) {
216218
if (base::missing(iupac_names)) {
217219
cli::cli_abort("The argument {.field {iupac_names}} is required.")
218220
}

docs/404.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/404.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Content not found. Please use links in the navbar.
2+
3+
# Page not found (404)

docs/LICENSE-text.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# License
2+
3+
YEAR: 2024
4+
COPYRIGHT HOLDER: extractox authors

docs/LICENSE.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# MIT License
2+
3+
Copyright (c) 2024 extractox authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a
6+
copy of this software and associated documentation files (the
7+
“Software”), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included
14+
in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
17+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)