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

Fastmap not installing for 1.1.1 #35

Closed
abiboakye opened this issue May 5, 2023 · 1 comment
Closed

Fastmap not installing for 1.1.1 #35

abiboakye opened this issue May 5, 2023 · 1 comment

Comments

@abiboakye
Copy link

Hello,

I am getting same error message with 3.5.1 can they confirm fastmap_1.1.1 works for R version 3.5.1. This is a dependency for sparklyr 1.1.0 to be able to install.

That is the error when i try to do the installation: Any help?
usr/local/lib/R/etc/Makeconf:168: recipe for target 'fastmap.o' failed
make: *** [fastmap.o] Error 1
ERROR: compilation failed for package ‘fastmap’

  • removing ‘/home/cdsw/R/fastmap’
    Error: Failed to install 'unknown package' from URL:
@wch
Copy link
Member

wch commented May 5, 2023

This is probably the same issue as rstudio/httpuv#360. I've copied and pasted the comment from @gadenbuie in that issue:


I think you're running into an issue caused by changes in CRAN policy around packages that contain C++ code. If you're interested in the backstory, there's an article on the tidyverse blog that explains the change.

The fix as described there is that for R <= 3.5, you may need to make a small change in your ~/.R/Makevars file to add the following line:

CXX_STD=CXX11

Please try this and let us know how it goes.

@wch wch closed this as completed May 14, 2024
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

2 participants