Skip to content

Commit

Permalink
Merge pull request #188 from LAPKB/patch-report-namespace
Browse files Browse the repository at this point in the history
Declare necessary imports for `PM_report`
  • Loading branch information
Siel authored Feb 4, 2024
2 parents ae7d0d3 + a861421 commit 123b264
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Imports:
tidygraph,
tidyr,
trelliscopejs,
mvtnorm,
utils
Suggests:
askpass,
Expand Down
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ export(sub_plot)
export(update_gfortran)
export(zBMI)
import(dplyr)
import(htmltools)
import(knitr)
import(patchwork)
import(rmarkdown)
import(tidyr)
importFrom(DT,datatable)
importFrom(R6,R6Class)
importFrom(dplyr,.data)
importFrom(dplyr,across)
Expand Down
9 changes: 8 additions & 1 deletion R/PM_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,14 @@
#' in \code{\link{NPrun}}.
#' @return Generates an HTML-report in the current working directory.
#' @author Markus Hovd and Julian Otalvaro
#' @seealso \code{\link{PM_load}}
#' @seealso \code{\link{PM_load}}'
#' #### PACKAGE IMPORTS FOR REPORT TEMPLATES
#' ## ggplot
#' @importFrom DT datatable
#' @import patchwork
#' @import htmltools
#' @import knitr
#' @import rmarkdown
#' @export

PM_report <- function(PM_result, template = getPMoptions("report_template"), outfile, show = TRUE) {
Expand Down
7 changes: 6 additions & 1 deletion man/PM_report.Rd

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

0 comments on commit 123b264

Please sign in to comment.