Skip to content
Snippets Groups Projects
Commit 8a0946f9 authored by fvafrcu's avatar fvafrcu
Browse files

ci/cd

parent 7ee732d0
No related branches found
No related tags found
No related merge requests found
Pipeline #902716308 failed
# check if this is gitlab.com
pkgload::load_all(".")
install.packages("remotes", repos = "https://cloud.r-project.org/")
remotes::install_git("https://gitlab.com/fvafrCU/fritools")
r <- fritools::is_running_on_gitlab_com(verbose = TRUE)
warning(attr(r, "message"))
print(r)
if (!isTRUE(r)) stop("Do not recognize gitlab.com")
if (!isTRUE(r)) {
stop("fritools: Do not recognize gitlab.com")
} else {
message("Node is ", Sys.info()[["nodename"]],
", I guess this is gitlab.com.")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment