Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'make' not found #3970

Open
jsendak opened this issue Jan 19, 2024 · 3 comments
Open

'make' not found #3970

jsendak opened this issue Jan 19, 2024 · 3 comments

Comments

@jsendak
Copy link

jsendak commented Jan 19, 2024

CANNOT LOAD SHINY PACKAGE. because 'make' not found

Please see error reports at the bottom of the page

Regards

John Sendak
[email protected]

Windows 10
RStudio Desktop 4.3.2

<!--
This issue tracker is for bugs and feature requests in the Shiny package. If you're having trouble with Shiny Server or a related package, please file an issue in the appropriate repository.

If you're having trouble with shinyapps.io, and you have a paid account (Starter, Basic, Standard, or Pro), please file a support ticket via https://support.rstudio.com. If you have a Free account, please post to the RStudio Community with the shinyappsio tag: https://community.rstudio.com/tags/shinyappsio.

Finally, if you are an RStudio customer and are having trouble with one of our Pro products, get in touch with our support team at [email protected].

Before you file an issue, please upgrade to the latest version of Shiny from CRAN and confirm that the problem persists.

First, restart R.

To install latest shiny from CRAN:

install.packages("shiny")

See our guide to writing good bug reports for further guidance: https://github.com/rstudio/shiny/wiki/Writing-Good-Bug-Reports. The better your report is, the likelier we are to be able to reproduce and ultimately solve it.
-->

System details

Browser Version:

Output of sessionInfo():

# sessionInfo() output goes here

Example application or steps to reproduce the problem

# Minimal, self-contained example app code goes here
<title></title>
<meta name="generator" content="LibreOffice 7.6.4.1 (Windows)"/>
<style type="text/css">
	@page { size: 8.5in 11in; margin: 0.79in }
	td p { orphans: 0; widows: 0; background: transparent }
	pre { background: transparent }
	pre.western { font-family: "Liberation Mono", monospace; font-size: 10pt }
	pre.cjk { font-family: "NSimSun", monospace; font-size: 10pt }
	pre.ctl { font-family: "Liberation Mono", monospace; font-size: 10pt }
	p { line-height: 115%; margin-bottom: 0.1in; background: transparent }
</style>




- The project is out-of-sync -- use `renv::status()` for details.
** Installing R Packages: 'digest', 'htmltools', 'httpuv', 'jsonlite', 'later', 'mime', 'promises', 'rlang', 'R6', 'Rcpp', 'shiny', 'sourcetools', 'xtable'

[1/24] Installing digest...

# Downloading packages -------------------------------------------------------
- Downloading digest from CRAN ... OK [file is up to date]
Successfully downloaded 1 package in 3.9 seconds.

The following package(s) will be installed:
- digest [0.6.34]
These packages will be installed into "E:/R Sessions/Appsilon/shiny-enterprise-dashboard/Appsilon_SED/renv/library/R-4.3/x86_64-w64-mingw32".

# Installing packages --------------------------------------------------------
- Installing digest ... FAILED
Traceback (most recent calls last):
15: .rs.sourceWithProgress(script = "C:/Users/jsend/AppData/Local/Temp/a06b-5a27-dd5c-90d4",
encoding = "UTF-8", con = stdout(), importRdata = NULL, exportRdata = NULL)
14: eval(statements[[idx]], envir = globalenv())
13: eval(statements[[idx]], envir = globalenv())
12: renv::install("digest")
11: renv_install_impl(records)
10: renv_install_staged(records)
9: renv_install_default(records)
8: handler(package, renv_install_package(record))
7: renv_install_package(record)
6: withCallingHandlers(renv_install_package_impl(record), error = function(e) writef("FAILED"))
5: renv_install_package_impl(record)
4: r_cmd_install(package, path)
3: r_exec_error(package, output, "install", status)
2: abort(all)
1: stop(fallback)
Error: Error installing package 'digest':
==================================

* installing source package 'digest' ...
** package 'digest' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
'make' not found
* removing 'E:/R Sessions/Appsilon/shiny-enterprise-dashboard/Appsilon_SED/renv/staging/1/digest'
install of package 'digest' failed [error code 1]
Execution halted






  • installing source package 'Rcpp' ... ** package 'Rcpp' successfully unpacked and MD5 sums checked ** using staged installation ** libs Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), : ### 'make' not found * removing 'E:/R Sessions/Appsilon/shiny-enterprise-dashboard/Appsilon_SED/renv/staging/1/Rcpp' install of package 'Rcpp' failed [error code 1]
    --

| >

 


@cpsievert
Copy link
Collaborator

Looks like the problem arises here

installing source package 'Rcpp' ... ** package 'Rcpp' successfully unpacked and MD5 sums checked ** using staged installation ** libs Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), : ### 'make' not found * removing 'E:/R Sessions/Appsilon/shiny-enterprise-dashboard/Appsilon_SED/renv/staging/1/Rcpp' install of package 'Rcpp' failed [error code 1]

Which says installation of Rcpp failed. I suggest reporting this here instead.

@cpsievert
Copy link
Collaborator

Note also that, if you're trying to install packages from source on Windows, you'll need RTools to do so.

@GabryS3
Copy link

GabryS3 commented Mar 26, 2024

Hi,
it happened to me as well when I try to use the following code to install a previous version of a package:
<
*remotes::install_version("dartR", version = "2.7.2", repos = "http://cran.us.r-project.org",
lib="C:/Users/gabry/Documents/R/R_3.5_dartR2.7.2")

  • installing source package 'bit' ...
    ** package 'bit' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
    'make' not found
  • removing 'C:/Users/Jessica Morgan/Documents/R/R_3.5_dartR2.7.2/bit'
  • installing source package 'tzdb' ...
    ** package 'tzdb' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
    'make' not found
  • removing 'C:/Users/Jessica Morgan/Documents/R/R_3.5_dartR2.7.2/tzdb'
  • installing source package 'backports' ...
    ** package 'backports' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Error in system(paste(MAKE, p1(paste("-f", shQuote(makefiles))), "compilers"), :
    'make' not found
  • removing 'C:/Users/Jessica Morgan/Documents/R/R_3.5_dartR2.7.2/backports'
  • ...>

and so on...for all the dependencies, so the package does not get installed...

How to fix this issue?
I even downloaded and installed the latest RTools & restarted the PC:
<
@DESKTOP-9RRT4IQ MSYS ~
$ make --version
GNU Make 4.3
Built for x86_64-pc-msys
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

But still same issue...I would really appreciate some help as this is blocking my work progress....i just need to install in a custom library folder a previous version of the package and cannot use versions::install.versions() either because it relies on MRAN which closed...

Thank you for any help!
Gabry


R version 4.3.3 (2024-02-29 ucrt) -- "Angel Food Cake"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

RStudio
2023.12.1 Build 402

sometimes i feel i should not have updated to the latest R and RStudio..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants