Can anyone help me how to install "biwavelet"?.I have tried and I got this message

install.packages("biwavelet", lib="/Library/Frameworks/R.framework/Versions/3.3/Resources/library")
Package which is only available in source form, and may need compilation of
C/C++/Fortran: ‘biwavelet’
Do you want to attempt to install these from sources?
y/n: y
installing the source package ‘biwavelet’

trying URL 'https://cran.rstudio.com/src/contrib/biwavelet_0.20.17.tar.gz'
Content type 'application/x-gzip' length 428653 bytes (418 KB)

downloaded 418 KB

Warning in strptime(xx, f <- "%Y-%m-%d %H:%M:%OS", tz = tz) :
unknown timezone 'zone/tz/2019b.1.0/zoneinfo/Africa/Kigali'

  • installing source package ‘biwavelet’ ...
    ** package ‘biwavelet’ successfully unpacked and MD5 sums checked
    ** libs
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    ERROR: compilation failed for package ‘biwavelet’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/biwavelet’
    Warning in install.packages :
    installation of package ‘biwavelet’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/nw/t8kby9q1175b5q4y34zgk1800000gn/T/RtmpNEeFqY/downloaded_packages’

Do you have xcode installed in your system? You need it for compiling packages on MacOS

xcode-select --install

Here are some installation instructions

1 Like

Thanks.let me try that one

It is working now,I have installed "biwavelet".Thank you so much for your help!

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.