Skip to content

Commit

Permalink
fill out imported fxns from other pkgs in namespace; remove magrittr …
Browse files Browse the repository at this point in the history
…pipe import
  • Loading branch information
sckott committed Jan 5, 2024
1 parent 96ac770 commit 3468680
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 27 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Description: A repo containing a basic R package for using Cromwell with WDL wor
Imports:
httr,
jsonlite,
magrittr,
dplyr,
purrr,
tidyr,
Expand Down
22 changes: 20 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(cromwell_abort)
export(cromwell_backends)
export(cromwell_cache)
Expand All @@ -17,7 +16,26 @@ export(cromwell_version)
export(cromwell_workflow)
export(workflow_inputs)
export(workflow_options)
importFrom(dplyr,"%>%")
importFrom(dplyr,as_tibble)
importFrom(dplyr,tibble)
importFrom(magrittr,"%>%")
importFrom(httr,GET)
importFrom(httr,POST)
importFrom(httr,content)
importFrom(httr,stop_for_status)
importFrom(httr,upload_file)
importFrom(jsonlite,fromJSON)
importFrom(lubridate,now)
importFrom(lubridate,with_tz)
importFrom(lubridate,ymd_hms)
importFrom(purrr,discard)
importFrom(purrr,flatten)
importFrom(purrr,keep)
importFrom(purrr,map)
importFrom(purrr,map_dfr)
importFrom(purrr,pluck)
importFrom(purrr,reduce)
importFrom(rlang,is_character)
importFrom(rlang,is_logical)
importFrom(rlang,set_names)
importFrom(tidyr,separate)
1 change: 1 addition & 0 deletions R/cromUtils.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Pull the workflow options provided for a Cromwell workflow job
#'
#' @template workflowid
#' @importFrom jsonlite fromJSON
#' @return Returns a data frame of the options for a workflow previously run
#' @author Amy Paguirigan
#' @section Important:
Expand Down
1 change: 1 addition & 0 deletions R/cromwellCall.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' Retrieve and process call metadata for a specific workflow.
#'
#' @template workflowid
#' @importFrom tidyr separate
#' @return Returns a long form data frame of metadata on calls.
#' NOTE: does not currently support subWorkflows well yet.
#' @author Amy Paguirigan
Expand Down
3 changes: 3 additions & 0 deletions R/http.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#' @importFrom httr GET POST stop_for_status content upload_file
#' @noRd
#' @keywords internal
http_get <- function(url, as = NULL, ...) {
result <- httr::GET(url, ...)
httr::stop_for_status(result)
Expand Down
4 changes: 3 additions & 1 deletion R/rcromwell-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"_PACKAGE"

## usethis namespace: start
#' @importFrom dplyr as_tibble tibble
#' @importFrom dplyr as_tibble tibble %>%
#' @importFrom lubridate now with_tz ymd_hms
#' @importFrom purrr discard flatten keep map map_dfr pluck reduce
## usethis namespace: end
NULL
1 change: 1 addition & 0 deletions R/settings.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ NULL
#' Cromwell Configuration
#'
#' @export
#' @importFrom rlang is_character is_logical
#' @param cromwell_url (character) Cromwell server URL. The full url,
#' for example "http://localhost:8000" or "https://mycromwell.com"
#' @param verbose (logical) verbose messaging. default: `TRUE`. this
Expand Down
11 changes: 0 additions & 11 deletions R/utils-pipe.R

This file was deleted.

12 changes: 0 additions & 12 deletions man/pipe.Rd

This file was deleted.

8 changes: 8 additions & 0 deletions man/rcromwell-package.Rd

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

0 comments on commit 3468680

Please sign in to comment.