Skip to content

error converted from warning #1929

@BenoitLondon

Description

@BenoitLondon

When calling devtools functions sometimes a simple warning (due to my R installation on docker missing some folders/files) gets converted into an error and thus crashes the gitlab pipeline
Is it possible to avoid the warning to error conversion?

e.g

> devtools::install()
Select package(s) to update
1:   Rcpp (0.12.19 -> 1.0.0) [CRAN]
Enter one or more numbers separated by spaces, or an empty line to cancel
1: 1
Installing 1 packages: Rcpp
.....
DONE (Rcpp)

The downloaded source packages are in
	‘/tmp/RtmpPEuxFH/downloaded_packages’
Updating HTML index of packages in '.Library'
Error in file.create(f.tg) : 
  (converted from warning) cannot create file '/usr/lib64/R/doc/html/packages.html', reason 'No such file or directory'

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