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

Quick way to locally generate R reports based on user-supplied CSV? #76

Open
lukego opened this issue Aug 29, 2016 · 2 comments
Open

Quick way to locally generate R reports based on user-supplied CSV? #76

lukego opened this issue Aug 29, 2016 · 2 comments
Assignees

Comments

@lukego
Copy link
Contributor

lukego commented Aug 29, 2016

Is there an easy way that I can use nix to generate our R reports based on a CSV file that I provide locally?

This would be for testing changes before I push them. I have found that sometimes reports are building fine in my local Rstudio environment but failing to build on Hydra. I assume this is because I am testing them with different versions of the R packages. It would be better if I tested report changes locally with nix before pushing them.

@domenkozar
Copy link
Contributor

domenkozar commented Aug 29, 2016

Given that you have a file called custom.csv, this generates basic report:

$ nix-build -E 'with (import ./lib {}); mkBenchmarkReport ./custom.csv [] "basic"'

@domenkozar
Copy link
Contributor

I've pushed 1306a32 to expect first input to be the csv file.

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