Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address onLoad.R Issues (Possibly Remove It) #5

Open
jonyoder opened this issue Jan 2, 2014 · 0 comments
Open

Address onLoad.R Issues (Possibly Remove It) #5

jonyoder opened this issue Jan 2, 2014 · 0 comments
Assignees

Comments

@jonyoder
Copy link

jonyoder commented Jan 2, 2014

Unless I'm missing something, I don't think that the .onLoad method will work. It doesn't set a "getter" or a "base", both of which are required for RODProt to correctly grab JSON data from ProbeMapper.

It may be better to simply require the consumer to manually set up two options before using ProbeMapper-R, as it's important that the consumer knows how to specify the correct server, anyway:

getter <- HMACGetter$new(id="", key="userKey")
pmDataPackage <- read_data_package(
"http://qbridev.swmed.edu:8080/probemapper/datapackage.json",
base="http://qbridev.swmed.edu:8080/probemapper",
getter=getter)
options(pmDP = pmDataPackage)
options(pmGetter = getter)

@ghost ghost assigned trestletech Jan 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants