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

Run tests with a readonly library on CRAN #221

Merged
merged 7 commits into from
Apr 30, 2024

Conversation

spoltier
Copy link
Member

There is a new CRAN check, running the package check with a readonly R library.
See https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/XLConnect-00check.html and https://github.com/kalibera/cran-checks/tree/master/rlibro/results/XLConnect.

→ Avoid any writes in the non-FULL case, including writing the unit tests results.

Copy link
Member Author

@spoltier spoltier left a comment

Choose a reason for hiding this comment

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

We can expedite this if the CRAN team reaches out.

wrong directory, copy-paste from solution
@spoltier spoltier force-pushed the feature/readonly-tests-cran-compliance branch from eb87e7e to b8c5656 Compare April 23, 2024 14:43
@spoltier spoltier force-pushed the feature/readonly-tests-cran-compliance branch from 7ab3a4b to 018c8de Compare April 23, 2024 15:23
@spoltier spoltier force-pushed the feature/readonly-tests-cran-compliance branch from a8ac5bf to 018c8de Compare April 26, 2024 15:05
@spoltier
Copy link
Member Author

@martinstuder tried to do a check for files added to the library after installation, but there is no option to do this with the R check action, and the action itself either cleans up or uses its own R lib. I checked locally on multiple machines, that should suffice.

Copy link
Member

@martinstuder martinstuder left a comment

Choose a reason for hiding this comment

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

lgtm

@spoltier spoltier merged commit 3b50414 into master Apr 30, 2024
5 checks passed
@spoltier spoltier deleted the feature/readonly-tests-cran-compliance branch April 30, 2024 12:30
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.

None yet

2 participants