Skip to content

How do I add a pre-build command? #169

@bokov

Description

@bokov

I'm trying to execute an additional installation step without replacing whatever r-appveyor already does by default.

I tried this...

 build_script:
   - travis-tool.sh install_deps
   - Rscript -e 'remotes::install_deps(dependencies = TRUE, upgrade="never", type="source")'

...and it failed: https://ci.appveyor.com/project/bokov/rio/builds/28731939

Then I tried this...

 build_script:
   - travis-tool.sh install_deps && Rscript -e 'remotes::install_deps(dependencies = TRUE, upgrade="never", type="source")'

...it also failed: https://ci.appveyor.com/project/bokov/rio/builds/28731987

In both cases the error was:

Rscript -e 'remotes::install_deps(dependencies = TRUE, upgrade="never", type="source")'
Error: unexpected end of input
Execution halted

What is the correct syntax for inserting something after the built-in r-appveyor build_script?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions