wjakethompson / measr

R package for the Bayesian estimation of diagnostic classification models using Stan
https://measr.info
GNU General Public License v3.0
8 stars 3 forks source link

Add precompiled stan models #13

Closed wjakethompson closed 1 year ago

wjakethompson commented 1 year ago

Precompiled models can be used when backend = "rstan". The current goal is to resolve some R CMD CHECK errors that are occurring when trying to compile on CRAN.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.13 :tada:

Comparison is base (d2ab7e2) 96.86% compared to head (5ad4aa0) 96.99%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== + Coverage 96.86% 96.99% +0.13% ========================================== Files 24 28 +4 Lines 1944 2032 +88 ========================================== + Hits 1883 1971 +88 Misses 61 61 ``` | [Impacted Files](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) | Coverage Δ | | |---|---|---| | [R/measrfit-class.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9tZWFzcmZpdC1jbGFzcy5S) | `100.00% <ø> (ø)` | | | [R/fit-dcm.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9maXQtZGNtLlI=) | `91.17% <100.00%> (+1.01%)` | :arrow_up: | | [R/methods.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9tZXRob2RzLlI=) | `100.00% <100.00%> (ø)` | | | [R/ppmc.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9wcG1jLlI=) | `99.26% <100.00%> (+<0.01%)` | :arrow_up: | | [R/stan-utils.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui9zdGFuLXV0aWxzLlI=) | `96.93% <100.00%> (+0.06%)` | :arrow_up: | | [R/utils-loo.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui91dGlscy1sb28uUg==) | `100.00% <100.00%> (ø)` | | | [R/utils-reliability.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui91dGlscy1yZWxpYWJpbGl0eS5S) | `100.00% <100.00%> (ø)` | | | [R/utils.R](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-Ui91dGlscy5S) | `95.00% <100.00%> (ø)` | | | [src/stanExports\_gqs\_loglik.cc](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-c3JjL3N0YW5FeHBvcnRzX2dxc19sb2dsaWsuY2M=) | `100.00% <100.00%> (ø)` | | | [src/stanExports\_gqs\_ppmc.cc](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson#diff-c3JjL3N0YW5FeHBvcnRzX2dxc19wcG1jLmNj) | `100.00% <100.00%> (ø)` | | | ... and [2 more](https://codecov.io/gh/wjakethompson/measr/pull/13?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jake+Thompson)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.