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

Description Remotes can not have spaces after the second line #1055

Closed
lucacerone opened this issue Jan 29, 2016 · 3 comments
Closed

Description Remotes can not have spaces after the second line #1055

lucacerone opened this issue Jan 29, 2016 · 3 comments

Comments

@lucacerone
Copy link

I am not sure whether this is actually an R (v3.2.3) issue or a devtools ( v 1.10.0.9000) issue,
so I apologize now if it is not relevant.

If in my DESCRIPTION file I have something like:

Depends:
 R (>= 3.2.3)
Imports:
 devtools (>= 1.10.0)
Remotes:
 hadley/ggplot2

then everything works fine.

However if I change DESCRIPTION to be (note: I have now two github remotes)

Depends:
 R (>= 3.2.3)
Imports:
 devtools (>= 1.10.0)
Remotes: 
  hadley/ggplot2
  hadley/memoise

then install() fails with error:

Downloading GitHub repo hadley/ggplot2
hadley@master
from URL https://api.github.com/repos/hadley/ggplot2
hadley/zipball/master
Error in curl::curl_fetch_memory(url, handle = handle) : 
  URL using bad/illegal format or missing URL

I have experienced similar issues using git:: url:: and so on, although now I am not able to reproduce the issue with them.

@jimhester
Copy link
Member

Remotes: works the same as Imports: etc, you need commas in between each entry.

@@ -3,5 +3,5 @@
 Imports:
  devtools (>= 1.10.0)
 Remotes:
-  hadley/ggplot2
+  hadley/ggplot2,
   hadley/memoise

@lucacerone
Copy link
Author

thanks (embarassed)

@lock
Copy link

lock bot commented Sep 18, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants