froocpu / poweRbi

An R-based, httr-style interface for the Power BI REST API.
19 stars 1 forks source link

Add unit tests #2

Open stephlocke opened 7 years ago

stephlocke commented 7 years ago

This package could do with tests - some thought will need to go into managing the account used for testing

http://blog.revolutionanalytics.com/2015/12/securely-storing-your-secrets-in-r-code.html http://matthewlincoln.net/2016/05/13/r-packages-secret-keys-and-appveyor.html https://cran.r-project.org/web/packages/googlesheets/vignettes/managing-auth-tokens.html

akiraFuk commented 7 years ago

Something Wrong with pbiUpdateTableSchema.

Just return

**The following table schema has been applied:$name [1] "df"

$columns name dataType 1 col1 Double**

but the table still the same.

stephlocke commented 7 years ago

Heya @akiraFuk - can you raise the issue separately and put some more info like sessionInfo() etc?

olfrost commented 7 years ago

@akiraFuk Or even some sample code (or a reproducible example, at a stretch) so that I can try and reproduce the error myself.

srees1988 commented 6 years ago

Hi there

Thanks for building this package.! Its awesome.I just tried accessing'My workspace' from R and its working quite well. I have a quick question: Have you built any function within PoweRbi package that reads all the tables within the datasets of a report by any chance?

Many Thanks Sree

froocpu commented 6 years ago

Hi Sree,

Thanks for your nice comments. I'll be honest, I made this package while doing some contracting work when we needed something to access the PowerBI APIs, and it's been a while since I've touched it.

Give me a couple of days to refresh myself on the code, check for any updates for the PowerBI API and get back to you. I should be able to write something for you.

Thanks,

Ollie

Sent from ProtonMail, encrypted email based in Switzerland.

Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, 5 October 2018 01:13, Sree notifications@github.com wrote:

Hi there

Thanks for building this package.! Its awesome.I just tried accessing'My workspace' from R and its working quite well. I have a quick question: Have you built any function within PoweRbi package that reads all the tables within the datasets of a report by any chance?

Many Thanks Sree

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.