Skip to content

Commit 13b869b

Browse files
author
smeyer
committed
fix method markup and docs from c87779
git-svn-id: https://svn.r-project.org/R/trunk@87781 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent f29781d commit 13b869b

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

src/library/stats/man/delete.response.Rd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ reformulate(termlabels, response = NULL, intercept = TRUE, env = parent.frame())
1212

1313
drop.terms(termobj, dropx = NULL, keep.response = FALSE)
1414

15-
termobj[i]
15+
\method{[}{terms}(termobj, i)
1616
}
1717
\alias{reformulate}
1818
\alias{drop.terms}
@@ -29,9 +29,10 @@ termobj[i]
2929
returned.}
3030
\item{dropx, i}{a numeric vector indexing \code{labels(termobj)}
3131
(that is, the \code{"term.labels"} attribute of \code{termobj}),
32-
indicating terms to be dropped from the right-hand side of the
33-
model, or \code{NULL} (default) to keep all terms.}
34-
\item{keep.response}{Keep the response in the resulting object?}
32+
indicating terms to drop (\code{dropx}) or select (\code{i}) from
33+
the right-hand side of the model. The default \code{dropx=NULL}
34+
means to keep all terms.}
35+
\item{keep.response}{logical: keep the response in the resulting object?}
3536
}
3637
\description{
3738
\code{delete.response} returns a \code{terms} object for the same

tests/Makefile.install

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,21 @@ test-Recommended:
5454
mostlyclean: clean
5555
clean:
5656
-@rm -f stamp-R Rplot* Rprof.out data dumpdata.R \
57-
reg-plot-latin1.ps reg-plot.ps reg-tests-?.ps \
57+
reg-*.pdf p-qbeta-strict-tst.pdf \
5858
R-exts.* R-intro.R R-intro.Rout \
59-
FALSE* .R .tex mirrors.html PACKAGES*
59+
FALSE* .R .tex mirrors.html PACKAGES* ex.gz
6060
-@rm -f testit.txt testit.html testit.tex testit-Ex.R
6161
-@rm -f ver10.txt ver10.html ver10.tex ver10-Ex.R
6262
-@rm -f ver11.txt ver11.html ver11.tex ver11-Ex.R
6363
-@rm -Rf anRpackage myTst* myLib myLib_2
64-
65-
clean2: clean
66-
-@rm -f $(test-out) $(test-src-auto) .RData
64+
-@rm -f .RData
65+
-@rm -f p-r-random-tests_seed
6766

6867
distclean: clean
6968
-@for d in $(SUBDIRS); do \
7069
(cd $${d} && $(MAKE) $@); \
7170
done
72-
-@rm -f $(test-out) $(test-src-auto) .RData
71+
-@rm -f $(test-out) $(test-src-auto) *.Rout.fail
7372
-@rm -Rf *.Rcheck Packages
73+
7474
maintainer-clean: distclean

tests/reg-packages.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if(interactive() && Sys.getenv("USER") == "maechler")
130130
## SRCDIR not available on windows, so pkgSrcPath won't be populated
131131
## if this happens non-interactively, cleanup and quit gracefully
132132
if(!file_test("-d", pkgSrcPath) && !interactive()) {
133-
unlink("myTst", recursive=TRUE)
133+
unlink(c("myTst", "myLib", "myTst2"), recursive=TRUE)
134134
showProc.time()
135135
q("no")
136136
}

0 commit comments

Comments
 (0)