Giter Club home page Giter Club logo

Comments (6)

danielinteractive avatar danielinteractive commented on July 17, 2024

@dinakar29 thanks for this, unfortunately I cannot reproduce the warning you get for the compiled code on my local machine. Is it possible for me to reproduce this myself on enableR? What are the steps for that? (Only then I can try to change something to fix it)

from mmrm.

danielinteractive avatar danielinteractive commented on July 17, 2024

@dgkf fyi - we have been diligent here trying to fix check results as much as possible, but on our internal R 4.0.4 server there might still be a message, which originates outside of the mmrm package code it seems, and is not shown during checks on R 4.2.

from mmrm.

dgkf-roche avatar dgkf-roche commented on July 17, 2024

Thanks @danielinteractive - I've seen this in other compiled packages and it seems to be raised in error. If you do see anything problematic about this warning that would be reason to be concerned, we'd appreciate your input - you have more background with packaging C code than I do.

I think this is a benign warning just due to the system (C compiler differences perhaps?). Even if it is problematic, as far as I can tell, the worst possible outcome would be that the process is terminated, which might be frustrating for users, but is rather unlikely to produce any erroneous results. That said, we haven't seen it actually abort in our exploration so far.

from mmrm.

danielinteractive avatar danielinteractive commented on July 17, 2024

Thanks a lot @dgkf-roche , that is good to hear. I also think it is a false positive warning in this case and I guess it could even be a bug in R CMD check itself that has been fixed in more recent R versions.

I am further working now on fixing the relevant warning about the registration of Call routines.

from mmrm.

dgkf avatar dgkf commented on July 17, 2024

If there's a way to register the routines that doesn't require acrobatics around TMB, that's awesome. If not, then it's a tradeoff between trying to appease R CMD check and wanting to use more widely accepted tools as they were intended. This is similar to building models with rstan, where the generated code produces a few known R CMD check notes.

In either case, I think there's value in staying consistent with other TMB tools, even if that comes with some R CMD check flags. I don't see a problem with that if there's good justification for it.

from mmrm.

danielinteractive avatar danielinteractive commented on July 17, 2024

Thanks @dgkf - so I took the code now more or less from glmmTMB in the pull request here and it looks relatively concise, and what is important depends on TMB to define the names for the Call routines to register. It would be awesome if you could review that. (No problem if you don't have time, just let me know)

from mmrm.

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.