getwilds / rcromwell

R client for interacting with Cromwell with WDL workflows
http://getwilds.org/rcromwell/
Other
3 stars 2 forks source link

could not find function "womtoolValidate" #10

Closed jayoung closed 5 months ago

jayoung commented 1 year ago

hey there,

trying out fh.wdlR package, using example code in the main README.md.

It mostly works, with one exception: could not find function "womtoolValidate". Full code/sessionInfo is below.

is womtoolValidate from some other package? is the usage wrong?

thanks!

Janet

library(fh.wdlR)

setCromwellURL(nodeAndPort = "")

setwd("")

wdlFiles <- list.files(pattern = "*.wdl")
# [1] "helloHostname.wdl"

valid <- womtoolValidate(WDL = wdlFiles)
# Error in womtoolValidate(WDL = wdlFiles) : 
#   could not find function "womtoolValidate"

valid <- fh.wdlR::womtoolValidate(WDL = wdlFiles[1])
# Error: 'womtoolValidate' is not an exported object from 'namespace:fh.wdlR'

sessionInfo()
# R version 4.2.1 (2022-06-23)
# Platform: x86_64-apple-darwin17.0 (64-bit)
# Running under: macOS Monterey 12.6.1
# 
# Matrix products: default
# LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
# 
# locale:
#     [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
# 
# attached base packages:
#     [1] stats     graphics  grDevices utils     datasets  methods   base     
# 
# other attached packages:
#     [1] fh.wdlR_2.0.3
# 
# loaded via a namespace (and not attached):
#     [1] compiler_4.2.1 magrittr_2.0.3 tools_4.2.1   
vortexing commented 1 year ago

GAH! The function is now called "cromwellValidate"!!!! My bad! I will repair the instructions that told you to do that!

sckott commented 5 months ago

closing since this is fixed now