rethomics / zeitgebr

Circadian rhythm analysis and visualisation in R
11 stars 7 forks source link

wavelet transform based periodogram #9

Closed qgeissmann closed 4 years ago

qgeissmann commented 6 years ago

would make sense to implement an interface to CWT in the context of circadian biology

orijitghosh commented 4 years ago

Hi, I see in the zeitgebr vignette, cwt_periodogram is included, but in reality, it's not! Any plans to include CWT or DWT anytime soon? Thanks for the great package, just discovered it, redoing some of my previous analysis with it.

qgeissmann commented 4 years ago

Hi @orijitghosh, thanks for your feed back! Yes, I think it is on the github versin, but never made it to the CRAN release. Can you try to install the dev version from github?:

library(devtools)
install_github("rethomics/zeitgebr")

I guess if everything is fine, we should push it to CRAN as a new version at some point. let me know if it works, Q

orijitghosh commented 4 years ago

Thanks @qgeissmann for your reply. I tried installing the dev version, it threw me the following error:

> library(devtools)
> install_github("rethomics/zeitgebr")
Downloading GitHub repo rethomics/zeitgebr@HEAD
rethomics-zeitgebr-9582ffa/.Rbuildignore: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\.Rbuildignore'
rethomics-zeitgebr-9582ffa/.gitignore: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\.gitignore'
rethomics-zeitgebr-9582ffa/.travis_after_success.sh: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\.travis_after_success.sh'
rethomics-zeitgebr-9582ffa/.travis_check.sh: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\.travis_check.sh'
rethomics-zeitgebr-9582ffa/.travis_deploy.sh: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\.travis_deploy.sh'
rethomics-zeitgebr-9582ffa/Makefile: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\Makefile'
rethomics-zeitgebr-9582ffa/README.Rmd: Can't create '\\\\?\\C:\\Users\\ariji\\AppData\\Local\\Temp\\Rtmpam6sSo\\remotes12803ced9d6\\rethomics-zeitgebr-9582ffa\\README.Rmd'
tar.exe: Error exit delayed from previous errors.
Error: Failed to install 'zeitgebr' from GitHub:
  Git does not seem to be installed on your system.
In addition: Warning message:
In utils::untar(tarfile, ...) :
  ‘tar.exe -xf "C:\Users\ariji\AppData\Local\Temp\Rtmpam6sSo\file12807ec214d4.tar.gz" -C "C:/Users/ariji/AppData/Local/Temp/Rtmpam6sSo/remotes12803ced9d6"’ returned error code 1

I do not face this problem installing any other package from Github. Can you help me regarding this?

qgeissmann commented 4 years ago

ah! the package does have submodules. It looks like install_github handles submodules using git, which you seem not to have installed? (https://github.com/tidyverse/lubridate/issues/544)

orijitghosh commented 4 years ago

hi @qgeissmann , I am sorry for not notifying earlier, all problems I had have been solved. Thank you so much.