Skip to content

Commit

Permalink
Merge pull request #210 from januarharianto/master
Browse files Browse the repository at this point in the history
CRAN bullshit
  • Loading branch information
nicholascarey committed Jun 28, 2023
2 parents 9f688fa + c7df74a commit f29b884
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions R/adjust_rate.R
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
#' @export
#'
#' @examples
#' \donttest{
#' # Note that oxygen uptake rates are negative in respR since they represent a
#' # decrease in dissolved oxygen and negative slope. Typically both
#' # specimen rate and background rate values are negative.
Expand Down Expand Up @@ -291,6 +292,7 @@
#'
#' # Note the adjustment values applied are somewhere between the
#' # start and end background rate values
#' }

adjust_rate <- function(x, by, method = NULL, by2 = NULL,
time_x = NULL, time_by = NULL, time_by2 = NULL) {
Expand Down
2 changes: 2 additions & 0 deletions R/calc_rate.bg.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
#' @export
#'
#' @examples
#' \donttest{
#' # Inspect and calculate background rate from two columns
#' inspect(urchins.rd, time = 1, oxygen = 18:19) %>%
#' calc_rate.bg()
Expand All @@ -115,6 +116,7 @@
#' # Subset single column data first before calculating background rate
#' subset_data(background_con.rd, from = 5000, to = 20000, by = "time") %>%
#' calc_rate.bg()
#' }

calc_rate.bg <- function(x, time = NULL, oxygen = NULL, plot = TRUE, ...) {

Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
citHeader("Please cite respR using the following journal article:

Harianto, J., Carey, N. and Byrne, M. (2019). respR - An R package for the manipulation and analysis of respirometry data. Methods in Ecology and Evolution, 10(6), 912–920. doi: 10.1111/2041-210X.13162.
url: https://besjournals.onlinelibrary.wiley.com/doi/10.1111/2041-210X.13162")
url: https://doi.org/10.1111/2041-210X.13162")

bibentry(
bibtype = "Article",
Expand All @@ -12,7 +12,7 @@ bibentry(
volume = 10,
number = 6,
pages = "912-920",
url = "https://besjournals.onlinelibrary.wiley.com/doi/full/10.1111/2041-210X.13162",
url = "https://doi.org/10.1111/2041-210X.13162",
doi = "10.1111/2041-210X.13162",
textVersion = paste(

Expand Down
2 changes: 2 additions & 0 deletions man/adjust_rate.Rd

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

2 changes: 2 additions & 0 deletions man/calc_rate.bg.Rd

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

0 comments on commit f29b884

Please sign in to comment.