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

nix test CI: testthat and covr tests for with_nix() #116

Closed
wants to merge 27 commits into from

Conversation

philipp-baumann
Copy link
Collaborator

No description provided.

@philipp-baumann philipp-baumann changed the title covr tests for with_nix(): add {sys} in subshell covr tests for with_nix() Jan 29, 2024
@philipp-baumann philipp-baumann changed the title covr tests for with_nix() nix test CI: testthat and covr tests for with_nix() Jan 29, 2024
@philipp-baumann
Copy link
Collaborator Author

we still have #117 for macOS users; it is something specific to that version of nixpkgs and the aarch64 architecture on darwin. Wonder if we get that for linux and the same architecture, too.

@philipp-baumann
Copy link
Collaborator Author

philipp-baumann commented Jan 30, 2024

Points addressed:

with_nix()

  • If Nix R evaluation of expr fails, then no output should be produced (delete _out.Rds to not load outputs from previous runs in the same tempdir into the R session) => Bug fixing. addresses with_nix(): delete _out.Rds for each run #118
  • wrap session info in try() for Nixpkgs R 3.5.0, because sessionInfo() is not working properly

@philipp-baumann philipp-baumann deleted the covr-with-nix branch February 1, 2024 23:23
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.

1 participant