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

Error in loadNamespace(name) : there is no package called ‘IRkernel’ in R 3.5.1 #579

Closed
anshumansinghraghuvanshi opened this issue Aug 27, 2018 · 1 comment

Comments

@anshumansinghraghuvanshi
Copy link

anshumansinghraghuvanshi commented Aug 27, 2018

downloaded 596 KB

Installing pbdZMQ
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore  \
  --quiet CMD INSTALL  \
  '/private/var/folders/94/8px0b66x2qz1_9cdlfbnk4fw0000gn/T/Rtmps5hsN2/devtools2aee43058951/pbdZMQ'  \
  --library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests 

* installing *binary* packagepbdZMQ...
* DONE (pbdZMQ)
Skipping install of 'repr' from a cran remote, the SHA1 (0.15.0) has not changed since last install.
  Use `force = TRUE` to force installation
trying URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.5/uuid_0.1-2.tgz'
Content type 'application/x-gzip' length 26061 bytes (25 KB)
==================================================
downloaded 25 KB

Installing uuid
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore  \
  --quiet CMD INSTALL  \
  '/private/var/folders/94/8px0b66x2qz1_9cdlfbnk4fw0000gn/T/Rtmps5hsN2/devtools2aee437f2511/uuid'  \
  --library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests 

* installing *binary* packageuuid...
* DONE (uuid)
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore  \
  --quiet CMD INSTALL  \
  '/private/var/folders/94/8px0b66x2qz1_9cdlfbnk4fw0000gn/T/Rtmps5hsN2/devtools2aee700c023e/IRkernel-IRkernel-97c492b'  \
  --library='/Library/Frameworks/R.framework/Versions/3.5/Resources/library' --install-tests 

* installing *source* packageIRkernel...
** R
** inst
** tests
** byte-compile and prepare package for lazy loading
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Warning in system(paste(cmd.ot, " -D ", fn.dylib, sep = ""), intern = TRUE) :
  running command '/usr/bin/otool -D /Library/Frameworks/R.framework/Versions/3.5/Resources/library/pbdZMQ/libs/libzmq.5.dylib' had status 1
Error : .onLoad failed in loadNamespace() for 'pbdZMQ', details:
  call: if (id[2] != fn.dylib) {
  error: missing value where TRUE/FALSE needed
ERROR: lazy loading failed for packageIRkernel* removing/Library/Frameworks/R.framework/Versions/3.5/Resources/library/IRkernelInstallation failed: Command failed (1)
Warning message:
GitHub repo contains submodules, may not function as expected! 
> IRkernel::installspec()
Error in loadNamespace(name) : there is no package calledIRkernel> version
               _                           
platform       x86_64-apple-darwin15.6.0   
arch           x86_64                      
os             darwin15.6.0                
system         x86_64, darwin15.6.0        
status                                     
major          3                           
minor          5.1                         
year           2018                        
month          07                          
day            02                          
svn rev        74947                       
language       R                           
version.string R version 3.5.1 (2018-07-02)
nickname       Feather Spray               
@flying-sheep
Copy link
Member

the error is this part

Error : .onLoad failed in loadNamespace() for 'pbdZMQ', details:
  call: if (id[2] != fn.dylib) {
  error: missing value where TRUE/FALSE needed

i.e. pbdZMQ failed to install, so this is a pbdZMQ error not an IRkernel error. please file an isue there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants