-
Notifications
You must be signed in to change notification settings - Fork 25
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
Reduce dependencies: TMB, coda, cubelyr #106
Conversation
I'm sorry not to have commented on this quicker, I meant to (but I have actually been feeling a little unwell/feverish - wondering if it can possibly be COVID-19, I have very few close contacts ...) It makes sense to me to move I absolutely agree with streamlining, but there is also some small downside to cluttering the code with I might have said the same thing about On the other hand, all of your other suggestions/changes (get rid of Please either (1) convince me that |
The main reason to kick But it's not a big deal; I'm happy to do whatever you feel more confortable with. This last commit brings The issue with |
I'm not sure I had a really good reason for using |
PS let me know how you want your name added to the 'ctb' list in DESCRIPTION (real name, Github name? ORCID?) - or submit another PR for that ... |
Oh, this is what I use usually, but honestly, I don't think it's necessary for such a small thing. Authors@R: person("Vincent", "Arel-Bundock",
email = "[email protected]",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2042-7063")) |
This PR does 5 things:
TMB
to Suggestscoda
to Suggestscubelyr
. This was used only once, so I wrote a few lines of code to "flatten" a data cube.assert_dependency
which is called before any functions fromTMB
orcoda
are called. When the packages are not installed (should never happen in practice if the user estimated the model themselves),assert_dependency
stops execution and asks the user to install the relevant package.In my initial comment #102 I suggested removing
nlme
and moving frombroom
togenerics
. However, this turned out to be trickier than I expected, so I decided to stop here for now.Let me know what you think.