Skip to content

Commit

Permalink
Version 0.3.0. Update pkgdown.yaml from .github to resolve CPython 3.…
Browse files Browse the repository at this point in the history
…12 version issue
  • Loading branch information
Jinyao Tian committed Sep 18, 2024
1 parent c3b98cf commit 6d259b5
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .Rproj.user/6A9A55E1/pcs/files-pane.pper
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"ascending": true
}
],
"path": "~/Desktop/MRIreduce/man/figures"
"path": "~/Desktop/MRIreduce/.github/workflows"
}
2 changes: 1 addition & 1 deletion .Rproj.user/6A9A55E1/pcs/source-pane.pper
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"activeTab": 1
"activeTab": 2
}
4 changes: 2 additions & 2 deletions .Rproj.user/6A9A55E1/pcs/windowlayoutstate.pper
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"left": {
"splitterpos": 241,
"splitterpos": 380,
"topwindowstate": "NORMAL",
"panelheight": 663,
"windowheight": 701
},
"right": {
"splitterpos": 236,
"splitterpos": 203,
"topwindowstate": "NORMAL",
"panelheight": 663,
"windowheight": 701
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
with:
use-public-rspm: true

# **Add the setup-python action here**
- uses: actions/setup-python@v4
id: setup_python
with:
python-version: '3.11'

# **Set the RETICULATE_PYTHON environment variable**
- name: Set RETICULATE_PYTHON environment variable
run: echo "RETICULATE_PYTHON=${{ steps.setup_python.outputs.python-path }}/bin/python" >> $GITHUB_ENV

- name: Install required R packages
run: |
install.packages('remotes', repos = 'https://cloud.r-project.org/')
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: MRIreduce
Type: Package
Title: MRIreduce: An R Package for ROI-Based Transformation of Neuroimages into High-Dimensional Data Frames
Version: 0.2.0
Version: 0.3.0
Authors@R: c(
person("Joshua", "Milstein", email = "[email protected]", role = c("aut")),
person("Jinyao", "Tian", email = "[email protected]", role = c("aut", "cre"))
Expand Down
2 changes: 1 addition & 1 deletion R/map2_eve.R
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ map2_eve <- function(mask_img_path, cmap = 'bwr_r', alpha = 1, save_path = NULL,
}

##test
map2_eve(mask_img_path = "/Users/jinyaotian/Downloads/mask_nifti_GM_Volume_pm25_test1_avg_red.nii.gz",save_path = '/Users/jinyaotian/Desktop/test.png',title = "Mask on EVE Template" )
#map2_eve(mask_img_path = "/Users/jinyaotian/Downloads/mask_nifti_GM_Volume_pm25_test1_avg_red.nii.gz",save_path = '/Users/jinyaotian/Desktop/test.png',title = "Mask on EVE Template" )

0 comments on commit 6d259b5

Please sign in to comment.