Last updated on 2023-07-07 06:51:09 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.8.0 | 36.93 | 433.51 | 470.44 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.8.0 | 28.75 | 319.60 | 348.35 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.8.0 | 594.57 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.8.0 | 813.94 | OK | |||
r-devel-windows-x86_64 | 1.8.0 | 25.00 | 276.00 | 301.00 | ERROR | |
r-patched-linux-x86_64 | 1.8.0 | 30.83 | 415.14 | 445.97 | ERROR | |
r-release-linux-x86_64 | 1.8.0 | 35.37 | 413.13 | 448.50 | ERROR | |
r-release-macos-arm64 | 1.8.0 | 177.00 | OK | |||
r-release-macos-x86_64 | 1.8.0 | 323.00 | OK | |||
r-release-windows-x86_64 | 1.8.0 | 38.00 | 379.00 | 417.00 | ERROR | |
r-oldrel-macos-arm64 | 1.8.0 | 142.00 | OK | |||
r-oldrel-macos-x86_64 | 1.8.0 | 223.00 | OK | |||
r-oldrel-windows-x86_64 | 1.8.0 | 37.00 | 367.00 | 404.00 | ERROR |
Version: 1.8.0
Check: tests
Result: ERROR
Running ‘colourScale.R’ [13s/15s]
Running ‘omerc.R’ [32s/39s]
Running ‘openmap.R’ [12s/14s]
Running ‘worldMap.R’ [11s/13s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpDUlzsz/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/Rtmpr3lLsP/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘mapmisc.Rnw’ using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette ‘mapmisc.Rnw’ failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building ‘mapmisc.Rnw’
--- re-building ‘north.Rmd’ using docco_linear
Warning in file.info(x, extra_cols = FALSE) :
expanded path length 30483 would be too long for
<!--
%\VignetteEngine{knitr::docco_linear}
%\VignetteIndexEntry{Mapping Hans Island}
-->
<hr />
<h2 id="title-mapping-hans-island">title: Mapping Hans Island</h2>
<p>This document will be incomplete if <code>rgdal</code> is unavailable or there is on
internet connection when this document is compiled. The full document is at
<a href="http://diseasemapping.r-forge.r-project.org">diseasemapping.r-forge.r-project.org</a>.</p>
<pre><code class="language-r"> getOption('mapmiscCachePath')
</code></pre>
<pre><code>## [1] "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/mapmisc/extdata"
</code></pre>
<pre><code class="language-r"> getOption('mapmiscCacheReadOnly')
</code></pre>
<pre><code>## [1] TRUE
</code></pre>
<pre><code class="language-r">if(testing) {
options(mapmiscVerbose = TRUE)
}
</code></pre>
<pre><code class="language-r">coords = rbind(Alert = c(-62.338889, 82.501389),
Qaanaaq = c(-69.238685,77.466335), [... truncated]
--- finished re-building ‘north.Rmd’
make[1]: Entering directory '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-01-16>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)
No file mapmisc.aux.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc", :
running ‘make’ failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.8.0
Check: tests
Result: ERROR
Running ‘colourScale.R’ [9s/16s]
Running ‘omerc.R’ [24s/35s]
Running ‘openmap.R’ [10s/17s]
Running ‘worldMap.R’ [9s/16s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /home/hornik/tmp/scratch/RtmpSdxBWA/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
Warning message:
In sp::CRS(...) : sf required for evolution_status==2L
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /home/hornik/tmp/scratch/RtmpNKOXvs/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘mapmisc.Rnw’ using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette ‘mapmisc.Rnw’ failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building ‘mapmisc.Rnw’
--- re-building ‘north.Rmd’ using docco_linear
Warning in file.info(x, extra_cols = FALSE) :
expanded path length 30751 would be too long for
<!--
%\VignetteEngine{knitr::docco_linear}
%\VignetteIndexEntry{Mapping Hans Island}
-->
<hr />
<h2 id="title-mapping-hans-island">title: Mapping Hans Island</h2>
<p>This document will be incomplete if <code>rgdal</code> is unavailable or there is on
internet connection when this document is compiled. The full document is at
<a href="http://diseasemapping.r-forge.r-project.org">diseasemapping.r-forge.r-project.org</a>.</p>
<pre><code class="language-r"> getOption('mapmiscCachePath')
</code></pre>
<pre><code>## [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/mapmisc/extdata"
</code></pre>
<pre><code class="language-r"> getOption('mapmiscCacheReadOnly')
</code></pre>
<pre><code>## [1] TRUE
</code></pre>
<pre><code class="language-r">if(testing) {
options(mapmiscVerbose = TRUE)
}
</code></pre>
<pre><code class="language-r">coords = rbind(Alert = c(-62.338889, 82.501389),
Qaanaaq = c(-69.238685,77.466335),
[... truncated]
--- finished re-building ‘north.Rmd’
make[1]: Entering directory '/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-01-16>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)
No file mapmisc.aux.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc", :
running ‘make’ failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.8.0
Check: tests
Result: ERROR
Running ‘colourScale.R’ [16s/42s]
Running ‘omerc.R’ [37s/98s]
Running ‘openmap.R’ [16s/43s]
Running ‘worldMap.R’ [15s/16s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpZZC3Ni/working_dir/RtmpI4qi0R/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.4.3, released 2022/04/22
Path to GDAL shared files: /usr/local/clang/share/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
Path to PROJ shared files: /data/gannet/ripley/.local/share/proj:/usr/local/share/proj:/usr/local/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Unknown error (code 4096)
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpZZC3Ni/working_dir/Rtmpvzh6OS/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘mapmisc.Rnw’ using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette 'mapmisc.Rnw' failed with diagnostics:
source crs creation failed: Unknown error (code 4096)
--- failed re-building ‘mapmisc.Rnw’
--- re-building ‘north.Rmd’ using docco_linear
Warning in file.info(x, extra_cols = FALSE) :
expanded path length 30482 would be too long for
<!--
%\VignetteEngine{knitr::docco_linear}
%\VignetteIndexEntry{Mapping Hans Island}
-->
<hr />
<h2 id="title-mapping-hans-island">title: Mapping Hans Island</h2>
<p>This document will be incomplete if <code>rgdal</code> is unavailable or there is on
internet connection when this document is compiled. The full document is at
<a href="http://diseasemapping.r-forge.r-project.org">diseasemapping.r-forge.r-project.org</a>.</p>
<pre><code class="language-r"> getOption('mapmiscCachePath')
</code></pre>
<pre><code>## [1] "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/mapmisc/extdata"
</code></pre>
<pre><code class="language-r"> getOption('mapmiscCacheReadOnly')
</code></pre>
<pre><code>## [1] TRUE
</code></pre>
<pre><code class="language-r">if(testing) {
options(mapmiscVerbose = TRUE)
}
</code></pre>
<pre><code class="language-r">coords = rbind(Alert = c(-62.338889, 82.501389),
Qaanaaq = c(-69.238685,77.466335),
[... truncated]
--- finished re-building ‘north.Rmd’
make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999995 (TeX Live 2023) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./mapmisc.tex
LaTeX2e <2023-06-01> patch level 1
L3 programming layer <2023-06-30>
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/base/size12.clo))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/geometry/geometry.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics/keyval.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/iftex/ifvtex.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/iftex/iftex.sty)))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics/graphicx.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics/graphics.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics/trig.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hyperref/hyperref.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
) (/data/gannet2/ripley/2023/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hyperref/nameref.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/refcount/refcount.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/gettitlestring/gettitlestring
.sty (/data/gannet2/ripley/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hyperref/puenc.def)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/url/url.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/bitset/bitset.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/hyperref/hxetex.def
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.s
ty (/data/gannet2/ripley/2023/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/generic/uniquecounter/uniquecounter.s
ty))) (/data/gannet2/ripley/2023/texmf-dist/tex/latex/caption/caption.sty
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/caption/caption3.sty))
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/caption/subcaption.sty)
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)
No file mapmisc.aux.
(/data/gannet2/ripley/2023/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[2]: *** [Makefile:11: mapmisc.pdf] Error 1
make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-clang/mapmisc.Rcheck/vign_test/mapmisc", :
running 'make' failed
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.8.0
Check: tests
Result: ERROR
Running 'colourScale.R' [8s]
Running 'omerc.R' [21s]
Running 'openmap.R' [8s]
Running 'worldMap.R' [7s]
Running the tests in 'tests/openmap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\RtmpIZQeGC/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.4/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
Warning message:
In sp::CRS(...) : sf required for evolution_status==2L
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.6.2, released 2023/01/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.0, March 1st, 2023, [PJ_VERSION: 920]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.4/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in 'tests/worldMap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\RtmpKu6nJ3/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "D:/RCompile/CRANpkg/lib/4.4/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.4/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'mapmisc.Rnw' using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette 'mapmisc.Rnw' failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building 'mapmisc.Rnw'
--- re-building 'north.Rmd' using docco_linear
--- finished re-building 'north.Rmd'
make[1]: Entering directory '/d/RCompile/CRANpkg/local/4.4/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999994 (MiKTeX 23.1) (preloaded format=xelatex.fmt)
restricted \write18 enabled.
entering extended mode
(mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-02-02>
(C:\Program Files\MiKTeX\tex/latex/base\article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(C:\Program Files\MiKTeX\tex/latex/base\size12.clo))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty)
(C:\Program Files\MiKTeX\tex/generic/iftex\ifvtex.sty
(C:\Program Files\MiKTeX\tex/generic/iftex\iftex.sty))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.cfg))
(C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty)
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg)
(C:\Program Files\MiKTeX\tex/latex/graphics-def\xetex.def)))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hyperref.sty
(C:\Program Files\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty)
(C:\Program Files\MiKTeX\tex/generic/pdftexcmds\pdftexcmds.sty
(C:\Program Files\MiKTeX\tex/generic/infwarerr\infwarerr.sty))
(C:\Program Files\MiKTeX\tex/latex/kvsetkeys\kvsetkeys.sty)
(C:\Program Files\MiKTeX\tex/generic/kvdefinekeys\kvdefinekeys.sty)
(C:\Program Files\MiKTeX\tex/generic/pdfescape\pdfescape.sty)
(C:\Program Files\MiKTeX\tex/latex/hycolor\hycolor.sty)
(C:\Program Files\MiKTeX\tex/latex/letltxmacro\letltxmacro.sty)
(C:\Program Files\MiKTeX\tex/latex/auxhook\auxhook.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\nameref.sty
(C:\Program Files\MiKTeX\tex/latex/refcount\refcount.sty)
(C:\Program Files\MiKTeX\tex/generic/gettitlestring\gettitlestring.sty
(C:\Program Files\MiKTeX\tex/latex/kvoptions\kvoptions.sty)))
(C:\Program Files\MiKTeX\tex/latex/hyperref\pd1enc.def)
(C:\Program Files\MiKTeX\tex/generic/intcalc\intcalc.sty)
(C:\Program Files\MiKTeX\tex/generic/etexcmds\etexcmds.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\puenc.def)
(C:\Program Files\MiKTeX\tex/latex/url\url.sty)
(C:\Program Files\MiKTeX\tex/generic/bitset\bitset.sty
(C:\Program Files\MiKTeX\tex/generic/bigintcalc\bigintcalc.sty))
(C:\Program Files\MiKTeX\tex/latex/base\atbegshi-ltx.sty))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hxetex.def
(C:\Program Files\MiKTeX\tex/generic/stringenc\stringenc.sty)
(C:\Program Files\MiKTeX\tex/latex/rerunfilecheck\rerunfilecheck.sty
(C:\Program Files\MiKTeX\tex/latex/base\atveryend-ltx.sty)
(C:\Program Files\MiKTeX\tex/generic/uniquecounter\uniquecounter.sty)))
(C:\Program Files\MiKTeX\tex/latex/caption\caption.sty
(C:\Program Files\MiKTeX\tex/latex/caption\caption3.sty))
(C:\Program Files\MiKTeX\tex/latex/caption\subcaption.sty)
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-xetex.def)
No file mapmisc.aux.
(C:\Program Files\MiKTeX\tex/latex/base\ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> ./mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/d/RCompile/CRANpkg/local/4.4/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "d:/Rcompile/CRANpkg/local/4.4/mapmisc.Rcheck/vign_test/mapmisc", :
running 'make' failed
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.8.0
Check: tests
Result: ERROR
Running ‘colourScale.R’ [13s/15s]
Running ‘omerc.R’ [30s/35s]
Running ‘openmap.R’ [12s/15s]
Running ‘worldMap.R’ [11s/13s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpOSuFL5/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
Warning message:
In sp::CRS(...) : sf required for evolution_status==2L
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpftPufF/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘mapmisc.Rnw’ using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette ‘mapmisc.Rnw’ failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building ‘mapmisc.Rnw’
--- re-building ‘north.Rmd’ using docco_linear
Warning in file.info(x, extra_cols = FALSE) :
expanded path length 30753 would be too long for
<!--
%\VignetteEngine{knitr::docco_linear}
%\VignetteIndexEntry{Mapping Hans Island}
-->
<hr />
<h2 id="title-mapping-hans-island">title: Mapping Hans Island</h2>
<p>This document will be incomplete if <code>rgdal</code> is unavailable or there is on
internet connection when this document is compiled. The full document is at
<a href="http://diseasemapping.r-forge.r-project.org">diseasemapping.r-forge.r-project.org</a>.</p>
<pre><code class="language-r"> getOption('mapmiscCachePath')
</code></pre>
<pre><code>## [1] "/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/mapmisc/extdata"
</code></pre>
<pre><code class="language-r"> getOption('mapmiscCacheReadOnly')
</code></pre>
<pre><code>## [1] TRUE
</code></pre>
<pre><code class="language-r">if(testing) {
options(mapmiscVerbose = TRUE)
}
</code></pre>
<pre><code class="language-r">coords = rbind(Alert = c(-62.338889, 82.501389),
Qaanaaq = c(-69.238685,77.466335), [... truncated]
--- finished re-building ‘north.Rmd’
make[1]: Entering directory '/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-01-16>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)
No file mapmisc.aux.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc", :
running ‘make’ failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.8.0
Check: tests
Result: ERROR
Running ‘colourScale.R’ [12s/14s]
Running ‘omerc.R’ [30s/32s]
Running ‘openmap.R’ [13s/15s]
Running ‘worldMap.R’ [11s/12s]
Running the tests in ‘tests/openmap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpTIwHzf/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
Warning message:
In sp::CRS(...) : sf required for evolution_status==2L
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.7.0, released 2023/05/02
Path to GDAL shared files: /usr/share/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.1, June 1st, 2023, [PJ_VERSION: 921]
Path to PROJ shared files: /home/hornik/.local/share/proj:/usr/share/proj
PROJ CDN enabled: TRUE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in ‘tests/worldMap.R’ failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in /tmp/RtmpUIw0zF/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘mapmisc.Rnw’ using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette ‘mapmisc.Rnw’ failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building ‘mapmisc.Rnw’
--- re-building ‘north.Rmd’ using docco_linear
Warning in file.info(x, extra_cols = FALSE) :
expanded path length 30753 would be too long for
<!--
%\VignetteEngine{knitr::docco_linear}
%\VignetteIndexEntry{Mapping Hans Island}
-->
<hr />
<h2 id="title-mapping-hans-island">title: Mapping Hans Island</h2>
<p>This document will be incomplete if <code>rgdal</code> is unavailable or there is on
internet connection when this document is compiled. The full document is at
<a href="http://diseasemapping.r-forge.r-project.org">diseasemapping.r-forge.r-project.org</a>.</p>
<pre><code class="language-r"> getOption('mapmiscCachePath')
</code></pre>
<pre><code>## [1] "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/mapmisc/extdata"
</code></pre>
<pre><code class="language-r"> getOption('mapmiscCacheReadOnly')
</code></pre>
<pre><code>## [1] TRUE
</code></pre>
<pre><code class="language-r">if(testing) {
options(mapmiscVerbose = TRUE)
}
</code></pre>
<pre><code class="language-r">coords = rbind(Alert = c(-62.338889, 82.501389),
Qaanaaq = c(-69.238685,77.466335), [... truncated]
--- finished re-building ‘north.Rmd’
make[1]: Entering directory '/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-01-16>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size12.clo))
(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
(/usr/share/texlive/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty)
(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty)
(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/puenc.def)
(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty)
(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
(/usr/share/texlive/texmf-dist/tex/latex/base/atbegshi-ltx.sty))
(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hxetex.def
(/usr/share/texlive/texmf-dist/tex/generic/stringenc/stringenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/atveryend-ltx.sty)
(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption.sty
(/usr/share/texlive/texmf-dist/tex/latex/caption/caption3.sty))
(/usr/share/texlive/texmf-dist/tex/latex/caption/subcaption.sty)
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xetex.def)
No file mapmisc.aux.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/mapmisc.Rcheck/vign_test/mapmisc", :
running ‘make’ failed
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.8.0
Check: tests
Result: ERROR
Running 'colourScale.R' [11s]
Running 'omerc.R' [29s]
Running 'openmap.R' [12s]
Running 'worldMap.R' [9s]
Running the tests in 'tests/openmap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\Rtmpa49F33/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.3/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.6.2, released 2023/01/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.3/rgdal/gdal
GDAL does not use iconv for recoding strings.
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 9.2.0, March 1st, 2023, [PJ_VERSION: 920]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.3/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Invalid PROJ string syntax
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in 'tests/worldMap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\RtmpI5B4OS/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "D:/RCompile/CRANpkg/lib/4.3/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.3/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'mapmisc.Rnw' using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette 'mapmisc.Rnw' failed with diagnostics:
source crs creation failed: Invalid PROJ string syntax
--- failed re-building 'mapmisc.Rnw'
--- re-building 'north.Rmd' using docco_linear
--- finished re-building 'north.Rmd'
make[1]: Entering directory '/d/RCompile/CRANpkg/local/4.3/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999995 (MiKTeX 23.4) (preloaded format=xelatex.fmt)
restricted \write18 enabled.
entering extended mode
(mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-04-20>
(C:\Program Files\MiKTeX\tex/latex/base\article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(C:\Program Files\MiKTeX\tex/latex/base\size12.clo))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty)
(C:\Program Files\MiKTeX\tex/generic/iftex\ifvtex.sty
(C:\Program Files\MiKTeX\tex/generic/iftex\iftex.sty))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.cfg))
(C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty)
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg)
(C:\Program Files\MiKTeX\tex/latex/graphics-def\xetex.def)))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hyperref.sty
(C:\Program Files\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty)
(C:\Program Files\MiKTeX\tex/generic/pdftexcmds\pdftexcmds.sty
(C:\Program Files\MiKTeX\tex/generic/infwarerr\infwarerr.sty))
(C:\Program Files\MiKTeX\tex/latex/kvsetkeys\kvsetkeys.sty)
(C:\Program Files\MiKTeX\tex/generic/kvdefinekeys\kvdefinekeys.sty)
(C:\Program Files\MiKTeX\tex/generic/pdfescape\pdfescape.sty)
(C:\Program Files\MiKTeX\tex/latex/hycolor\hycolor.sty)
(C:\Program Files\MiKTeX\tex/latex/letltxmacro\letltxmacro.sty)
(C:\Program Files\MiKTeX\tex/latex/auxhook\auxhook.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\nameref.sty
(C:\Program Files\MiKTeX\tex/latex/refcount\refcount.sty)
(C:\Program Files\MiKTeX\tex/generic/gettitlestring\gettitlestring.sty
(C:\Program Files\MiKTeX\tex/latex/kvoptions\kvoptions.sty)))
(C:\Program Files\MiKTeX\tex/latex/etoolbox\etoolbox.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\pd1enc.def)
(C:\Program Files\MiKTeX\tex/generic/intcalc\intcalc.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\puenc.def)
(C:\Program Files\MiKTeX\tex/latex/url\url.sty)
(C:\Program Files\MiKTeX\tex/generic/bitset\bitset.sty
(C:\Program Files\MiKTeX\tex/generic/bigintcalc\bigintcalc.sty))
(C:\Program Files\MiKTeX\tex/latex/base\atbegshi-ltx.sty))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hxetex.def
(C:\Program Files\MiKTeX\tex/generic/stringenc\stringenc.sty)
(C:\Program Files\MiKTeX\tex/latex/rerunfilecheck\rerunfilecheck.sty
(C:\Program Files\MiKTeX\tex/latex/base\atveryend-ltx.sty)
(C:\Program Files\MiKTeX\tex/generic/uniquecounter\uniquecounter.sty)))
(C:\Program Files\MiKTeX\tex/latex/caption\caption.sty
(C:\Program Files\MiKTeX\tex/latex/caption\caption3.sty))
(C:\Program Files\MiKTeX\tex/latex/caption\subcaption.sty)
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-xetex.def)
No file mapmisc.aux.
(C:\Program Files\MiKTeX\tex/latex/base\ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> ./mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
xelatex: major issue: Bis jetzt haben Sie als MiKTeX-Benutzer noch nicht nach Updates gesucht.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/d/RCompile/CRANpkg/local/4.3/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "d:/Rcompile/CRANpkg/local/4.3/mapmisc.Rcheck/vign_test/mapmisc", :
running 'make' failed
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.8.0
Check: tests
Result: ERROR
Running 'colourScale.R' [11s]
Running 'omerc.R' [30s]
Running 'openmap.R' [11s]
Running 'worldMap.R' [9s]
Running the tests in 'tests/openmap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\RtmpSwNusO/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.2/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ simplePlot
> myraster = raster(matrix(0,10,10),xmn=8,xmx=18,ymn=0,ymx=10,
+ crs=mapmisc::crsLL)
> values(myraster) = seq(0,1,len=ncell(myraster))
>
> myPoints = as(myraster,'SpatialPoints')[
+ seq(1,ncell(myraster),len=5)]
>
> plot(myraster)
> points(myPoints)
> #'
> #'
> #' only do the following if rgdal is available
> #+ africaPlots
> if(require('rgdal', quietly=TRUE)) {
+
+ # utm zone 32
+ utmproj = CRS("+init=epsg:3064")
+ myrasterUTM = projectRaster(myraster, crs=utmproj)
+ myPointsUTM = spTransform(myPoints, utmproj)
+ plot(myrasterUTM)
+ points(myPointsUTM)
+
+ myPointsMercator = spTransform(myPoints,
+ crsMerc)
+
+
+ myplot = function(first,second=first) {
+ par(mar=c(0,0,0,0))
+ plot(first)
+ plot(mytiles, add=TRUE)
+ plot(second,add=TRUE,col='blue')
+ # points(mycities,col='red')
+ # text(mycities, labels=mycities$name, col='red',pos=4)
+ scaleBar(first)
+ }
+ }
Please note that rgdal will be retired during October 2023,
plan transition to sf/stars/terra functions using GDAL and PROJ
at your earliest convenience.
See https://r-spatial.org/r/2023/05/15/evolution4.html and https://github.com/r-spatial/evolution
rgdal: version: 1.6-7, (SVN revision 1203)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 3.5.2, released 2022/09/02
Path to GDAL shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/gdal
GDAL binary built with GEOS: TRUE
Loaded PROJ runtime: Rel. 8.2.1, January 1st, 2022, [PJ_VERSION: 821]
Path to PROJ shared files: D:/RCompile/CRANpkg/lib/4.2/rgdal/proj
PROJ CDN enabled: FALSE
Linking to sp version:2.0-0
To mute warnings of possible GDAL/OSR exportToProj4() degradation,
use options("rgdal_show_exportToProj4_warnings"="none") before loading sp or rgdal.
proj_create: unrecognized format / unknown name
Error in spTransform(myPoints, utmproj) :
target crs creation failed: Unknown error (code 4096)
Calls: spTransform -> spTransform
In addition: Warning messages:
1: In CRS("+init=epsg:3064") : sf required for evolution_status==2L
2: In spTransform(myPoints, utmproj) :
NULL source CRS comment, falling back to PROJ string
3: In spTransform(myPoints, utmproj) :
NULL target CRS comment, falling back to PROJ string
4: In spTransform(myPoints, utmproj) : +init dropped in PROJ string
5: In is.projected(p4str) : Package sf not available
Execution halted
Running the tests in 'tests/worldMap.R' failed.
Complete output:
> #+ setup
> options("rgdal_show_exportToProj4_warnings"="none")
> library('mapmisc')
Loading required package: sp
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
Loading required package: raster
map images will be cached in D:\temp\Rtmpg73wi1/mapmiscCache
>
> if(!exists('mapmiscCachePath'))
+ mapmiscCachePath = system.file('extdata', package='mapmisc')
>
> if(!exists('mapmiscCacheReadOnly'))
+ mapmiscCacheReadOnly = TRUE
>
> mapmiscCachePath
[1] "D:/RCompile/CRANpkg/lib/4.2/mapmisc/extdata"
>
> options(
+ mapmiscCachePath = mapmiscCachePath,
+ mapmiscCacheReadOnly = mapmiscCacheReadOnly,
+ mapmiscVerbose=TRUE)
>
> getOption("mapmiscCachePath")
[1] "D:/RCompile/CRANpkg/lib/4.2/mapmisc/extdata"
> getOption("mapmiscCacheReadOnly")
[1] TRUE
> #'
>
>
> #+ themaps, fig.cap='some maps', fig.subcap = c('projectable region', 'projected, with bg','projected, with world countries','projectable madagascar','madagascar')
> Spackages = c('rgdal', 'rgeos', 'geosphere')
>
> #if(all(unlist(mapply(requireNamespace, package=Spackages, MoreArgs=list(quietly=TRUE))))){
> # library('rgdal')
>
> data("worldMap")
>
> world = spTransform(worldMap, crsLL)
Error in spTransform(worldMap, crsLL) :
sf required for evolution_status==2L
Calls: spTransform -> spTransform
Execution halted
Flavor: r-oldrel-windows-x86_64
Version: 1.8.0
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building 'mapmisc.Rnw' using knitr
proj_create: unrecognized format / unknown name
Quitting from lines 96-382 [meuseProj] (mapmisc.Rnw)
Error: processing vignette 'mapmisc.Rnw' failed with diagnostics:
source crs creation failed: Unknown error (code 4096)
--- failed re-building 'mapmisc.Rnw'
--- re-building 'north.Rmd' using docco_linear
--- finished re-building 'north.Rmd'
make[1]: Entering directory '/d/RCompile/CRANpkg/local/4.2/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
xelatex -interaction=nonstopmode mapmisc.tex;
This is XeTeX, Version 3.141592653-2.6-0.999995 (MiKTeX 23.4) (preloaded format=xelatex.fmt)
restricted \write18 enabled.
entering extended mode
(mapmisc.tex
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2023-04-20>
(C:\Program Files\MiKTeX\tex/latex/base\article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(C:\Program Files\MiKTeX\tex/latex/base\size12.clo))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty)
(C:\Program Files\MiKTeX\tex/generic/iftex\ifvtex.sty
(C:\Program Files\MiKTeX\tex/generic/iftex\iftex.sty))
(C:\Program Files\MiKTeX\tex/latex/geometry\geometry.cfg))
(C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty
(C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty)
(C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg)
(C:\Program Files\MiKTeX\tex/latex/graphics-def\xetex.def)))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hyperref.sty
(C:\Program Files\MiKTeX\tex/generic/ltxcmds\ltxcmds.sty)
(C:\Program Files\MiKTeX\tex/generic/pdftexcmds\pdftexcmds.sty
(C:\Program Files\MiKTeX\tex/generic/infwarerr\infwarerr.sty))
(C:\Program Files\MiKTeX\tex/latex/kvsetkeys\kvsetkeys.sty)
(C:\Program Files\MiKTeX\tex/generic/kvdefinekeys\kvdefinekeys.sty)
(C:\Program Files\MiKTeX\tex/generic/pdfescape\pdfescape.sty)
(C:\Program Files\MiKTeX\tex/latex/hycolor\hycolor.sty)
(C:\Program Files\MiKTeX\tex/latex/letltxmacro\letltxmacro.sty)
(C:\Program Files\MiKTeX\tex/latex/auxhook\auxhook.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\nameref.sty
(C:\Program Files\MiKTeX\tex/latex/refcount\refcount.sty)
(C:\Program Files\MiKTeX\tex/generic/gettitlestring\gettitlestring.sty
(C:\Program Files\MiKTeX\tex/latex/kvoptions\kvoptions.sty)))
(C:\Program Files\MiKTeX\tex/latex/etoolbox\etoolbox.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\pd1enc.def)
(C:\Program Files\MiKTeX\tex/generic/intcalc\intcalc.sty)
(C:\Program Files\MiKTeX\tex/latex/hyperref\puenc.def)
(C:\Program Files\MiKTeX\tex/latex/url\url.sty)
(C:\Program Files\MiKTeX\tex/generic/bitset\bitset.sty
(C:\Program Files\MiKTeX\tex/generic/bigintcalc\bigintcalc.sty))
(C:\Program Files\MiKTeX\tex/latex/base\atbegshi-ltx.sty))
(C:\Program Files\MiKTeX\tex/latex/hyperref\hxetex.def
(C:\Program Files\MiKTeX\tex/generic/stringenc\stringenc.sty)
(C:\Program Files\MiKTeX\tex/latex/rerunfilecheck\rerunfilecheck.sty
(C:\Program Files\MiKTeX\tex/latex/base\atveryend-ltx.sty)
(C:\Program Files\MiKTeX\tex/generic/uniquecounter\uniquecounter.sty)))
(C:\Program Files\MiKTeX\tex/latex/caption\caption.sty
(C:\Program Files\MiKTeX\tex/latex/caption\caption3.sty))
(C:\Program Files\MiKTeX\tex/latex/caption\subcaption.sty)
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-xetex.def)
No file mapmisc.aux.
(C:\Program Files\MiKTeX\tex/latex/base\ts1cmr.fd)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
Package hyperref Warning: Rerun to get /PageLabels entry.
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.41 \begin{knitrout}
! Undefined control sequence.
l.42 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.42 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.43 \begin{alltt}
! Undefined control sequence.
l.44 \hlkwd
{library}\hlstd{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd
{(}\hlstr{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr
{'sp'}\hlstd{)}
! Undefined control sequence.
l.44 \hlkwd{library}\hlstd{(}\hlstr{'sp'}\hlstd
{)}
! Undefined control sequence.
l.45 \hlkwd
{data}\hlstd{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd
{(}\hlstr{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr
{'meuse'}\hlstd{)}
! Undefined control sequence.
l.45 \hlkwd{data}\hlstd{(}\hlstr{'meuse'}\hlstd
{)}
! Undefined control sequence.
l.46 \hlkwd
{coordinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd
{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 \hlkwd{coordinates}\hlstd{(meuse)} \hlkwb
{<-} \hlopt{~}\hlstd{x}\hlopt{...
! Undefined control sequence.
l.46 ...rdinates}\hlstd{(meuse)} \hlkwb{<-} \hlopt
{~}\hlstd{x}\hlopt{+}\hlst...
! Undefined control sequence.
l.46 ...\hlstd{(meuse)} \hlkwb{<-} \hlopt{~}\hlstd
{x}\hlopt{+}\hlstd{y}
! Undefined control sequence.
l.46 ...euse)} \hlkwb{<-} \hlopt{~}\hlstd{x}\hlopt
{+}\hlstd{y}
! Undefined control sequence.
l.46 ...lkwb{<-} \hlopt{~}\hlstd{x}\hlopt{+}\hlstd
{y}
! Undefined control sequence.
l.47 \hlkwd
{class}\hlstd{(meuse)}
! Undefined control sequence.
l.47 \hlkwd{class}\hlstd
{(meuse)}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.48 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.54 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.55 \end{knitrout}
! LaTeX Error: Environment knitrout undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{knitrout}
! Undefined control sequence.
l.60 \definecolor
{shadecolor}{rgb}{0.969, 0.969, 0.969}\color{fgcolor}\begin...
! Undefined control sequence.
l.60 ...hadecolor}{rgb}{0.969, 0.969, 0.969}\color
{fgcolor}\begin{kframe}
! LaTeX Error: Environment kframe undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.60 ...0.969, 0.969}\color{fgcolor}\begin{kframe}
! LaTeX Error: Environment alltt undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.61 \begin{alltt}
! Undefined control sequence.
l.62 \hlkwd
{library}\hlstd{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd
{(}\hlstr{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr
{'rgdal'}\hlstd{)}
! Undefined control sequence.
l.62 \hlkwd{library}\hlstd{(}\hlstr{'rgdal'}\hlstd
{)}
! Undefined control sequence.
l.63 \hlkwd
{proj4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd
{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 \hlkwd{proj4string}\hlstd{(meuse)} \hlkwb
{<-} \hlkwd{CRS}\hlstd{(}\hlst...
! Undefined control sequence.
l.63 ...j4string}\hlstd{(meuse)} \hlkwb{<-} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.63 ...lstd{(meuse)} \hlkwb{<-} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:2899...
! Undefined control sequence.
l.63 ...se)} \hlkwb{<-} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:28992"}\hlstd{)}
! Undefined control sequence.
l.63 ...}\hlstd{(}\hlstr{"+init=epsg:28992"}\hlstd
{)}
! Undefined control sequence.
l.64 \hlstd
{meuseLL} \hlkwb{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb
{=} \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 \hlstd{meuseLL} \hlkwb{=} \hlkwd
{spTransform}\hlstd{(meuse,} \hlkwd{CRS...
! Undefined control sequence.
l.64 ...useLL} \hlkwb{=} \hlkwd{spTransform}\hlstd
{(meuse,} \hlkwd{CRS}\hlst...
! Undefined control sequence.
l.64 ... \hlkwd{spTransform}\hlstd{(meuse,} \hlkwd
{CRS}\hlstd{(}\hlstr{"+ini...
! Undefined control sequence.
l.64 ...ransform}\hlstd{(meuse,} \hlkwd{CRS}\hlstd
{(}\hlstr{"+init=epsg:4326...
! Undefined control sequence.
l.64 ...\hlstd{(meuse,} \hlkwd{CRS}\hlstd{(}\hlstr
{"+init=epsg:4326"}\hlstd{))}
! Undefined control sequence.
l.64 ...S}\hlstd{(}\hlstr{"+init=epsg:4326"}\hlstd
{))}
! LaTeX Error: \begin{document} ended by \end{alltt}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.65 \end{alltt}
! LaTeX Error: \begin{document} ended by \end{kframe}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.66 \end{kframe}
! LaTeX Error: \begin{document} ended by \end{knitrout}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.67 \end{knitrout}
Overfull \hbox (79.3986pt too wide) in paragraph at lines 60--68
[]\TU/lmr/m/n/12 shadecolorrgb0.969, 0.969, 0.969fgcolor library(’rgdal’) proj
4string(meuse) <- CRS(”+init=epsg:28992”)
)
! Emergency stop.
<*> ./mapmisc.tex
No pages of output.
Transcript written on mapmisc.log.
xelatex: major issue: Bis jetzt haben Sie als MiKTeX-Benutzer noch nicht nach Updates gesucht.
make[1]: *** [Makefile:11: mapmisc.pdf] Error 1
make[1]: Leaving directory '/d/RCompile/CRANpkg/local/4.2/mapmisc.Rcheck/vign_test/mapmisc/vignettes'
Error in tools::buildVignettes(dir = "d:/Rcompile/CRANpkg/local/4.2/mapmisc.Rcheck/vign_test/mapmisc", :
running 'make' failed
Execution halted
Flavor: r-oldrel-windows-x86_64