-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raymolecule v0.5.3: Add pkgdown helper function to only run some code…
… in pkgdown during CRAN check
- Loading branch information
1 parent
54b6619
commit d10698c
Showing
7 changed files
with
59 additions
and
13 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,7 +1,7 @@ | ||
Package: raymolecule | ||
Type: Package | ||
Title: Parse and Render Molecular Structures in 3D | ||
Version: 0.5.2 | ||
Version: 0.5.3 | ||
Date: 2024-2-18 | ||
Authors@R: c(person("Tyler", "Morgan-Wall", email = "[email protected]", | ||
role = c("aut", "cph", "cre"), comment = c(ORCID = "0000-0002-3131-3814"))) | ||
|
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,13 @@ | ||
#' @title Run Documentation | ||
#' | ||
#' @description This function determines if the examples are being run in pkgdown. It is not meant to be called by the user. | ||
#' | ||
#' @export | ||
#' | ||
#' @return Boolean value. | ||
#' @examples | ||
#' # See if the documentation should be run. | ||
#' run_documentation() | ||
run_documentation = function() { | ||
return(identical(Sys.getenv("IN_PKGDOWN"), "true")) | ||
} |
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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.