Skip to content

Drop broken .venv/lib64 symlink that breaks R CMD build#15

Open
TroyHernandez wants to merge 2 commits intomainfrom
fix/ci-broken-symlink
Open

Drop broken .venv/lib64 symlink that breaks R CMD build#15
TroyHernandez wants to merge 2 commits intomainfrom
fix/ci-broken-symlink

Conversation

@TroyHernandez
Copy link
Copy Markdown
Contributor

Summary

  • CI on main has been failing since the workflow was added (PR Add GitHub Actions CI with r-ci #11). The error is cp: cannot stat 'diffuseR/inst/validation/.venv/lib64': No such file or directory during R CMD build.
  • Root cause: inst/validation/.venv/lib64 is a tracked symlink → lib, but lib/ doesn't exist in the repo. R CMD build's copy step follows the symlink and fails before .Rbuildignore filtering kicks in.
  • Fix: git rm the dangling symlink. The .venv directory is already in .Rbuildignore, so this is purely cleanup of a stale tracked file.
  • Bumps version to 0.0.3.

Test plan

  • CI passes on this PR

R CMD build copy step failed with "cannot stat .venv/lib64: No such
file or directory" because the symlink targets a non-existent ./lib
dir. .Rbuildignore excludes .venv from the tarball, but the cp -R
during build runs first and chokes on the dangling symlink. Bump to
0.0.3.
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