Comments (6)
btw I think we can't and don't need to export the example data set. with the lazy data loading it is available to the user.
btw 2: see also recent insightsengineering/tern.mmrm#87 which was cleaning up tern.mmrm
in a similar way.
from mmrm.
It's probably easier to decide what will be exported rather than what won't be.
From my view these need to be exported:
- all methods for
mmrm
andmmrm_tmb
objects. component
so that users can access parts of the model object which do not have generic s3 methods.mmrm
h_mmrm_tmb
fev_data
I'm unsure about the fitting routines, which seem like they could potentially be useful to users, but maybe in some sort of other wrapper? refit_multiple_optimizers()
takes a mmrm_fit
object and could be
The rest of the functions (emmeans.R, output.R, parallel.R, satterthwaite.R) seem like they could all be internal. What's your perspective on this?
from mmrm.
Thanks @BrianLang for starting on this one!
Yeah agree there are much fewer things to export than not. I agree with your list so far!
For the others:
- tmb: I would also export
h_mmrm_tmb_control()
such that the user who usesh_mmrm_tmb()
directly can manage those settings - fitting routines: I think it is sufficient to only export
mmrm()
- parallel: I would export
h_free_cores()
since it is called intern.mmrm
downstream directly - Satterthwaite stuff: I would export
df_1d()
anddf_md()
(because it is nice to be able to do this without extra packages if wanted)
from mmrm.
Great feedback, thanks! Forgot that one with 'control()'
from mmrm.
Would like some feedback:
- on how we choose badges. Right now everything is still external.
- on if we really get rid of all mention of non-exported functions from the _pkgdown. as it is now, they are separated into "helper functions" and "functions".
refit_multiple_optimizers
andfit_single_optimizer
are both in the_pkgdown.yml
as functions, but I've just removed them from exports. are we still in favor of having them internal?
Thanks!
from mmrm.
Thanks @BrianLang !
- Badges: yes that is right since this is the first package version let's have everything as
experimental
. In next version we can then upgrade to stable - Yeah let's get rid of internal functions in pkgdown
- OK let's keep these two additional fitting functions exported
from mmrm.
Related Issues (20)
- URGENT! Failed CRAN Checks: 2024-01-07 HOT 1
- fix notes
- fix vignette formatting
- Broken link in package down site
- URGENT! Failed CRAN Checks: 2024-01-14 HOT 1
- fix c++ compiler warning
- mmrm does not converge without specifying optimizer nlminb HOT 4
- Add a `confint` method to use t-distribution based quantiles HOT 2
- URGENT! Failed CRAN Checks: 2024-01-21 HOT 1
- mmrm bioconductor dependancy HOT 4
- test for `is_using_clang` needs to be skipped on old R versions
- fitted values in mmrm HOT 8
- URGENT! Failed CRAN Checks: 2024-01-28
- L-BFGS-B divergence however error code is not correct HOT 2
- Need to document `VISITN` and `VISITN2` in `fev_data`
- Type III tests fail for character covariates
- avoid CRAN warning
- URGENT! Failed CRAN Checks: 2024-03-10 HOT 1
- [Question] Random intercept model HOT 6
- support for `{marginaleffects}`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmrm.