M ChangeLog => ChangeLog +7 -0
@@ 1,3 1,10 @@
+2022-08-17 Enrico Schumann <es@enricoschumann.net>
+
+ * DESCRIPTION (Version): 0.1-1
+
+ * vignettes/neighbours.Rnw: reset 'par' and
+ 'options', as requested by CRAN
+
2022-08-16 Enrico Schumann <es@enricoschumann.net>
* DESCRIPTION (Version): 0.1-0
M DESCRIPTION => DESCRIPTION +2 -2
@@ 1,8 1,8 @@
Package: neighbours
Type: Package
Title: Neighbourhood Functions for Local-Search Algorithms
-Version: 0.1-0
-Date: 2022-08-16
+Version: 0.1-1
+Date: 2022-08-17
Maintainer: Enrico Schumann <es@enricoschumann.net>
Authors@R: person(given = "Enrico", family = "Schumann",
role = c("aut", "cre"),
M vignettes/neighbours.Rnw => vignettes/neighbours.Rnw +12 -4
@@ 25,14 25,18 @@
\renewenvironment{Schunk}{\vspace{\topsep}}{\vspace{\topsep}}
\SweaveOpts{keep.source = TRUE, eps = TRUE}
-<<echo=false>>=
-options(continue = " ", digits = 3, width = 60, useFancyQuotes = FALSE)
+<<options,echo=false,results=hide>>=
+## store current options and graphics settings,
+## to be restored at the end of the vignette
+old.options <- options(continue = " ", digits = 3,
+ width = 60, useFancyQuotes = FALSE)
+old.par <- par()
pv <- packageVersion("neighbours")
pv <- gsub("(.*)[.](.*)", "\\1-\\2", pv)
@
\begin{document}
-\title{}
+\title{Neighbourhood Functions for Local-Search Algorithms}
\author{Enrico Schumann\\\url{es@enricoschumann.net}}
{\raggedright{\LARGE Neighbourhood Functions for Local-Search Algorithms\par}}\hspace*{\fill}
@@ 433,7 437,11 @@ The solution remains the same, but in particular for large
matrices $A$, the optimisation can become much faster.
-
+<<restore-options,echo=false,results=hide>>=
+## restore options and graphics settings
+par(old.par)
+options(old.options)
+@
\nocite{Gilli2019}