You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when trying to install the promises package I gert the followign error:
devtools::install_github("rstudio/promises")
Downloading GitHub repo rstudio/promises@master
✔ checking for file ‘/tmp/Rtmps5Ik2g/remotes6f77053bb51/rstudio-promises-1d30f6e/DESCRIPTION’ ...
─ preparing ‘promises’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘promises_1.0.1.9000.tar.gz’
Installing package into ‘/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
installing source package ‘promises’ ...
** libs
g++ -I"/usr/include/R/" -DNDEBUG -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/later/include" -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c RcppExports.cpp -o RcppExports.o
g++ -I"/usr/include/R/" -DNDEBUG -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/later/include" -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c promise_task.cpp -o promise_task.o
promise_task.cpp:4:28: Fehler: »later« wurde nicht deklariert
class PromiseTask : public later::BackgroundTask {
^~~~~
promise_task.cpp:4:35: Fehler: expected »{« before »BackgroundTask«
class PromiseTask : public later::BackgroundTask {
^~~~~~~~~~~~~~
promise_task.cpp:5:1: Fehler: expected primary-expression before »public«
public:
^~~~~~
promise_task.cpp:5:1: Fehler: expected »}« before »public«
promise_task.cpp:4:50: Anmerkung: andere Fundstelle von »{« ist hier
class PromiseTask : public later::BackgroundTask {
^
promise_task.cpp:10:1: Fehler: expected unqualified-id before »protected«
protected:
^~~~~~~~~
promise_task.cpp:12:3: Fehler: »virtual« außerhalb einer Klassendeklaration
virtual Rcpp::RObject get_result() = 0;
^~~~~~~
promise_task.cpp:12:40: Fehler: Funktion »Rcpp::RObject get_result()« ist wie eine Variable initialisiert
virtual Rcpp::RObject get_result() = 0;
^
promise_task.cpp: In Funktion »void complete()«:
promise_task.cpp:16:5: Fehler: »resolve« wurde in diesem Gültigkeitsbereich nicht definiert
resolve(result);
^~~~~~~
promise_task.cpp:16:5: Anmerkung: empfohlene Alternative: »remove«
resolve(result);
^~~~~~~
remove
promise_task.cpp: Im globalen Gültigkeitsbereich:
promise_task.cpp:18:1: Fehler: expected unqualified-id before »private«
private:
^~~~~~~
promise_task.cpp:20:18: Fehler: keine passende Funktion für Aufruf von »Rcpp::Function_ImplRcpp::PreserveStorage::Function_Impl()«
Rcpp::Function reject;
^~~~~~
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:48,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:72:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&, const string&) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string]«
Function_Impl(const std::string& name, const std::string& ns) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:72:9: Anmerkung: Kandidat erwartet 2 Argumente, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:65:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&, SEXP) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string; SEXP = SEXPREC*]«
Function_Impl(const std::string& name, const SEXP env) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:65:9: Anmerkung: Kandidat erwartet 2 Argumente, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:61:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string]«
Function_Impl(const std::string& name) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:61:9: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:39:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(SEXP) [mit StoragePolicy = Rcpp::PreserveStorage; SEXP = SEXPREC*]«
Function_Impl(SEXP x){
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:39:9: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/macros.h:108,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/r/headers.h:61,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/RcppCommon.h:29,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:27,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: candidate: »template Rcpp::Function_Impl::Function_Impl(const Rcpp::GenericProxy&)«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:34:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN« CLASS( const GenericProxy& proxy ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:34:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN« CLASS( const GenericProxy& proxy ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
promise_task.cpp:20:18: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
Rcpp::Function reject;
^~~~~~
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/macros.h:108,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/r/headers.h:61,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/RcppCommon.h:29,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:27,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const Rcpp::Function_Impl&) [mit StoragePolicy = Rcpp::PreserveStorage]«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:27:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN« CLASS( const CLASS& other ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:27:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN« CLASS( const CLASS& other ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
promise_task.cpp:21:1: Fehler: expected declaration before »}« token
};
^
make: *** [/usr/lib64/R/etc/Makeconf:168: promise_task.o] Fehler 1
ERROR: compilation failed for package ‘promises’
removing ‘/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/promises’
Fehler in i.p(...) :
(konvertiert von Warnung) installation of package ‘/tmp/Rtmps5Ik2g/file6f773661e2a/promises_1.0.1.9000.tar.gz’ had non-zero exit status
###############
System:
Linux archlinux 4.18.16-arch1-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
gcc (GCC) 8.2.1 20180831
R version 3.5.1 (2018-07-02) -- "Feather Spray"
The text was updated successfully, but these errors were encountered:
Hi, when trying to install the promises package I gert the followign error:
Downloading GitHub repo rstudio/promises@master
✔ checking for file ‘/tmp/Rtmps5Ik2g/remotes6f77053bb51/rstudio-promises-1d30f6e/DESCRIPTION’ ...
─ preparing ‘promises’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘promises_1.0.1.9000.tar.gz’
Installing package into ‘/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
** libs
g++ -I"/usr/include/R/" -DNDEBUG -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/later/include" -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c RcppExports.cpp -o RcppExports.o
g++ -I"/usr/include/R/" -DNDEBUG -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/later/include" -I"/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -D_FORTIFY_SOURCE=2 -fpic -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -c promise_task.cpp -o promise_task.o
promise_task.cpp:4:28: Fehler: »later« wurde nicht deklariert
class PromiseTask : public later::BackgroundTask {
^~~~~
promise_task.cpp:4:35: Fehler: expected »{« before »BackgroundTask«
class PromiseTask : public later::BackgroundTask {
^~~~~~~~~~~~~~
promise_task.cpp:5:1: Fehler: expected primary-expression before »public«
public:
^~~~~~
promise_task.cpp:5:1: Fehler: expected »}« before »public«
promise_task.cpp:4:50: Anmerkung: andere Fundstelle von »{« ist hier
class PromiseTask : public later::BackgroundTask {
^
promise_task.cpp:10:1: Fehler: expected unqualified-id before »protected«
protected:
^~~~~~~~~
promise_task.cpp:12:3: Fehler: »virtual« außerhalb einer Klassendeklaration
virtual Rcpp::RObject get_result() = 0;
^~~~~~~
promise_task.cpp:12:40: Fehler: Funktion »Rcpp::RObject get_result()« ist wie eine Variable initialisiert
virtual Rcpp::RObject get_result() = 0;
^
promise_task.cpp: In Funktion »void complete()«:
promise_task.cpp:16:5: Fehler: »resolve« wurde in diesem Gültigkeitsbereich nicht definiert
resolve(result);
^~~~~~~
promise_task.cpp:16:5: Anmerkung: empfohlene Alternative: »remove«
resolve(result);
^~~~~~~
remove
promise_task.cpp: Im globalen Gültigkeitsbereich:
promise_task.cpp:18:1: Fehler: expected unqualified-id before »private«
private:
^~~~~~~
promise_task.cpp:20:18: Fehler: keine passende Funktion für Aufruf von »Rcpp::Function_ImplRcpp::PreserveStorage::Function_Impl()«
Rcpp::Function reject;
^~~~~~
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:48,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:72:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&, const string&) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string]«
Function_Impl(const std::string& name, const std::string& ns) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:72:9: Anmerkung: Kandidat erwartet 2 Argumente, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:65:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&, SEXP) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string; SEXP = SEXPREC*]«
Function_Impl(const std::string& name, const SEXP env) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:65:9: Anmerkung: Kandidat erwartet 2 Argumente, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:61:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const string&) [mit StoragePolicy = Rcpp::PreserveStorage; std::__cxx11::string = std::__cxx11::basic_string]«
Function_Impl(const std::string& name) {
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:61:9: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:39:9: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(SEXP) [mit StoragePolicy = Rcpp::PreserveStorage; SEXP = SEXPREC*]«
Function_Impl(SEXP x){
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:39:9: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/macros.h:108,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/r/headers.h:61,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/RcppCommon.h:29,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:27,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: candidate: »template Rcpp::Function_Impl::Function_Impl(const Rcpp::GenericProxy&)«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:34:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN«
CLASS( const GenericProxy& proxy ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: Herleitung/Ersetzung von Templateargument gescheitert:
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:34:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN«
CLASS( const GenericProxy& proxy ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
promise_task.cpp:20:18: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
Rcpp::Function reject;
^~~~~~
In file included from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/macros.h:108,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/r/headers.h:61,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/RcppCommon.h:29,
from /home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp.h:27,
from promise_task.cpp:1:
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: candidate: »Rcpp::Function_Impl::Function_Impl(const Rcpp::Function_Impl&) [mit StoragePolicy = Rcpp::PreserveStorage]«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:27:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN«
CLASS( const CLASS& other ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:35: Anmerkung: Kandidat erwartet 1 Argument, 0 angegeben
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/macros/interface.h:27:1: Anmerkung: in Definition des Makros »RCPP_CTOR_ASSIGN«
CLASS( const CLASS& other ){
^~~~~~~~~
/home/mknoll/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include/Rcpp/Function.h:37:9: Anmerkung: bei Substitution des Makros »RCPP_GENERATE_CTOR_ASSIGN«
RCPP_GENERATE_CTOR_ASSIGN(Function_Impl)
^~~~~~~~~~~~~~~~~~~~~~~~~
promise_task.cpp:21:1: Fehler: expected declaration before »}« token
};
^
make: *** [/usr/lib64/R/etc/Makeconf:168: promise_task.o] Fehler 1
ERROR: compilation failed for package ‘promises’
Fehler in i.p(...) :
(konvertiert von Warnung) installation of package ‘/tmp/Rtmps5Ik2g/file6f773661e2a/promises_1.0.1.9000.tar.gz’ had non-zero exit status
###############
System:
Linux archlinux 4.18.16-arch1-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
gcc (GCC) 8.2.1 20180831
R version 3.5.1 (2018-07-02) -- "Feather Spray"
The text was updated successfully, but these errors were encountered: