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

add rSharp-based reusable workflows #33

Merged
merged 8 commits into from
Jul 22, 2024

Conversation

Felixmil
Copy link
Contributor

No description provided.

@Felixmil Felixmil changed the title R sharp actions add rSharp-based reusable workflows Jul 19, 2024
Felixmil added a commit to Open-Systems-Pharmacology/OSPSuite-R that referenced this pull request Jul 19, 2024
@Felixmil
Copy link
Contributor Author

Ready for review @Yuri05

Comment on lines +43 to +47
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
error-on: 'c("error")'
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should add --no-vignettes to the check args?
args: c("--no-manual", "--as-cran", "--no-vignettes")
Otherwise all vignettes outputs are created twice: first during the check step, and then during the build step.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It depends if we want to make vignettes available for the users directly from R (with vignette(...)) or not.

Copy link
Member

Choose a reason for hiding this comment

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

I don't quite understand this.
If the vignettes are built and delivered as part of the package: they can be accessed via vignette(..).. or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but if they are not build during this process, they will not be available.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Anyway, I think we should stick with the default behavior (this is the default from r-lib repo)

Copy link
Member

Choose a reason for hiding this comment

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

Ok, I have created a separate issue for this: #34

@Yuri05 Yuri05 merged commit 95d72da into Open-Systems-Pharmacology:main Jul 22, 2024
1 check passed
Felixmil added a commit to Open-Systems-Pharmacology/OSPSuite-R that referenced this pull request Jul 23, 2024
* use shared workflow submited in Open-Systems-Pharmacology/Workflows#33

* Disable default jekkyl github website
@Felixmil Felixmil deleted the rSharp-actions branch July 23, 2024 15:02
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.

2 participants