Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

build_vignette() error #530

Open
tsmith93 opened this issue Nov 8, 2018 · 5 comments
Open

build_vignette() error #530

tsmith93 opened this issue Nov 8, 2018 · 5 comments

Comments

@tsmith93
Copy link

tsmith93 commented Nov 8, 2018

Anybody ever encounter this:

build_vignettes()
Building powers vignettes
<system_command_status_error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout), stderr_line_callback = real_callback(stderr), stdout_callback = real_block_callback, stderr_callback = real_block_callback, echo_cmd = echo, echo = show, spinner = spinner, error_on_status = fail_on_status, timeout = timeout): System command error>
Error in run(bin, args = real_cmdargs, stdout_line_callback = real_callback(stdout), :
System command error

@vincenzocoia
Copy link
Member

Google doesn't seem to give any related hits. Can you let us know the version of devtools and R you're using? I think the next step to debugging this is to try and reproduce the error, and this is the first step.

@vincenzocoia
Copy link
Member

Other things to try that might provide more info:

  1. Run a "check" on the package -- any insight there?
  2. Try starting a new R package, create a new vignette, then try building. Does the error still happen? If so, this might be something to inform the developers of devtools.

@tsmith93
Copy link
Author

tsmith93 commented Nov 8, 2018

@vincenzocoia I am using R 3.5.1 GUI 1.70 El Capitan build (7543) for R, Version 1.1.456 for RStudio, and version 2.0.1 for devtools.

@vincenzocoia
Copy link
Member

Try starting a new R package, create a new vignette, then try building. Does the error still happen?

I'd be interested in seeing the result of this, to see whether it's worth posting an issue in the devtools github repo.

@tsmith93
Copy link
Author

Hi @vincenzocoia apologies for the delayed result, but alas, I found a solution!

I actually just worked through all the components of Jenny Bryan's page on preparing systems for package development. In the end, I had no issues building my vignette! I have a feeling it was either

update.packages(ask = FALSE)

or

library(devtools) install_github("hadley/devtools")

that did the trick.

So @Bill1111 hopefully this works for you too!

@tsmith93 tsmith93 reopened this Nov 16, 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