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

Build failure: Error in loadNamespace(x) : there is no package called ‘palmerpenguins’ #96

Open
barracuda156 opened this issue Apr 2, 2023 · 2 comments

Comments

@barracuda156
Copy link

This is likely Macports-specific error, but this is the only one package I got it (we have about 1500 R packages in Macports by now):

--->  Configuring R-palmerpenguins
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-palmerpenguins/R-palmerpenguins/work/palmerpenguins" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘palmerpenguins’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* re-saving .R files as .rda
Error in loadNamespace(x) : there is no package called ‘palmerpenguins’
Execution halted
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-palmerpenguins/R-palmerpenguins/work/palmerpenguins" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
Exit code: 1
Error: Failed to configure R-palmerpenguins: configure failure: command execution failed

NAMESPACE has:

# Generated by roxygen2: do not edit by hand

export(path_to_file)
@barracuda156 barracuda156 changed the title CRAN version fails to build: Error in loadNamespace(x) : there is no package called ‘palmerpenguins’ Build failure: Error in loadNamespace(x) : there is no package called ‘palmerpenguins’ Apr 4, 2023
@barracuda156
Copy link
Author

Both CRAN 0.1.1 (above) and GitHub 0.1.0 (below) fail.

--->  Extracting palmerpenguins-0.1.0.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-palmerpenguins/R-palmerpenguins/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/R-palmerpenguins/palmerpenguins-0.1.0.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring R-palmerpenguins
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-palmerpenguins/R-palmerpenguins/work/palmerpenguins-0.1.0" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘palmerpenguins’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* re-saving .R files as .rda
Error in loadNamespace(x) : there is no package called ‘palmerpenguins’
Execution halted
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_R_R-palmerpenguins/R-palmerpenguins/work/palmerpenguins-0.1.0" && /opt/local/bin/R CMD build . --no-manual --no-build-vignettes 
Exit code: 1

@barracuda156
Copy link
Author

@allisonhorst Any chance to address this error?

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