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

Warning: failed to find source for 'sandpaper 0.16.6' in package repositories #107

Open
ehogan opened this issue Nov 20, 2024 · 1 comment

Comments

@ehogan
Copy link

ehogan commented Nov 20, 2024

Hello 👋

I am following the instructions at https://carpentries.github.io/sandpaper-docs/migrating-from-styles.html, but I am getting the following error:

- Downloading sandpaper from https://carpentries.r-universe.dev ... 	ERROR [error code 22]
Warning: failed to find source for 'sandpaper 0.16.6' in package repositories
Warning: error downloading 'https://cloud.r-project.org/src/contrib/Archive/sandpaper/sandpaper_0.16.6.tar.gz' [error code 22]
Error: failed to retrieve package '[email protected]'

If I follow the link https://cloud.r-project.org/src/contrib/Archive/sandpaper/sandpaper_0.16.6.tar.gz I am taken to the following page:

image

Has something inadvertently disappeared? 🤔

Thanks in advance for any help you can provide! 😊

@ehogan
Copy link
Author

ehogan commented Nov 21, 2024

Hi again! This is my first time working with R environments and the new Software Carpentry template, but I discovered that I can change the version of sandpaper in the renv.lock file to the latest version (v0.16.10), which then enables sandpaper to be installed! But then I get another error:

Error: package or namespace load failed for ‘gert’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/lesson-transition/renv/staging/1/00LOCK-gert/00new/gert/libs/gert.so':
  /lesson-transition/renv/staging/1/00LOCK-gert/00new/gert/libs/gert.so: undefined symbol: getentropy
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/lesson-transition/renv/staging/1/gert’
install of package 'gert' failed [error code 1]

I can, again, change the version of gert in the renv.lock file to the latest version (v2.1.4), but then I get another error:

/conda/envs/tutorial-transition/bin/../lib/gcc/x86_64-conda-linux-gnu/14.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lxml2: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/conda/envs/tutorial-transition/lib/R/share/make/shlib.mk:10: xml2.so] Error 1
ERROR: compilation failed for package ‘xml2’

The version of xml2 in the renv.lock file is the latest version (v1.3.6)!

Any thoughts? 🤔

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

No branches or pull requests

1 participant