Giter VIP home page Giter VIP logo

Comments (9)

pbiecek avatar pbiecek commented on September 26, 2024

Let me know before you will send this package to cran,
I would like to first replace the breakDown with iBreakDown

from modeldown.

kromash avatar kromash commented on September 26, 2024

Comments from reviewer:

The LICENSE file is only needed if you have additional restrictions
which you have not? In that case omit the file and its reference in the
DESCRIPTION file.

Please do not write to the user filespace. If you
really have to write out something, use tempdir() if the user is not
asked and in examples.

\dontrun{} should be only used if the example really cannot be executed
(e.g. because of missing additional software, missing API keys, ...) by
the user. That's why wrapping examples in \dontrun{} adds the comment
("# Not run:") as a warning for the user.
Please unwrap the examples if they are executable in < 5 sec, or replace
\dontrun{} with \donttest{}. Ideally find toy examples that can be
regularly executed and checked.

from modeldown.

pbiecek avatar pbiecek commented on September 26, 2024

@kromash do you need any help with these points?
The tempdir() can be used in examples as output dir
And a very simple model with just few modules can be used in examples

from modeldown.

kromash avatar kromash commented on September 26, 2024

@pbiecek Thank you,

I will try to resolve these issues this week. I wonder if we should use tempdir() for all modelDown output. I think reviewer had problem with that we create folder (called output by default) in user filespace and write to it.

Do you think we should use tempdir(), instead of creating new directory in user filespace, without asking user where and what we will write?

from modeldown.

pbiecek avatar pbiecek commented on September 26, 2024

@kromash Great, thanks

I think that they want tempdir() in examples, as the output_folder argument.
So for example in the modelDown.R file you can add the third line:

modelDown::modelDown(explainer_ranger, 
                     list(explainer_glm1, explainer_glm2), 
                     output_folder = paste0(tempdir(), "/modelDown")) 

But if user sets output_folder in his local directory then it should be fine
I had similar problem with archivist package, but it would enough to add tempdir() in examples

from modeldown.

kromash avatar kromash commented on September 26, 2024

Ok, thanks

I will add tempdir() only to examples

from modeldown.

kromash avatar kromash commented on September 26, 2024

I fixed comments that were pointed out and resubmitted package to CRAN

from modeldown.

kromash avatar kromash commented on September 26, 2024

modelDown was successfully published to CRAN. https://cran.r-project.org/web/packages/modelDown/index.html

from modeldown.

pbiecek avatar pbiecek commented on September 26, 2024

@kromash Excellent !!!

from modeldown.

Related Issues (20)

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.