Skip to content

Commit

Permalink
[docs] update cross-linking between functions
Browse files Browse the repository at this point in the history
  • Loading branch information
japhir committed May 3, 2023
1 parent ab1126c commit 7dc49f1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
1 change: 0 additions & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,4 @@
#' Paleocene–Eocene boundary age constrained by geology and astronomy.
#' _Science_, 365(6456), 926–929. \doi{10.1126/science.aax0612}.
#' @name ZB18a
#' @seealso get_solution get_ZB18a
NULL
2 changes: 2 additions & 0 deletions R/get_solution.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#' @param orbital_solution Character vector with the name of the orbital
#' solution to use. One of `"ZB18a"` (default) from Zeebe and Lourens (2019),
#' or `"La11"` (not yet implemented!).
#' @seealso [get_ZB18a()]
#' @inherit get_ZB18a references
get_solution <- function(orbital_solution = "ZB18a") {
solutions <- c("ZB18a", "La11")
if (!orbital_solution %in% solutions) {
Expand Down
2 changes: 1 addition & 1 deletion R/prepare_solution.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' * `inc` Inclination \eqn{I} (degrees).
#'
#' @returns A [tibble][tibble::tibble-package] with the new columns added.
#' @seealso ZB18a [get_solution()]
#' @seealso [get_ZB18a()] [get_solution()]
#'
#' @details
#' New columns include:
Expand Down
3 changes: 0 additions & 3 deletions man/ZB18a.Rd

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

8 changes: 8 additions & 0 deletions man/get_solution.Rd

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

2 changes: 1 addition & 1 deletion man/prepare_solution.Rd

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

0 comments on commit 7dc49f1

Please sign in to comment.