Skip to content

Error with sample code #45

@volfi

Description

@volfi

I cannot run the code which you provide:

image: rocker/r-ubuntu:18.04
variables:
  ALLOWED_WARNINGS: 0
  ALLOWED_NOTES: 0
  NO_IMPORTS: 0

before_script:
  - Rscript -e "install.packages('remotes')"
  - Rscript -e "remotes::install_github('jumpingrivers/inteRgrate')"

check:
  script:
    - Rscript -e "inteRgrate::check_via_env(default = 'true')"

It leaves me following error message:

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
ERROR: dependencies ‘lintr’, ‘rcmdcheck’, ‘usethis’ are not available for package ‘inteRgrate’
* removing ‘/usr/local/lib/R/site-library/inteRgrate’
There were 11 warnings (use warnings() to see them)
$ Rscript -e "inteRgrate::check_lintr(path = '.')"
Error in loadNamespace(x) : there is no package called ‘inteRgrate’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions