-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Hello,
I'm trying to install dplyr.
Below some info on my system:
➜ R --version
R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin23.6.0
➜ clang -v
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: x86_64-apple-darwin24.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
And the error:
apertura URL 'https://cloud.r-project.org/src/contrib/dplyr_1.1.4.tar.gz'
Content type 'application/x-gzip' length 1207521 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
* installing *source* package ‘dplyr’ ...
** this is package ‘dplyr’ version ‘1.1.4’
** pacchetto ‘dplyr’ aperto con successo con controllo somme MD5
** using staged installation
** libs
con compilatore C++: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’
con SDK: ‘MacOSX15.2.sdk’
clang++ -std=gnu++17 -I"/usr/local/Cellar/r/4.5.0/lib/R/include" -DNDEBUG -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/opt/xz/include -I/usr/local/include -fPIC -g -O2 -c chop.cpp -o chop.o
In file included from chop.cpp:1:
In file included from ./dplyr.h:5:
/usr/local/Cellar/r/4.5.0/lib/R/include/R.h:39:11: fatal error: 'cstdlib' file not found
39 | # include <cstdlib>
| ^~~~~~~~~
1 error generated.
make: *** [chop.o] Error 1
ERROR: compilation failed for package ‘dplyr’
* removing ‘/usr/local/lib/R/4.5/site-library/dplyr’
I pacchetti scaricati con il codice sorgente sono in
‘/private/var/folders/ln/r_c5vx295nd751vpyxq94bd80000gn/T/Rtmp3oGKC7/downloaded_packages’
Messaggio di avvertimento:
In install.packages("dplyr") :
l'installazione del pacchetto ‘dplyr’ ha uno stato di uscita non-zero
My ~/.R/Makevars file is empty right now.
Any tips on how to fix?
Metadata
Metadata
Assignees
Labels
No labels