r-lib/backports

Error: install of package 'backports' failed

Closed this issue · 3 comments

Greetings -

I seem to have gotten tripped up trying to install the tidyverse package in R. The process stops at 'backports', which is a dependency of course that I am not familiar with. I have copied the output below. Any help in getting this to install is appreciated. I've used these packages before and never had any type of issue.

Thanks in advance!

Adam

IDE: RStudiov1.3.959
Rv4.0.2

Installing evaluate [0.14] ...
OK (linked cache)
Installing backports [1.1.8] ...
FAILED
Error installing package 'backports':

  • installing source package 'backports' ...
    ** package 'backports' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Warning in system(paste(cmd, "shlib-clean")) : 'make' not found
    Warning in system(cmd) : 'make' not found
    ERROR: compilation failed for package 'backports'
  • removing 'C:/Users/Adam/DOCUME1/CLUE_R1/OPTION~2/renv/staging/1/backports'
    Error: install of package 'backports' failed
    Traceback (most recent calls last):
    16: sourceWithProgress(script = "C:/Users/Adam/AppData/Local/Temp/7dd9-20c1-1e36-bfd9",
    encoding = "UTF-8", con = stdout(), importRdata = NULL, exportRdata = NULL)
    15: eval(statements[[idx]], envir = sourceEnv)
    14: eval(statements[[idx]], envir = sourceEnv)
    13: renv::install("isoband")
    12: renv_install(records, library)
    11: renv_install_staged(records, library)
    10: renv_install_default(records, library)
    9: handler(package, renv_install_impl(record))
    8: renv_install_impl(record)
    7: withCallingHandlers(renv_install_package_local(record), error = function(e) {
    vwritef("\tFAILED")
    writef(e$output)
    })
    6: renv_install_package_local(record)
    5: renv_install_package_local_impl(package, path, library)
    4: r_cmd_install(package, path, library)
    3: r_exec(package, args, "install")
    2: r_exec_error(package, output, label)
    1: stop(error)
    Execution halted

This has to do with a project I'm writing using "renv".....

Sorry for the fuss. Please disregard.

Hi! I have the same issue using renv, did you solve the problem?

Same issue using renv