Skip to content
Snippets Groups Projects
Commit 1d9234f3 authored by Mick Jordan's avatar Mick Jordan
Browse files

test warning fix; remove GnuR on clean

parent 5967bcc4
No related branches found
No related tags found
No related merge requests found
......@@ -74,13 +74,8 @@ build: $(GNUR_HOME)/bin/R
$(GNUR_HOME)/bin/R: $(GNUR_HOME)/Makeconf
(cd $(GNUR_HOME); make >& gnur_make.log)
HAVE_MAKEFILE := $(shell [ -f $(GNUR_HOME)/Makefile ] && echo "Makefile.exists")
clean: cleangnur
rm -f Makeconf.done
ifeq ($(HAVE_MAKEFILE),Makefile.exists)
cleangnur:
(cd $(GNUR_HOME); make distclean)
else
cleangnur:
endif
rm -rf R-$(R_VERSION)
......@@ -40,6 +40,8 @@ C_SOURCES := $(C_SOURCES) $(SRC)/fft.c
C_OBJECTS := $(C_OBJECTS) $(OBJ)/fft.o
endif
$(C_OBJECTS): | $(OBJ)
$(SRC)/fft.c: $(GNUR_FFT) src/ed_fft
ed $(GNUR_FFT) < src/ed_fft
......
......@@ -1677,7 +1677,7 @@ public class TestSimpleBuiltins extends TestBase {
assertEval("{ gsub(\"a\",\"aa\", \"prague alley\", fixed=TRUE) }");
assertEval("{ sub(\"a\",\"aa\", \"prague alley\", fixed=TRUE) }");
assertEval("{ gsub(\"a\",\"aa\", \"prAgue alley\", fixed=TRUE) }");
assertEval("{ gsub(\"a\",\"aa\", \"prAgue alley\", fixed=TRUE, ignore.case=TRUE) }");
assertEval(Output.ContainsWarning, "{ gsub(\"a\",\"aa\", \"prAgue alley\", fixed=TRUE, ignore.case=TRUE) }");
assertEval("{ gsub(\"([a-e])\",\"\\\\1\\\\1\", \"prague alley\") }");
assertEval("{ gsub(\"h\",\"\", c(\"hello\", \"hi\", \"bye\")) }");
assertEval("{ gsub(\"h\",\"\", c(\"hello\", \"hi\", \"bye\"), fixed=TRUE) }");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment