I got this error trying to build on either develop
or master
on unix.
Do you have the same issue on windows?
─ installing the package to build vignettes E creating vignettes (6.5s) --- re-building ‘demo.Rmd’ using rmarkdown createTcpServer: address already in use Quitting from lines 32-40 (demo.Rmd) Error: processing vignette 'demo.Rmd' failed with diagnostics: Can't get Google credentials. Are you running googledrive in a non-interactive session? Consider: *
drive_deauth()to prevent the attempt to get credentials. * Call
drive_auth()` directly with all necessary specifics.
--- failed re-building ‘demo.Rmd’
--- re-building ‘pocket_demo.Rmd’ using rmarkdown
Quitting from lines 24-55 (pocket_demo.Rmd)
Error: processing vignette 'pocket_demo.Rmd' failed with diagnostics:
there is no package called 'sls'
--- failed re-building ‘pocket_demo.Rmd’
SUMMARY: processing the following files failed:
‘demo.Rmd’ ‘pocket_demo.Rmd’
Error: Vignette re-building failed.
Execution halted
Warning message:
Disconnecting from unused ssh session. Please use ssh_disconnect()
Error: System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/Users/theo/Github/jap/DESCRIPTION’ ... OK
E> * preparing ‘jap’:
E> * checking DESCRIPTION meta-information ... OK
E> * installing the package to build vignettes
E> * creating vignettes ... ERROR
E> --- re-building ‘demo.Rmd’ using rmarkdown
E> createTcpServer: address already in use
E> Quitting from lines 32-40 (demo.Rmd)
E> Error: processing vignette 'demo.Rmd' failed with diagnostics:
E> Can't get Google credentials.
E> Are you running googledrive in a non-interactive session? Consider:
E> * drive_deauth()
to prevent the attempt to get credentials.
E> * Call drive_auth()
directly with all necessary specifics.
E>
E> --- failed re-building ‘demo.Rmd’
E>
E> --- re-building ‘pocket_demo.Rmd’ using rmarkdown
E> Quitting from lines 24-55 (pocket_demo.Rmd)
E> Error: processing vignette 'pocket_demo.Rmd' failed with diagnostics:
E> there is no package called 'sls'
E> --- failed re-building ‘pocket_demo.Rmd’
E>
E> SUMMARY: processing the following files failed:
E> ‘demo.Rmd’ ‘pocket_demo.Rmd’
E>
E> Error: Vignette re-building failed.
E> Execution halted
E> Warning message:
E> Disconnecting from unused ssh session. Please use ssh_disconnect()
E>
Stack trace:
- devtools::check(, check_dir = dirname(getwd()))
- withr::with_envvar(pkgbuild::compiler_flags(FALSE), action = "prefix", ...
- base:::force(code)
- pkgbuild::build(pkg$path, tempdir(), args = build_args, quiet = quiet, ...
- withr::with_temp_libpaths(rcmd_build_tools(options$cmd, c(options$path, ...
- base:::force(code)
- pkgbuild:::rcmd_build_tools(options$cmd, c(options$path, options$args), ...
- pkgbuild:::with_build_tools(callr::rcmd_safe(..., env = env, ...
- callr::rcmd_safe(..., env = env, spinner = FALSE, show = FALSE, ...
- callr:::run_r(options)
- base:::with(options, with_envvar(env, do.call(processx::run, ...
- base:::with.default(options, with_envvar(env, do.call(processx::run, ...
- base:::eval(substitute(expr), data, enclos = parent.frame())
- base:::eval(substitute(expr), data, enclos = parent.frame())
- callr:::with_envvar(env, do.call(processx::run, c(list(bin, args = real_cmd ...
- base:::force(code)
- base:::do.call(processx::run, c(list(bin, args = real_cmdargs, ...
- (function (command = NULL, args = character(), error_on_status = TRUE, ...
- throw(new_process_error(res, call = sys.call(), echo = echo, ...
x System command 'R' failed, exit status: 1, stdout + stderr:
E> * checking for file ‘/Users/theo/Github/jap/DESCRIPTION’ ... OK
E> * preparing ‘jap’:
E> * checking DESCRIPTION meta-information ... OK
E> * installing the package to build vignettes
E> * creating vignettes ... ERROR
E> --- re-building ‘demo.Rmd’ using rmarkdown
E> createTcpServer: address already in use
E> Quitting from lines 32-40 (demo.Rmd)
E> Error: processing vignette 'demo.Rmd' failed with diagnostics:
E> Can't get Google credentials.
E> Are you running googledrive in a non-interactive session? Consider:
E> * drive_deauth()
to prevent the attempt to get credentials.
E> * Call drive_auth()
directly with all necessary specifics.
E>
E> --- failed re-building ‘demo.Rmd’
E>
E> --- re-building ‘pocket_demo.Rmd’ using rmarkdown
E> Quitting from lines 24-55 (pocket_demo.Rmd)
E> Error: processing vignette 'pocket_demo.Rmd' failed with diagnostics:
E> there is no package called 'sls'
E> --- failed re-building ‘pocket_demo.Rmd’
E>
E> SUMMARY: processing the following files failed:
E> ‘demo.Rmd’ ‘pocket_demo.Rmd’
E>
E> Error: Vignette re-building failed.
E> Execution halted
E> Warning message:
E> Disconnecting from unused ssh session. Please use ssh_disconnect()
E>
Execution halted
Exited with status 1.
`