v1.6.0
james 1.6.0 (Apr 2024)
Visible changes
- Changes the version number so that the JAMES package has the same version as the JAMES docker
- Updates to
growthscreener 1.21.0
, which changes weight for height criteria into weight-for-age - Changes the definition and processing of BDS 71 (parental birth land) to provide a string with 4 digits (was numeric and integer previously) to conform to alphanumeric typology in BDS (updates to
bdsreader 0.25.0
) - Introduces throttling of 3 sec for checkbox, sliders and radio buttons
- Resolves the WFH sequence problem when later height is shorter (#24)
- Added JAMES, version and copyright note to "Meldingen"
- Removed the superfluous header "GROEIDIAGRAMMEN" from the left panel
- Adds a check and warning if the stored OpenCPU session does not contain data created by read_bds()
More informative Meldingen
panel
JAMES now writes on Meldingen
for rq1
(james::convert_tgt_chartadvice()
) and rq2
(james::draw_chart()
):
- The session ID
- The
ocpu.call
from javascript to theR
function - A summary of the response from
R
- If present: warnings from
R
- If present: messages from
R
Note: The update of "Meldingen" when the call failed does always work, so it may be that "Meldingen" displays the results from the last functional call instead of the failed call. If the request failed, there will be a pop-up window with a stack trace from R.
Internal changes
- Updates javascript, HTML and CSS for clarity and efficiency
- Moves styling from
index.html
tomain.css
- Removes allegro blend (#20)
- Returns
txt
,session
andsite
in blend response as strings (#21) - Transfers all event binding functionality from
index.html
intostart.js
- Refactors JS code #26
- Updates all packages and renv to CRAN version March 2024
Bug fixes
- Fixes a bug during initialization of children > 4y (#29)
- Resolves
Error in eval(predvars, data, env) : object 'hgt_z_0' not found
(#23) - Solves issue #19 which appears when JAMES cannot find the child data.
Simplified update logic (failed)
- The JS call to
update()
(which draws the chart) is now removed from the call-back function ofrq1
. Thus, initialization of controls and drawing of charts are now done independently and in parallel. This removes a nestedocpu.call()
call, thereby improveing performance. - This change was undone in because controls were not properly updated.