Skip to content

Commit 4e699a6

Browse files
committed
Merge branch 'v6.3.6-dev' of github.com:StuartWheater/dsBaseClient into v6.3.6-dev
2 parents 0507e04 + c7d96cc commit 4e699a6

13 files changed

Lines changed: 1739 additions & 20 deletions

DESCRIPTION

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Authors@R: c(person(given = "Paul",
5959
comment = c(ORCID = "0009-0003-2419-1964")))
6060
License: GPL-3
6161
Depends:
62-
R (>= 4.0.0),
62+
R (>= 4.1.0),
6363
DSI (>= 1.7.1)
6464
Imports:
6565
fields,
@@ -69,7 +69,10 @@ Imports:
6969
gridExtra,
7070
data.table,
7171
methods,
72-
dplyr
72+
dplyr,
73+
purrr,
74+
assertthat,
75+
cli
7376
Suggests:
7477
lme4,
7578
httr,

NAMESPACE

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export(ds.setDefaultOpals)
105105
export(ds.setSeed)
106106
export(ds.skewness)
107107
export(ds.sqrt)
108+
export(ds.standardiseDf)
108109
export(ds.subset)
109110
export(ds.subsetByClass)
110111
export(ds.summary)
@@ -120,7 +121,30 @@ export(ds.var)
120121
export(ds.vectorCalc)
121122
export(subsetHelper)
122123
import(DSI)
123-
import(data.table)
124+
importFrom(DSI,datashield.aggregate)
125+
importFrom(DSI,datashield.assign)
126+
importFrom(assertthat,assert_that)
127+
importFrom(cli,cli_abort)
128+
importFrom(cli,cli_alert_danger)
129+
importFrom(cli,cli_alert_info)
130+
importFrom(cli,cli_alert_success)
131+
importFrom(cli,cli_alert_warning)
132+
importFrom(cli,cli_end)
133+
importFrom(cli,cli_li)
134+
importFrom(cli,cli_ol)
135+
importFrom(cli,cli_text)
136+
importFrom(cli,cli_ul)
137+
importFrom(data.table,.SD)
138+
importFrom(dplyr,"%>%")
139+
importFrom(dplyr,all_of)
140+
importFrom(dplyr,bind_rows)
141+
importFrom(dplyr,case_when)
142+
importFrom(dplyr,row_number)
143+
importFrom(dplyr,where)
144+
importFrom(purrr,map)
145+
importFrom(purrr,map_lgl)
146+
importFrom(purrr,pmap)
147+
importFrom(purrr,pmap_lgl)
124148
importFrom(stats,as.formula)
125149
importFrom(stats,na.omit)
126150
importFrom(stats,ts)

R/computeWeightedMeans.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#' @param by character vector of the columns to group by
1212
#' @return Returns a data table object with computed weighted means.
1313
#'
14-
#' @import data.table
14+
#' @importFrom data.table .SD
1515
#' @importFrom stats as.formula na.omit ts weighted.mean
1616
#' @keywords internal
1717
computeWeightedMeans <- function(data_table, variables, weight, by) {

R/ds.bp_standards.R

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
#' blood pressure in children and adolescents:
2727
#' https://www.nhlbi.nih.gov/sites/default/files/media/docs/hbp_ped.pdf
2828
#' @author Demetris Avraam for DataSHIELD Development Team
29-
#' @import data.table
3029
#' @export
3130
ds.bp_standards <- function(sex=NULL, age=NULL, height=NULL, bp=NULL, systolic=TRUE,
3231
newobj=NULL, datasources=NULL){

0 commit comments

Comments
 (0)