@@ -65,7 +65,7 @@ pullConceptsAtlas <- function(
6565 checkmate :: assertLogical(deletePrevious )
6666 checkmate :: assertCharacter(patternToRemove )
6767 for (package in c(" httr" , " RJSONIO" , " lubridate" , " rlang" )) {
68- studyGenerics ::: requireInstall(package )
68+ requireInstall(package )
6969 }
7070 checkmate :: assertString(authHeader )
7171
@@ -215,7 +215,7 @@ pullConceptsAtlas <- function(
215215getConceptSetDefinition <- function (conceptSetId , baseUrl ,
216216 authHeader = Sys.getenv(" ATLAS_TOKEN" )) {
217217 for (package in c(" httr" , " RJSONIO" , " lubridate" , " rlang" )) {
218- studyGenerics ::: requireInstall(package )
218+ requireInstall(package )
219219 }
220220 checkmate :: assertInt(conceptSetId , lower = 1 )
221221 checkmate :: assertString(baseUrl , min.chars = 1 )
@@ -301,8 +301,8 @@ getWebApiVersion <- function(baseUrl, authHeader = "") {
301301}
302302
303303.request <- function (url , method , authHeader = " " ) {
304- studyGenerics ::: requireInstall(" httr" )
305- studyGenerics ::: requireInstall(" rlang" )
304+ requireInstall(" httr" )
305+ requireInstall(" rlang" )
306306 checkmate :: assertChoice(method , " GET" )
307307 headers <- httr :: accept_json()
308308 if (nzchar(authHeader )) {
@@ -347,7 +347,7 @@ getWebApiVersion <- function(baseUrl, authHeader = "") {
347347}
348348
349349.convertToDateTime <- function (x ) {
350- studyGenerics ::: requireInstall(" lubridate" )
350+ requireInstall(" lubridate" )
351351 if (is.numeric(x )) {
352352 x <- .millisecondsToDate(x )
353353 } else if (is.character(x )) {
0 commit comments