Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create r.yml #7

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Create r.yml #7

merged 2 commits into from
Jul 31, 2024

Conversation

ryan-odea
Copy link
Contributor

No description provided.

@ryan-odea
Copy link
Contributor Author

Overhauling and adding github actions - this PR instantiates gh actions with the CMD check and the next PR (Overhaul) will clean up the issues with the CMD check as they are now (some environment variables will need some changing I think)

@ryan-odea ryan-odea requested a review from ddbaptiste July 31, 2024 15:06
Copy link
Contributor

@ddbaptiste ddbaptiste left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, with MacOS we can get through installing R 4.1.1, but now we're running into an issue here:

Run install.packages(c("remotes", "rcmdcheck"))
  install.packages(c("remotes", "rcmdcheck"))
  remotes::install_deps(dependencies = TRUE)
  shell: /usr/local/bin/Rscript {0}
  env:
    R_LIBS_USER: /Users/runner/work/_temp/Library
    TZ: UTC
    _R_CHECK_SYSTEM_CLOCK_: FALSE
    NOT_CRAN: true
Error: An error occurred trying to start process '/usr/local/bin/Rscript' with working directory '/Users/runner/work/Syndemics/Syndemics/Syndemics'. No such file or directory

I'm not familiar with how environment works on MacOS, but it appears that Rscript isn't in the runner's $PATH, so the command can't be found after R is installed. I presume once that gets resolved the check will pass.

Requesting changes to the workflow to ideally get the check to pass.

@ryan-odea ryan-odea merged commit cf2c627 into main Jul 31, 2024
1 check failed
@ryan-odea ryan-odea deleted the ryan-odea-patch-1 branch July 31, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants