Skip to content

Commit

Permalink
use rmarkdown func to suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsp-spirit committed Feb 11, 2022
1 parent d0d5fb6 commit 291c296
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ importFrom(pkgfilecache,erase_file_cache)
importFrom(pkgfilecache,get_filepath)
importFrom(pkgfilecache,get_pkg_info)
importFrom(pkgfilecache,list_available)
importFrom(rmarkdown,pandoc_available)
importFrom(stats,dist)
importFrom(stats,na.omit)
importFrom(utils,read.table)
Expand Down
12 changes: 12 additions & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,15 @@ fs.surface.to.tmesh3d <- function(surface) {
}


#' @title Check for pandoc availability on system.
#'
#' @return logical, whether Pandoc is available.
#'
#' @importFrom rmarkdown pandoc_available
#'
#' @keywords internal
has_pandoc <- function() {
return(rmarkdown::pandoc_available());
}


15 changes: 15 additions & 0 deletions man/has_pandoc.Rd

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

0 comments on commit 291c296

Please sign in to comment.