Skip to content

Commit

Permalink
TIL you can use \doi{} in roxygen2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Dec 15, 2023
1 parent 5c845c0 commit f1e4251
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions R/calc_vol.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#'
#' @references Donahue, N.M., Robinson, A.L., Stanier, C.O., Pandis, S.N., 2006.
#' Coupled Partitioning, Dilution, and Chemical Aging of Semivolatile Organics.
#' Environ. Sci. Technol. 40, 2635–2643. DOI: 10.1021/es052297c
#' Environ. Sci. Technol. 40, 2635–2643. \doi{10.1021/es052297c}
#'
#' Meredith L, Ledford S, Riemer K, Geffre P, Graves K, Honeker L, LeBauer D,
#' Tfaily M, Krechmer J. 2023. Automating methods for estimating metabolite
#' volatility. Frontiers in Microbiology. DOI: 10.3389/fmicb.2023.1267234
#' volatility. Frontiers in Microbiology. \doi{10.3389/fmicb.2023.1267234}
#'
#' @returns A tibble with relative volatility index (`rvi`) and volatility
#' category (`category`).
Expand Down
5 changes: 2 additions & 3 deletions R/simpol1.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
#' @references
#' Meredith L, Ledford S, Riemer K, Geffre P, Graves K, Honeker L, LeBauer D,
#' Tfaily M, Krechmer J. 2023. Automating methods for estimating metabolite
#' volatility. Frontiers in Microbiology.
#' <https://doi.org/10.3389/fmicb.2023.1267234>.
#' volatility. Frontiers in Microbiology. \doi{10.3389/fmicb.2023.1267234}
#'
#' Pankow, J.F., Asher, W.E. 2008. SIMPOL.1: a simple group
#' contribution method for predicting vapor pressures and enthalpies of
#' vaporization of multifunctional organic compounds. Atmos. Chem. Phys.
#' <https://doi.org/10.5194/acp-8-2773-2008>
#' \doi{10.5194/acp-8-2773-2008}
#'
#' @seealso [calc_vol()]
#' @export
Expand Down
4 changes: 2 additions & 2 deletions man/calc_vol.Rd

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

5 changes: 2 additions & 3 deletions man/simpol1.Rd

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

0 comments on commit f1e4251

Please sign in to comment.