Skip to content

Commit

Permalink
i #282 Fixed Relative Paths in Notebooks
Browse files Browse the repository at this point in the history
- The project configuration sections of each notebook were incorrectly using the project directory (kaiaulu/) as their working directory rather than the directory that they reside in (/vignettes/) as their working directory.
  • Loading branch information
beydlern committed Oct 18, 2024
1 parent ab73bc7 commit 810c183
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion vignettes/download_github_comments.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Therefore, in this Notebook we have to rely on three endpoints from the GitHub A
To use the pipeline, you must specify the organization and project of interest, and your token. Obtain a github token following the instructions [here](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).

```{r}
conf <- parse_config("conf/kaiaulu.yml")
conf <- parse_config("../conf/kaiaulu.yml")
save_path_issue_refresh <- get_github_issue_search_path(conf, "project_key_1")
save_path_issue <- get_github_issue_path(conf, "project_key_1")
Expand Down
4 changes: 2 additions & 2 deletions vignettes/gitlog_entity_showcase.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ require(knitr)
# Project Configuration File

```{r}
tool <- parse_config("tools.yml")
conf <- parse_config("conf/kaiaulu.yml")
tool <- parse_config("../tools.yml")
conf <- parse_config("../conf/kaiaulu.yml")
# 3rd Party Tools
perceval_path <- get_tool_project("perceval", tool)
Expand Down
4 changes: 2 additions & 2 deletions vignettes/gitlog_showcase.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ The file makes all assumptions explicit to you when using the code. Note these a
The following code block reads the information explained just now:

```{r}
tool <- parse_config("tools.yml")
conf <- parse_config("conf/kaiaulu.yml")
tool <- parse_config("../tools.yml")
conf <- parse_config("../conf/kaiaulu.yml")
perceval_path <- get_tool_project("perceval", tool)
git_repo_path <- get_git_repo_path(conf)
git_branch <- get_git_branches(conf)[1]
Expand Down

0 comments on commit 810c183

Please sign in to comment.