Skip to content
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

Address CRAN check warnings #270

Merged
merged 4 commits into from
Mar 1, 2024
Merged

Address CRAN check warnings #270

merged 4 commits into from
Mar 1, 2024

Conversation

gowerc
Copy link
Collaborator

@gowerc gowerc commented Feb 28, 2024

Closes #269

Copy link
Contributor

github-actions bot commented Feb 28, 2024

badge

Code Coverage Summary

Filename                       Stmts    Miss  Cover    Missing
---------------------------  -------  ------  -------  --------------------------------
R/brier_score.R                  166       0  100.00%
R/DataJoint.R                     76       2  97.37%   264, 270
R/DataLongitudinal.R             119       1  99.16%   245
R/DataSubject.R                   69       1  98.55%   124
R/DataSurvival.R                  77       0  100.00%
R/defaults.R                      10       6  40.00%   18-57, 84
R/generics.R                      19       1  94.74%   49
R/JointModel.R                   122       8  93.44%   142-144, 194, 198, 240, 286, 292
R/JointModelSamples.R             54       0  100.00%
R/Link.R                          55       4  92.73%   159-162
R/LinkComponent.R                 47       5  89.36%   100, 118, 132-149
R/LongitudinalGSF.R               64       0  100.00%
R/LongitudinalModel.R             35      12  65.71%   68-83
R/LongitudinalQuantities.R        85       8  90.59%   100-107
R/LongitudinalRandomSlope.R       27       0  100.00%
R/LongitudinalSteinFojo.R         57       8  85.96%   113-135
R/Parameter.R                     14       0  100.00%
R/ParameterList.R                 42       1  97.62%   184
R/Prior.R                        236       8  96.61%   480, 576, 588-606
R/Quantities.R                   105       0  100.00%
R/settings.R                      12      12  0.00%    55-69
R/simulations_gsf.R               41       0  100.00%
R/simulations_os.R                11       5  54.55%   35-39
R/simulations_rs.R                21       0  100.00%
R/simulations_sf.R                38      38  0.00%    17-107
R/simulations.R                  101       1  99.01%   128
R/StanModel.R                     15       0  100.00%
R/StanModule.R                   177       6  96.61%   199-200, 242, 253, 388, 416
R/SurvivalExponential.R           10       0  100.00%
R/SurvivalLoglogistic.R           11       0  100.00%
R/SurvivalModel.R                 19       0  100.00%
R/SurvivalQuantities.R           151       6  96.03%   173-178
R/SurvivalWeibullPH.R             11       0  100.00%
R/utilities.R                    145       1  99.31%   13
R/zzz.R                            2       2  0.00%    3-12
TOTAL                           2244     136  93.94%

Diff against main

Filename      Stmts    Miss  Cover
----------  -------  ------  --------
TOTAL             0       0  +100.00%

Results for commit: b43b1df

Minimum allowed coverage is 80%

♻️ This comment has been updated with latest results

Copy link
Contributor

github-actions bot commented Feb 28, 2024

Unit Tests Summary

  1 files   36 suites   4m 39s ⏱️
108 tests  82 ✅ 26 💤 0 ❌
799 runs  773 ✅ 26 💤 0 ❌

Results for commit b43b1df.

♻️ This comment has been updated with latest results.

.Rbuildignore Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Mar 1, 2024

Unit Test Performance Difference

Test Suite $Status$ Time on main $±Time$ $±Tests$ $±Skipped$ $±Failures$ $±Errors$
JointModelSamples 💚 $40.82$ $-8.19$ $0$ $0$ $0$ $0$
LinkComponent 💚 $3.87$ $-1.01$ $0$ $0$ $0$ $0$
LongitudinalQuantiles 💚 $50.47$ $-8.41$ $0$ $0$ $0$ $0$
SurvivalExponential 💚 $33.50$ $-5.88$ $0$ $0$ $0$ $0$
SurvivalQuantities 💚 $13.22$ $-2.10$ $0$ $0$ $0$ $0$
brierScore 💚 $32.44$ $-5.53$ $0$ $0$ $0$ $0$
compile 💚 $17.20$ $-3.22$ $0$ $0$ $0$ $0$
misc_models 💚 $25.89$ $-4.11$ $0$ $0$ $0$ $0$
model_random_slope_2chain 💚 $44.22$ $-6.22$ $0$ $0$ $0$ $0$
stan_functions 💚 $55.78$ $-9.22$ $0$ $0$ $0$ $0$
Additional test case details
Test Suite $Status$ Time on main $±Time$ Test Case
JointModelSamples 💚 $40.82$ $-8.19$ smoke_test_for_JointModelSamples
LongitudinalQuantiles 💚 $43.65$ $-7.26$ Test_that_LongitudinalQuantities_works_as_expected
SurvivalExponential 💚 $29.08$ $-5.20$ SurvivalExponential_can_recover_true_parameter_no_covariates_
SurvivalQuantities 💚 $8.60$ $-1.39$ SurvivalQuantities_and_autoplot.SurvivalQuantities_works_as_expected
brierScore 💚 $32.22$ $-5.49$ brierScore_SurvivalQuantities_returns_same_results_as_survreg
compile 💚 $17.20$ $-3.22$ compileStanModel_doesn_t_error_if_the_directory_doesn_t_exist
misc_models 💚 $25.89$ $-4.11$ Longitudinal_Model_doesn_t_print_sampler_rejection_messages
model_random_slope_2chain 💚 $44.22$ $-6.22$ Can_recover_known_distribution_parameters_from_random_slope_model_when_using_multiple_chains
stan_functions 💚 $19.54$ $-3.45$ GSF_Identity_Link_Function_works_as_expected
stan_functions 💚 $17.26$ $-2.21$ GSF_SLD_function_works_as_expected
stan_functions 💚 $18.98$ $-3.56$ Normal_Log_Density_functions_work_as_expected

Results for commit b73548a

♻️ This comment has been updated with latest results.

@gowerc gowerc merged commit f5611bc into main Mar 1, 2024
22 checks passed
@gowerc gowerc deleted the fix/cran-checks branch March 1, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve R CMD CHECK warnings
3 participants