From bc1f1cc477553c42a0d7329a8dd3ca856510a7e9 Mon Sep 17 00:00:00 2001 From: Niclas Date: Tue, 3 Mar 2026 07:45:38 +0100 Subject: [PATCH] Fixed loading sources, by using the here package --- R/graphon_distribution.R | 2 +- R/singular_values.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/graphon_distribution.R b/R/graphon_distribution.R index 5bf76bb..72fedea 100644 --- a/R/graphon_distribution.R +++ b/R/graphon_distribution.R @@ -1,6 +1,6 @@ # Load the general quantile function, the loading can be improved later # using the here package. -source("R/qinf.R") +source(here::here("R", "qinf.R")) # 1. Distribution Function ----------------------------------------------------- diff --git a/R/singular_values.R b/R/singular_values.R index 747ebed..1236052 100644 --- a/R/singular_values.R +++ b/R/singular_values.R @@ -1,5 +1,5 @@ # TODO improve later using the here package -source("R/graphon_distribution.R") +source(here::here("R", "graphon_distribution.R")) # 1. Compute the Matrix Q according to (3.1) ----------------------------------- #' Compute the matrix **Q**