Skip to content

Commit 29d73aa

Browse files
committed
renamed snake case to camel case to match naming convention
1 parent cee9a81 commit 29d73aa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

R/colnamesDS.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#' @export
99
#'
1010
colnamesDS <- function(x){
11-
x.val <- .load_serverside_object(x)
12-
.check_class(obj = x.val, obj_name = x, permitted_classes = c("data.frame", "matrix"))
11+
x.val <- .loadServersideObject(x)
12+
.checkClass(obj = x.val, obj_name = x, permitted_classes = c("data.frame", "matrix"))
1313
out <- colnames(x.val)
1414
return(out)
1515
}

R/utils.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' @param x A character string naming the object to be retrieved.
77
#' @return The evaluated R object referred to by `x`.
88
#' @noRd
9-
.load_serverside_object <- function(x) {
9+
.loadServersideObject <- function(x) {
1010
tryCatch(
1111
eval(parse(text = x), envir = parent.frame()),
1212
error = function(e) {
@@ -26,7 +26,7 @@
2626
#' @importFrom glue glue glue_collapse
2727
#' @return Invisibly returns `TRUE` if the class check passes; otherwise throws an error.
2828
#' @noRd
29-
.check_class <- function(obj, obj_name, permitted_classes) {
29+
.checkClass <- function(obj, obj_name, permitted_classes) {
3030
typ <- class(obj)
3131

3232
if (!any(permitted_classes %in% typ)) {

0 commit comments

Comments
 (0)