* installing *source* package 'phreeqc' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c CSelectedOutput.cpp -o CSelectedOutput.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c IPhreeqcLib.cpp -o IPhreeqcLib.o IPhreeqcLib.cpp: In function 'void OutputAccumulatedLines(int)': IPhreeqcLib.cpp:716:27: warning: unused variable 'err_msg' [-Wunused-variable] 716 | static const char err_msg[] = "OutputAccumulatedLines: Invalid instance id.\n"; | ^~~~~~~ IPhreeqcLib.cpp: In function 'void OutputErrorString(int)': IPhreeqcLib.cpp:731:27: warning: unused variable 'err_msg' [-Wunused-variable] 731 | static const char err_msg[] = "OutputErrorString: Invalid instance id.\n"; | ^~~~~~~ IPhreeqcLib.cpp: In function 'void OutputWarningString(int)': IPhreeqcLib.cpp:746:27: warning: unused variable 'err_msg' [-Wunused-variable] 746 | static const char err_msg[] = "OutputWarningString: Invalid instance id.\n"; | ^~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c IPhreeqc.cpp -o IPhreeqc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I. -Iphreeqcpp -DNDEBUG -DR_SO -DSWIG_SHARED_OBJ -DNO_UTF8_ENCODING -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c R.cpp -o R.o R.cpp: In function 'SEXPREC* accumLine(SEXP)': R.cpp:33:8: error: 'isString' was not declared in this scope 33 | if (!isString(line) || length(line) != 1 || STRING_ELT(line, 0) == NA_STRING) { | ^~~~~~~~ R.cpp:33:26: error: 'length' was not declared in this scope 33 | if (!isString(line) || length(line) != 1 || STRING_ELT(line, 0) == NA_STRING) { | ^~~~~~ R.cpp:34:5: error: 'error' was not declared in this scope; did you mean 'perror'? 34 | error("AccumulateLine:line is not a single string\n"); | ^~~~~ | perror R.cpp:40:7: error: 'error' was not declared in this scope; did you mean 'perror'? 40 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* accumLineLst(SEXP)': R.cpp:53:8: error: 'isString' was not declared in this scope 53 | if (!isString(line)) { | ^~~~~~~~ R.cpp:54:5: error: 'error' was not declared in this scope; did you mean 'perror'? 54 | error("a character vector argument expected"); | ^~~~~ | perror R.cpp:57:11: error: 'length' was not declared in this scope 57 | int n = length(line); | ^~~~~~ R.cpp:64:9: error: 'error' was not declared in this scope; did you mean 'perror'? 64 | error(R::singleton().GetErrorString()); | ^~~~~ | perror In file included from D:/RCompile/recent/R/include/Rdefines.h:41, from R.cpp:7: R.cpp: In function 'SEXPREC* getAccumLines()': R.cpp:93:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 93 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:96:30: error: 'mkChar' was not declared in this scope 96 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getCol(int)': R.cpp:135:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 135 | PROTECT(ans = allocVector(STRSXP, rows-1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:141:34: error: 'mkChar' was not declared in this scope 141 | SET_STRING_ELT(ans, r-1, mkChar("")); | ^~~~~~ R.cpp:179:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 179 | PROTECT(ans = allocVector(REALSXP, rows-1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:213:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 213 | PROTECT(ans = allocVector(INTSXP, rows-1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:240:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 240 | PROTECT(ans = allocVector(INTSXP, rows-1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getDumpFileName()': R.cpp:253:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 253 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:254:26: error: 'mkChar' was not declared in this scope 254 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetDumpFileName())); | ^~~~~~ R.cpp: In function 'SEXPREC* getDumpStrings()': R.cpp:273:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 273 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:276:30: error: 'mkChar' was not declared in this scope 276 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getErrorFileName()': R.cpp:287:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 287 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:288:26: error: 'mkChar' was not declared in this scope 288 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetErrorFileName())); | ^~~~~~ R.cpp: In function 'SEXPREC* getDumpFileOn()': R.cpp:297:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 297 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getDumpStringOn()': R.cpp:312:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 312 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getErrorFileOn()': R.cpp:327:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 327 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getErrorStringOn()': R.cpp:342:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 342 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getLogFileOn()': R.cpp:357:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 357 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getLogStringOn()': R.cpp:372:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 372 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getOutputStringOn()': R.cpp:387:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 387 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getErrorStrings()': R.cpp:412:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 412 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:415:30: error: 'mkChar' was not declared in this scope 415 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getLogFileName()': R.cpp:426:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 426 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:427:26: error: 'mkChar' was not declared in this scope 427 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetLogFileName())); | ^~~~~~ R.cpp: In function 'SEXPREC* getLogStrings()': R.cpp:446:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 446 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:449:30: error: 'mkChar' was not declared in this scope 449 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getOutputFileName()': R.cpp:460:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 460 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:461:26: error: 'mkChar' was not declared in this scope 461 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetOutputFileName())); | ^~~~~~ R.cpp: In function 'SEXPREC* getOutputFileOn()': R.cpp:470:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 470 | PROTECT(ans = allocVector(LGLSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getOutputStrings()': R.cpp:495:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 495 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:498:30: error: 'mkChar' was not declared in this scope 498 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getSelectedOutputFileName(SEXP)': R.cpp:510:8: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 510 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~~~~ | Rf_isInteger R.cpp:510:28: error: 'length' was not declared in this scope 510 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~ R.cpp:511:5: error: 'error' was not declared in this scope; did you mean 'perror'? 511 | error("GetSelectedOutputFileName:nuser must be a single integer\n"); | ^~~~~ | perror R.cpp:515:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 515 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:516:26: error: 'mkChar' was not declared in this scope 516 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetSelectedOutputFileName())); | ^~~~~~ R.cpp: In function 'SEXPREC* getSelectedOutputStrings()': R.cpp:536:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 536 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:539:30: error: 'mkChar' was not declared in this scope 539 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* getSelectedOutputStringsLst()': R.cpp:558:20: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 558 | PROTECT(list = allocVector(VECSXP, n)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:565:31: error: 'mkChar' was not declared in this scope 565 | SET_STRING_ELT(attr, i, mkChar(buffer)); | ^~~~~~ R.cpp:572:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 572 | setAttrib(list, R_NamesSymbol, attr); | ^~~~~~~~~ | Rf_setAttrib R.cpp: In function 'SEXPREC* getSelOut()': R.cpp:603:18: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 603 | PROTECT(list = allocVector(VECSXP, cols)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:613:29: error: 'mkChar' was not declared in this scope 613 | SET_STRING_ELT(attr, c, mkChar(vn.u.sVal)); | ^~~~~~ R.cpp:619:3: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 619 | setAttrib(list, R_NamesSymbol, attr); | ^~~~~~~~~ | Rf_setAttrib R.cpp:624:19: error: 'mkString' was not declared in this scope; did you mean 'Rf_mkString'? 624 | PROTECT(klass = mkString("data.frame")); | ^~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp: In function 'SEXPREC* getSelOutLst()': R.cpp:649:20: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 649 | PROTECT(list = allocVector(VECSXP, n)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:656:31: error: 'mkChar' was not declared in this scope 656 | SET_STRING_ELT(attr, i, mkChar(buffer)); | ^~~~~~ R.cpp:663:5: error: 'setAttrib' was not declared in this scope; did you mean 'Rf_setAttrib'? 663 | setAttrib(list, R_NamesSymbol, attr); | ^~~~~~~~~ | Rf_setAttrib R.cpp: In function 'SEXPREC* getVersionString()': R.cpp:674:17: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 674 | PROTECT(ans = allocVector(STRSXP, 1)); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:675:26: error: 'mkChar' was not declared in this scope 675 | SET_STRING_ELT(ans, 0, mkChar(R::singleton().GetVersionString())); | ^~~~~~ R.cpp: In function 'SEXPREC* getWarningStrings()': R.cpp:694:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 694 | PROTECT(ans = allocVector(STRSXP, lines.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:697:30: error: 'mkChar' was not declared in this scope 697 | SET_STRING_ELT(ans, i, mkChar(lines[i].c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* listComps()': R.cpp:711:19: error: 'allocVector' was not declared in this scope; did you mean 'Rf_allocVector'? 711 | PROTECT(ans = allocVector(STRSXP, lc.size())); | ^~~~~~~~~~~ D:/RCompile/recent/R/include/Rinternals.h:388:36: note: in definition of macro 'PROTECT' 388 | #define PROTECT(s) Rf_protect(s) | ^ R.cpp:714:30: error: 'mkChar' was not declared in this scope 714 | SET_STRING_ELT(ans, i, mkChar((*li).c_str())); | ^~~~~~ R.cpp: In function 'SEXPREC* loadDB(SEXP)': R.cpp:729:8: error: 'isString' was not declared in this scope 729 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ R.cpp:729:30: error: 'length' was not declared in this scope 729 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:730:5: error: 'error' was not declared in this scope; did you mean 'perror'? 730 | error("'filename' is not a single string"); | ^~~~~ | perror R.cpp:736:5: error: 'error' was not declared in this scope; did you mean 'perror'? 736 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* loadDBLst(SEXP)': R.cpp:746:8: error: 'isString' was not declared in this scope 746 | if (!isString(input)) { | ^~~~~~~~ R.cpp:747:5: error: 'error' was not declared in this scope; did you mean 'perror'? 747 | error("a character vector argument expected"); | ^~~~~ | perror R.cpp:750:11: error: 'length' was not declared in this scope 750 | int n = length(input); | ^~~~~~ R.cpp:762:5: error: 'error' was not declared in this scope; did you mean 'perror'? 762 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* loadDBStr(SEXP)': R.cpp:775:8: error: 'isString' was not declared in this scope; did you mean 'string'? 775 | if (!isString(input) || length(input) != 1) { | ^~~~~~~~ | string R.cpp:775:27: error: 'length' was not declared in this scope 775 | if (!isString(input) || length(input) != 1) { | ^~~~~~ R.cpp:776:5: error: 'error' was not declared in this scope; did you mean 'perror'? 776 | error("'input' is not a single string"); | ^~~~~ | perror R.cpp:782:5: error: 'error' was not declared in this scope; did you mean 'perror'? 782 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* runAccum()': R.cpp:792:5: error: 'error' was not declared in this scope; did you mean 'perror'? 792 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* runFile(SEXP)': R.cpp:803:8: error: 'isString' was not declared in this scope 803 | if (!isString(filename) || length(filename) != 1 || STRING_ELT(filename, 0) == NA_STRING) { | ^~~~~~~~ R.cpp:803:30: error: 'length' was not declared in this scope 803 | if (!isString(filename) || length(filename) != 1 || STRING_ELT(filename, 0) == NA_STRING) { | ^~~~~~ R.cpp:804:5: error: 'error' was not declared in this scope; did you mean 'perror'? 804 | error("'filename' must be a single character string"); | ^~~~~ | perror R.cpp:809:5: error: 'error' was not declared in this scope; did you mean 'perror'? 809 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* runString(SEXP)': R.cpp:821:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 821 | if (!isString(input)) { | ^~~~~~~~ | runString R.cpp:822:5: error: 'error' was not declared in this scope; did you mean 'perror'? 822 | error("a character vector argument expected"); | ^~~~~ | perror R.cpp:827:5: error: 'error' was not declared in this scope; did you mean 'perror'? 827 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* runStringLst(SEXP)': R.cpp:837:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 837 | if (!isString(input)) { | ^~~~~~~~ | runString R.cpp:838:5: error: 'error' was not declared in this scope; did you mean 'perror'? 838 | error("a character vector argument expected"); | ^~~~~ | perror R.cpp:841:11: error: 'length' was not declared in this scope 841 | int n = length(input); | ^~~~~~ R.cpp:852:5: error: 'error' was not declared in this scope; did you mean 'perror'? 852 | error(R::singleton().GetErrorString()); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setDumpFileName(SEXP)': R.cpp:865:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 865 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ | runString R.cpp:865:30: error: 'length' was not declared in this scope 865 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:866:5: error: 'error' was not declared in this scope; did you mean 'perror'? 866 | error("SetDumpFileName:filename is not a single string\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setDumpFileOn(SEXP)': R.cpp:879:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 879 | if (!isLogical(value) || length(value) != 1 || LOGICAL(value)[0] == NA_LOGICAL) { | ^~~~~~~~~ | Rf_isLogical R.cpp:879:28: error: 'length' was not declared in this scope 879 | if (!isLogical(value) || length(value) != 1 || LOGICAL(value)[0] == NA_LOGICAL) { | ^~~~~~ R.cpp:881:5: error: 'error' was not declared in this scope; did you mean 'perror'? 881 | error("value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setDumpStringOn(SEXP)': R.cpp:892:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 892 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:892:28: error: 'length' was not declared in this scope 892 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:893:5: error: 'error' was not declared in this scope; did you mean 'perror'? 893 | error("SetDumpStringOn:value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setErrorFileName(SEXP)': R.cpp:905:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 905 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ | runString R.cpp:905:30: error: 'length' was not declared in this scope 905 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:906:5: error: 'error' was not declared in this scope; did you mean 'perror'? 906 | error("SetErrorFileName:filename is not a single string\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setErrorFileOn(SEXP)': R.cpp:919:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 919 | if (!isLogical(value) || length(value) != 1 || LOGICAL(value)[0] == NA_LOGICAL) { | ^~~~~~~~~ | Rf_isLogical R.cpp:919:28: error: 'length' was not declared in this scope 919 | if (!isLogical(value) || length(value) != 1 || LOGICAL(value)[0] == NA_LOGICAL) { | ^~~~~~ R.cpp:921:5: error: 'error' was not declared in this scope; did you mean 'perror'? 921 | error("value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setErrorStringOn(SEXP)': R.cpp:932:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 932 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:932:28: error: 'length' was not declared in this scope 932 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:933:5: error: 'error' was not declared in this scope; did you mean 'perror'? 933 | error("SetErrorStringOn:value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setLogFileName(SEXP)': R.cpp:945:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 945 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ | runString R.cpp:945:30: error: 'length' was not declared in this scope 945 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:946:5: error: 'error' was not declared in this scope; did you mean 'perror'? 946 | error("SetLogFileName:filename is not a single string\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setLogFileOn(SEXP)': R.cpp:959:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 959 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:959:28: error: 'length' was not declared in this scope 959 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:961:5: error: 'error' was not declared in this scope; did you mean 'perror'? 961 | error("value must either be \"TRUE\" or \"FALSE\""); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setLogStringOn(SEXP)': R.cpp:972:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 972 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:972:28: error: 'length' was not declared in this scope 972 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:973:5: error: 'error' was not declared in this scope; did you mean 'perror'? 973 | error("SetLogStringOn:value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setOutputFileName(SEXP)': R.cpp:985:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 985 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ | runString R.cpp:985:30: error: 'length' was not declared in this scope 985 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:986:5: error: 'error' was not declared in this scope; did you mean 'perror'? 986 | error("SetOutputFileName:filename is not a single string\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setOutputFileOn(SEXP)': R.cpp:999:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 999 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:999:28: error: 'length' was not declared in this scope 999 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:1000:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1000 | error("value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setOutputStringOn(SEXP)': R.cpp:1011:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 1011 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:1011:28: error: 'length' was not declared in this scope 1011 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:1012:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1012 | error("SetOutputStringOn:value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setSelectedOutputFileName(SEXP, SEXP)': R.cpp:1023:8: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 1023 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~~~~ | Rf_isInteger R.cpp:1023:28: error: 'length' was not declared in this scope 1023 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~ R.cpp:1024:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1024 | error("SetSelectedOutputFileName:nuser must be a single integer\n"); | ^~~~~ | perror R.cpp:1026:8: error: 'isString' was not declared in this scope; did you mean 'runString'? 1026 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~~~ | runString R.cpp:1026:30: error: 'length' was not declared in this scope 1026 | if (!isString(filename) || length(filename) != 1) { | ^~~~~~ R.cpp:1027:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1027 | error("SetSelectedOutputFileName:filename is not a single string\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setSelectedOutputFileOn(SEXP, SEXP)': R.cpp:1042:8: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 1042 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~~~~ | Rf_isInteger R.cpp:1042:28: error: 'length' was not declared in this scope 1042 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~ R.cpp:1043:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1043 | error("nuser must be a single integer\n"); | ^~~~~ | perror R.cpp:1045:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 1045 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:1045:28: error: 'length' was not declared in this scope 1045 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:1046:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1046 | error("value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror R.cpp: In function 'SEXPREC* setSelectedOutputStringOn(SEXP, SEXP)': R.cpp:1060:8: error: 'isInteger' was not declared in this scope; did you mean 'Rf_isInteger'? 1060 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~~~~ | Rf_isInteger R.cpp:1060:28: error: 'length' was not declared in this scope 1060 | if (!isInteger(nuser) || length(nuser) != 1) { | ^~~~~~ R.cpp:1061:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1061 | error("SetSelectedOutputStringOn:nuser must be a single integer\n"); | ^~~~~ | perror R.cpp:1063:8: error: 'isLogical' was not declared in this scope; did you mean 'Rf_isLogical'? 1063 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~~~~ | Rf_isLogical R.cpp:1063:28: error: 'length' was not declared in this scope 1063 | if (!isLogical(value) || length(value) != 1) { | ^~~~~~ R.cpp:1064:5: error: 'error' was not declared in this scope; did you mean 'perror'? 1064 | error("SetSelectedOutputStringOn:value must either be \"TRUE\" or \"FALSE\"\n"); | ^~~~~ | perror make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: R.o] Error 1 ERROR: compilation failed for package 'phreeqc' * removing 'd:/RCompile/CRANincoming/R-devel/lib/phreeqc'