From 823d63d7809bbb318f66d808e51192acb6c67fda Mon Sep 17 00:00:00 2001 From: ross-hull Date: Mon, 6 May 2024 14:35:56 +0000 Subject: [PATCH] Style code (GHA) --- R/get_resources.R | 4 ++-- R/show_datasets.R | 2 +- R/show_resources.R | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/R/get_resources.R b/R/get_resources.R index ec6fcc5..456032a 100644 --- a/R/get_resources.R +++ b/R/get_resources.R @@ -1,4 +1,4 @@ -show_resources <- function(dataset_name){ +show_resources <- function(dataset_name) { # throw error if name type/format is invalid check_dataset_name(dataset_name) @@ -21,4 +21,4 @@ show_resources <- function(dataset_name){ return_value <- list("id" = all_ids, "names" = all_names) return(return_value) - } +} diff --git a/R/show_datasets.R b/R/show_datasets.R index 4b70559..edda707 100644 --- a/R/show_datasets.R +++ b/R/show_datasets.R @@ -1,4 +1,4 @@ -show_datasets <- function(){ +show_datasets <- function() { data_sets <- phs_GET("package_list", "")$result return(data_sets) diff --git a/R/show_resources.R b/R/show_resources.R index ec6fcc5..456032a 100644 --- a/R/show_resources.R +++ b/R/show_resources.R @@ -1,4 +1,4 @@ -show_resources <- function(dataset_name){ +show_resources <- function(dataset_name) { # throw error if name type/format is invalid check_dataset_name(dataset_name) @@ -21,4 +21,4 @@ show_resources <- function(dataset_name){ return_value <- list("id" = all_ids, "names" = all_names) return(return_value) - } +}