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

Error (evaluation nested too deeply) when using Rperform in iregnet #37

Open
RoverVan opened this issue Jul 12, 2017 · 3 comments
Open
Assignees
Labels

Comments

@RoverVan
Copy link

Hey @analyticalmonk @tdhock , I am the student of iregnet on 2017 GSoC. Recently i have found some errors when I use Rperform to obtain iregnet performance across two branches.

The code below is what I used in Rperform. It means that optimization branch is to be merge into master branch.

>library(Rperform)
>setwd("PATH/TO/PROJECT/iregnet/")
>plot_branchmetrics(test_path = "tests/testthat/test_elemStatsLearn.R", metric = "time", branch1 = "optimization", branch2 = "master", save_data = F, save_plots = F)

When the code is run, the error messages has shown like this:

Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Error during wrapup: evaluation nested too deeply: infinite recursion / options(expressions=)?

When changing the parameter in branch1, such as cv branch in iregnet, the same problem occurs.
However, when I use the function of single branch(plot_metrics()) on master branch, it successfully run.
It suggests that the master branch is not compatible with the function that across two branches.

Here is some of my sessionInfo:

R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5
Rperform_0.0.0.9000
testthat_1.0.2
and the iregnet is the current version of iregnet

Please contact me if you need any more informations about iregnet or the error messages.

@analyticalmonk
Copy link
Owner

Hi @RoverVan
Thanks for reporting this. I will have a look at it and get back to you.

@analyticalmonk
Copy link
Owner

@DevinderKaur Please have a look into this.

@tdhock
Copy link

tdhock commented Jul 24, 2017

Hey @analyticalmonk @DevinderKaur this issue is blocking us from moving forward in the iregnet GSOC2017 project -- it is about speed optimization, and we really want to use Rperform.

Do you have any idea about what is causing the error? Any idea what parts of the code need to be modified for a fix? Maybe I or @RoverVan could submit a PR if you point us in the right direction. Thanks in advance.

@analyticalmonk analyticalmonk self-assigned this Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants