Unknown error returned while checking my R package

Travis CI is encountering an error during its setup phrase when building R packages.

The following is the error:
The command “Rscript -e ‘deps <- remotes::dev_package_deps(dependencies = NA);remotes::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: “, paste(setdiff(deps$package, installed.packages()), collapse=”, ")); q(status = 1, save = “no”)}’” failed and exited with 1 during .

I have no remote package in my description. I have only suggested and imported some packages in the DESCRIPTION file all of which are available on CRAN.

It is the same issue previously brought up on Github (https://github.com/r-lib/devtools/issues/2020#issue-430736777).

Does anyone know how to get rid of this error? I think the problem is on Travis’ side as in other checks and environment tests I get no error!

Please link to an affected build, otherwise there’s insufficient information for diagnostics.

Thanks for your reply. Please take a look at the build:
https://travis-ci.org/asalavaty/influential/builds/638276992

can you please explain in more detail how should I resolve this issue?

Should I add any line of code to the yaml file?