Skip to content

Refactor/perf batch 10 - #707

Open
timcadman wants to merge 17 commits into
v7.0-devfrom
refactor/perf-batch-10
Open

timcadman wants to merge 17 commits into
v7.0-devfrom
refactor/perf-batch-10

Conversation

@timcadman

Copy link
Copy Markdown
Contributor

No description provided.

@timcadman
timcadman changed the base branch from v6.3.6-dev to v7.0-dev September 16, 2026 10:26
@github-actions

github-actions Bot commented Sep 18, 2026

Copy link
Copy Markdown
❌ 3 of 5 checks failed
CheckResult
Devtools checks✅ passed
Code quality❌ 7 new findings (package total: 2035)
Armadillo unit tests[ FAIL 74 | WARN 0 | SKIP 27 | PASS 11943 ]
Opal unit tests[ FAIL 88 | WARN 0 | SKIP 27 | PASS 11570 ]
Test coverageℹ️ no coverable lines changed (project: 65.6%)

Tested against dsBase versions:
Armadillo: 7.0.0.9000
Opal: 7.0.0.9000

Logs: Devtools checks · Code quality · Armadillo unit tests · Opal unit tests · Codecov

@timcadman
timcadman marked this pull request as ready for review September 18, 2026 09:37
Comment thread R/ds.rowColCalc.R

# check that the new object has been created and display a message accordingly
finalcheck <- isAssigned(datasources, newobj)
DSI::datashield.assign(datasources, newobj, call("rowColCalcDS", dataset.name=x, operation=indx))
@codecov-commenter

codecov-commenter commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.59%. Comparing base (2384659) to head (c025fca).

Additional details and impacted files
@@             Coverage Diff              @@
##           v7.0-dev     #707      +/-   ##
============================================
- Coverage     66.74%   65.59%   -1.16%     
============================================
  Files           142      142              
  Lines          6038     5821     -217     
============================================
- Hits           4030     3818     -212     
+ Misses         2008     2003       -5     
Flag Coverage Δ
armadillo-arg 21.01% <ø> (-0.29%) ⬇️
armadillo-misc 16.09% <ø> (-0.11%) ⬇️
armadillo-perf-1 5.77% <ø> (-0.16%) ⬇️
armadillo-perf-2 16.71% <ø> (+1.37%) ⬆️
armadillo-perf-3 15.82% <ø> (+5.61%) ⬆️
armadillo-smk-1 33.46% <ø> (-0.76%) ⬇️
armadillo-smk-2 37.43% <ø> (-0.86%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread R/ds.isValid.R
typ <- checkClass(datasources, x)
# call the server side function that does the job and return its output
cally <- call("isValidDS", x)
results <- DSI::datashield.aggregate(datasources, cally)
Comment thread R/ds.summary.R
if(("data.frame" %in% typ) | ("matrix" %in% typ)){
for(i in 1:numsources){
validity <- DSI::datashield.aggregate(datasources[i], as.symbol(paste0('isValidDS(', x, ')')))[[1]]
validity <- DSI::datashield.aggregate(datasources[i], call('isValidDS', x))[[1]]$valid
Comment thread R/ds.summary.R
if("character" %in% typ){
for(i in 1:numsources){
validity <- DSI::datashield.aggregate(datasources[i], as.symbol(paste0('isValidDS(', x, ')')))[[1]]
validity <- DSI::datashield.aggregate(datasources[i], call('isValidDS', x))[[1]]$valid
Comment thread R/ds.summary.R
if("factor" %in% typ){
for(i in 1:numsources){
validity <- DSI::datashield.aggregate(datasources[i], as.symbol(paste0('isValidDS(', x, ')')))[[1]]
validity <- DSI::datashield.aggregate(datasources[i], call('isValidDS', x))[[1]]$valid
Comment thread R/ds.summary.R
if(("integer" %in% typ) | ("numeric" %in% typ)){
for(i in 1:numsources){
validity <- DSI::datashield.aggregate(datasources[i], as.symbol(paste0('isValidDS(', x, ')')))[[1]]
validity <- DSI::datashield.aggregate(datasources[i], call('isValidDS', x))[[1]]$valid
Comment thread R/ds.summary.R
if("logical" %in% typ){
for(i in 1:numsources){
validity <- DSI::datashield.aggregate(datasources[i], as.symbol(paste0('isValidDS(', x, ')')))[[1]]
validity <- DSI::datashield.aggregate(datasources[i], call('isValidDS', x))[[1]]$valid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants