Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tp_fp_fetch <- function() {
0.0
} else {
# get repo info
repo_info <- gh::gh("GET /repos/treeppl/treepplr/releases")
repo_info <- gh::gh("GET /repos/treeppl/treeppl/releases")
# Check for Linux
if (Sys.info()["sysname"] == "Linux") {
# assets[[2]] because releases are in alphabetical order (1 = Mac, 2 = Linux)
Expand Down Expand Up @@ -100,7 +100,7 @@ installing_treeppl <- function() {
path <- system.file("treeppl-linux", package = "treepplr")
file_name <- paste0("treeppl-",substring(tag, 2))
} else {#Mac OS have a lot of different name
path <- system.file("treeppl-linux", package = "treepplr")
path <- system.file("treeppl-mac", package = "treepplr")
file_name <- paste0("treeppl-",substring(tag, 2))
}
# Test if tpplc is already here
Expand Down Expand Up @@ -199,7 +199,7 @@ tp_model_names <- function() {
coin = "coin",
hostrep3states = "hostrep3states",
hostrep2states = "hostrep2states",
treeinference = "treeinference",
tree_inference = "tree_inference",
crbd = "crbd",
clads = "clads"
)
Expand Down