crp2a / BayLum

Chronological Bayesian models integrated for Optically Stimulated Luminescence (OSL) Dating
https://crp2a.github.io/BayLum/
GNU General Public License v3.0
9 stars 1 forks source link

Object.size.reduce #26

Closed imgoej closed 1 year ago

imgoej commented 1 year ago

The MCMC-list provided by the output of runjags can easily become very sizeable in terms of bytes. It is therefore not prudent to have that list appear twice in the return output of these functions (once as "Sampling" and once as "mcmc" inside "runjags_object").

I therefore set "mcmc" to a string pointing to where the mcmc-list can be found within the return output. If input is a BayLum.list (output of these functions and therefore not a generated DataFile), "mcmc" inside "runjags_object" takes on "Sampling" as its value.

codecov[bot] commented 1 year ago

Codecov Report

Merging #26 (2abc1c9) into master (3b1904e) will decrease coverage by 0.04%. The diff coverage is 17.64%.

:exclamation: Current head 2abc1c9 differs from pull request most recent head 5e5c7f6. Consider uploading reports for the commit 5e5c7f6 to get more accurate results

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
- Coverage   68.46%   68.43%   -0.04%     
==========================================
  Files          18       18              
  Lines        2188     2192       +4     
==========================================
+ Hits         1498     1500       +2     
- Misses        690      692       +2     
Impacted Files Coverage Δ
R/Age_OSLC14.R 62.68% <13.04%> (-0.07%) :arrow_down:
R/AgeS_Computation.R 81.84% <27.27%> (-0.19%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.