Skip to content

Commit

Permalink
Using rave-ieeg/rave-pipelines instead of obsolete one
Browse files Browse the repository at this point in the history
  • Loading branch information
dipterix committed Jul 15, 2024
1 parent 1d330c3 commit 83ff0f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ravedash
Type: Package
Title: Dashboard System for Reproducible Visualization of 'iEEG'
Version: 0.1.3.31
Version: 0.1.3.32
Authors@R: c(
person("Zhengjia", "Wang", email = "dipterix.wang@gmail.com", role = c("aut", "cre", "cph"))
)
Expand Down
6 changes: 3 additions & 3 deletions R/core-app.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ensure_template <- function(path, use_cache = TRUE){
template_path <- file.path(R_user_dir("raveio", 'data'), 'rave-pipelines')

if(!use_cache || !dir.exists(template_path)) {
raveio::pipeline_install_github('dipterix/rave-pipelines', to = "default")
raveio::pipeline_install_github('rave-ieeg/rave-pipelines', to = "default")
}

fs <- list.files(template_path, full.names = TRUE, recursive = FALSE)
Expand Down Expand Up @@ -134,11 +134,11 @@ new_session <- function(update = FALSE, app_root = NULL) {
src_pipeline <- file.path(R_user_dir("raveio", 'data'), "pipelines")

if(!dir.exists(src_pipeline)){
stop("No pipeline found. TODO (dev: fixe this)")
stop("No pipeline found. This is often caused by incomplete installation. Please make sure your RAVE installation is complete by opening R and follow the steps below:\n * Check if the packages are up-to-date by the following command, and update RAVE if needed. \n ravemanager::version_info()\n * If everything is up-to-date, run\n options(timeout = 3600)\n ravemanager::finalize_installation()")
}
pipelines <- raveio::pipeline_list(root_path = src_pipeline)
if(!length(pipelines)){
stop("No pipeline found. TODO (dev: fixe this)")
stop("No pipeline found. This is often caused by incomplete installation. Please make sure your RAVE installation is complete by opening R and follow the steps below:\n * Check if the packages are up-to-date by the following command, and update RAVE if needed. \n ravemanager::version_info()\n * If everything is up-to-date, run\n options(timeout = 3600)\n ravemanager::finalize_installation()")
}

# create a temporary repository
Expand Down
4 changes: 2 additions & 2 deletions vignettes/start.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ knitr::opts_chunk$set(

## Set up the templates

`ravedash` requires additional templates from [`RAVE` built-in pipelines](https://github.com/dipterix/rave-pipelines) (released under MIT license). You can always start with this template and expand from there.
`ravedash` requires additional templates from [`RAVE` built-in pipelines](https://github.com/rave-ieeg/rave-pipelines) (released under MIT license). You can always start with this template and expand from there.

To download the template, simply run the following one-time command:

```{r, eval=FALSE}
raveio::pipeline_install_github('dipterix/rave-pipelines')
raveio::pipeline_install_github('rave-ieeg/rave-pipelines')
```

## Manage the dashboard
Expand Down

0 comments on commit 83ff0f1

Please sign in to comment.