@@ -27,7 +27,7 @@ tiledb_profile <- function(name = NULL, dir = NULL) {
2727 stopifnot(`The 'dir' for the profile must be null or a character type` = is.null(name ) || is.character(name ))
2828 ptr <- libtiledb_profile_new(name , dir )
2929 profile <- new(" tiledb_profile" , ptr = ptr )
30- invisible (profile )
30+ return (profile )
3131}
3232
3333
@@ -36,14 +36,14 @@ tiledb_profile_load <- function(name = NULL, dir = NULL) {
3636 stopifnot(`The 'dir' for the profile must be null or a character type` = is.null(name ) || is.character(name ))
3737 ptr <- libtiledb_profile_load(name , dir )
3838 profile <- new(" tiledb_profile" , ptr = ptr )
39- invisible (profile )
39+ return (profile )
4040}
4141
4242tiledb_profile_remove <- function (name = NULL , dir = NULL ) {
4343 stopifnot(`The 'name' for the profile must be null or a character type` = is.null(name ) || is.character(name ))
4444 stopifnot(`The 'dir' for the profile must be null or a character type` = is.null(name ) || is.character(name ))
4545 libtiledb_profile_remove(name , dir )
46- return ()
46+ return (invisible ( NULL ) )
4747}
4848
4949tiledb_profile_name <- function (profile ) {
@@ -63,7 +63,7 @@ tiledb_profile_set_param <- function(profile, param, value) {
6363 stopifnot(`The 'param' arugment must have character type` = is.character(param ))
6464 stopifnot(`The 'value' arugment must have character type` = is.character(value ))
6565 libtiledb_profile_set_param(profile @ ptr , param , value )
66- return ()
66+ return (invisible ( NULL ) )
6767}
6868
6969tiledb_profile_get_param <- function (profile , param ) {
@@ -76,5 +76,5 @@ tiledb_profile_get_param <- function(profile, param) {
7676tiledb_profile_save <- function (profile ) {
7777 stopifnot(`The 'profile' argument must be a tiledb_profile object` = is(profile , " tiledb_profile" ))
7878 libtiledb_profile_save(profile )
79- return ()
79+ return (invisible ( NULL ) )
8080}
0 commit comments