Giter Site home page Giter Site logo

proofr's People

Contributors

dtenenba avatar sckott avatar seankross avatar

Watchers

 avatar

Forkers

dtenenba dnft7

proofr's Issues

Token handling

  • Dont set as env var by deafult anymore when running auth function
  • Allow for passing in token as param

to support shiny flow

dependency on rstudioapi

Followed instructions, rstudioapi did not get installed correctly as a dependency.

> pak::pak("getwilds/proofr:v0.2")
Error in loadNamespace(x) : there is no package called ‘rstudioapi’

`> sessionInfo()
R version 4.4.0 (2024-04-24)
Platform: x86_64-apple-darwin20
Running under: macOS Sonoma 14.4.1

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Los_Angeles
tzcode source: internal

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] compiler_4.4.0 R6_2.5.1 fastmap_1.1.1 cli_3.6.2 htmltools_0.5.8.1
[6] tools_4.4.0 rstudioapi_0.16.0 yaml_2.3.8 rmarkdown_2.26 knitr_1.46
[11] xfun_0.43 digest_0.6.35 rlang_1.1.3 pak_0.7.2 evaluate_0.23 `

If you have a proof server running...

... via the shiny app, can we provide some guidance about how to then connect to that server via proofr in R? Do we need to make a new server via proofr? Can you get your token from the app? I'd hope not, right?

Document server up time of 7 days

If a user submits a job to their proof based cromwell server, and it is still running when the 7 days are up, is that job interrupted at all?

No, Jobs keep running even if the cromwell server is unavailable.

So we can document that they don't need to worry about the 7 day thing, BUT they do need to have a server up and running to get data back out - unless they do it manually on the cluster presumably?

see also FredHutch/shiny-cromwell#24 getwilds/rcromwell#27

httr -> httr2

  • vcr on cran only has support for httr, not httr2. httr2 support is in the works but not ready quite yet.
  • rcromwell uses vcr.
  • which means we need to use httr in rcromwell and this pkg for now

move to httr2 once vcr has support for it on github at least (& cran before rcromwell goes to cran)

rcromwell <--> proofr integration

Right now the way the integration works is to set headers globally for any httr requests. That could be a problem if other requests are being made - we only want Authorization headers with the proof token sent to the proof API servers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.