Skip to content

Commit 40afe17

Browse files
load config file in get_codecheck_yml_gitlab
1 parent 79fc689 commit 40afe17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/configuration.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ get_codecheck_yml_osf <- function(x) {
7878
#' @importFrom httr GET content
7979
#' @importFrom yaml yaml.load
8080
get_codecheck_yml_gitlab <- function(x) {
81+
# Loading config.R file which is needed for the hyperlink
82+
source(system.file("extdata", "config.R", package = "codecheck"))
83+
8184
link <- paste0(CONFIG$HYPERLINKS[["gitlab"]], x, "/-/raw/main/codecheck.yml?inline=false")
8285
response <- httr::GET(link)
8386

0 commit comments

Comments
 (0)