Skip to content

Commit

Permalink
fix medoid naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wincowgerDEV committed Nov 1, 2024
1 parent 77740e2 commit 5c980ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions R/manage_lib.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
#' Israel).
#'
#' @export
check_lib <- function(type = c("derivative", "nobaseline", "raw", "mediod",
check_lib <- function(type = c("derivative", "nobaseline", "raw", "medoid",
"model"),
path = "system", condition = "warning") {

Expand Down Expand Up @@ -199,8 +199,8 @@ get_lib <- function(type = c("derivative",
}

if("medoid" %in% type){
message("Fetching mediod library...")
download.file("https://osf.io/download/yzscg/", destfile = file.path(lp, "mediod.rds"), mode = "wb")
message("Fetching medoid library...")
download.file("https://osf.io/download/yzscg/", destfile = file.path(lp, "medoid.rds"), mode = "wb")
}

if("model" %in% type){
Expand Down Expand Up @@ -237,7 +237,7 @@ load_lib <- function(type, path = "system") {
#' @rdname manage_lib
#'
#' @export
rm_lib <- function(type = c("derivative", "nobaseline", "raw", "mediod",
rm_lib <- function(type = c("derivative", "nobaseline", "raw", "medoid",
"model"),
path = "system") {
lp <- ifelse(path == "system",
Expand Down
4 changes: 2 additions & 2 deletions man/manage_lib.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c980ce

Please sign in to comment.