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

Cannot execute remotes::install_github("facebookexperimental/Robyn/app") #963

Open
jalo90 opened this issue Apr 30, 2024 · 4 comments
Open
Assignees

Comments

@jalo90
Copy link

jalo90 commented Apr 30, 2024

Project Robyn

Describe issue

Cannot execute remotes::install_github("facebookexperimental/Robyn/app")

Provide reproducible example

remotes::install_github("facebookexperimental/Robyn/app")
Downloading GitHub repo facebookexperimental/Robyn@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL '
https://api.github.com/repos/facebookexperimental/Robyn/tarball/HEAD'

Environment & Robyn version

Robyn ‘3.9.0’
"R version 4.2.1 (2022-06-23 ucrt)"

  • Check and share Robyn version: packageVersion("Robyn")
  • R version (Please, check and share: sessionInfo() or R.version$version.string)
@shuvayan
Copy link

shuvayan commented May 1, 2024

Can you please try with the below code and try. I am not being able to reproduce the error :

> library(remotes)
> remotes::install_github("facebookexperimental/Robyn/R")

Downloading GitHub repo facebookexperimental/Robyn@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/private/var/folders/__/qxp2lqfx6w9_fbpbybfth3b40000gn/T/RtmpR6QiSA/remotesdc324b72a86d/facebookexperimental-Robyn-7ca8d28/R/DESCRIPTION’ ...
─  preparing ‘Robyn’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘Robyn_3.10.6.9004.tar.gz’
   
Installing package into ‘/Users/SD/Library/R/arm64/4.4/library’
(as ‘lib’ is unspecified)
* installing *source* package ‘Robyn’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Robyn)

@jalo90
Copy link
Author

jalo90 commented May 2, 2024

We tried what you have suggested but it didn't push through:

library(remotes)
Warning message:
package ‘remotes’ was built under R version 4.2.3
remotes::install_github("facebookexperimental/Robyn/R")
Error: Failed to install 'Robyn' from GitHub:
Timeout was reached: [api.github.com] SSL/TLS connection timeout
remotes::install_github("facebookexperimental/Robyn/R")
Downloading GitHub repo facebookexperimental/Robyn@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL '
https://api.github.com/repos/facebookexperimental/Robyn/tarball/HEAD'

@gufengzhou
Copy link
Contributor

It's not a Robyn problem. Are you on a windows machine? if yes, can you please check this thread? forestgeo/learn#102

@gufengzhou gufengzhou self-assigned this May 3, 2024
@jalo90
Copy link
Author

jalo90 commented May 8, 2024 via email

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

3 participants