-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from MindTheGap-ERC/dev
Dev
- Loading branch information
Showing
6 changed files
with
69 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: StratPal | ||
Title: Stratigraphic Paleobiology Modeling Pipelines | ||
Version: 0.2.0.9001 | ||
Version: 0.3.0 | ||
Authors@R: | ||
person("Niklas", "Hohmann", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0003-1559-1838")) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
plot.pre_paleoTS = function(x, ...){ | ||
#' @export | ||
#' | ||
#' @title plot pre-paleoTS objects | ||
#' | ||
#' @param x object | ||
#' @param ... other arguments | ||
#' | ||
#' @seealso [reduce_to_paleoTS()] | ||
#' | ||
#' @description | ||
#' This functions throws an error on purpose, as `pre_paleoTS` objects can not be plotted directly. To plot them, first use `reduce_to_paleoTS` and use `plot` on the results | ||
#' | ||
#' @examples | ||
#' \dontrun{ | ||
#' x = stasis_sl(1:4) | ||
#' # throws error | ||
#' plot(x) | ||
#' library("paleoTS") | ||
#' # correct way to plot pre-paleoTS objects | ||
#' y = reduce_to_paleoTs(x) | ||
#' plot(y) | ||
#' # this plots via the procedures of the paleoTS package (which must be installed and loaded) | ||
#' } | ||
#' | ||
|
||
|
||
stop("Can't plot `pre_paleoTS` objects. Convert to paleoTS format using `reduce_to_paleoTS` and plot result via the paleoTS package.") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.