Skip to content

Commit

Permalink
Issues found while refactoring workflow.pacta.report (#78)
Browse files Browse the repository at this point in the history
* import `reframe` from `dplyr`

* namespace `fs` function
  • Loading branch information
AlexAxthelm committed Jun 3, 2024
1 parent 9f32a19 commit b3d8006
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ importFrom(dplyr,mutate)
importFrom(dplyr,mutate_at)
importFrom(dplyr,n)
importFrom(dplyr,pull)
importFrom(dplyr,reframe)
importFrom(dplyr,rename)
importFrom(dplyr,row_number)
importFrom(dplyr,rowwise)
Expand Down
2 changes: 1 addition & 1 deletion R/create_interactive_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ create_interactive_report <-

portfolio_parameters %>%
to_jsonp("data_parameters") %>%
writeLines(path(output_dir, "data", paste0("data_parameters", ".js")))
writeLines(fs::path(output_dir, "data", paste0("data_parameters", ".js")))


# export environment info --------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions R/pacta.portfolio.report-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom dplyr reframe
## usethis namespace: end
NULL

0 comments on commit b3d8006

Please sign in to comment.