I wanted to re-build the pkgdown site and run into the following problem:
daniel@gin-nuest:~/git/sos4R$ R
R version 3.5.2 (2018-12-20) -- "Eggshell Igloo"
Copyright (C) 2018 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library("sos4R")
Loading required package: XML
Loading required package: RCurl
Loading required package: bitops
Loading required package: sp
Loading required package: httr
Loading required package: stringr
> mySOS <- SOS(url = "http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp", binding = "KVP")
[sos4R] Created SOS for URL http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp
> mySOS
Object of class SOS_1.0.0 [KVP, http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp, 52N SOS]
> library("pkgdown")
> mySOS <- SOS(url = "http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp", binding = "KVP")
terminate called after throwing an instance of 'Rcpp::exception'
what(): expected '>' [73]
Aborted (core dumped)
I wanted to re-build the pkgdown site and run into the following problem:
No idea what is going on here!
Error also exists when trying out in container, and the Traceback is more helpful:
docker run --rm -it rocker/geospatial R
Problem seems to be with the XML package in combination with
Rcpp
attached... installingRcpp_1.0.0.1
from GitHub does not solve the problem.@EHJ-52n Can you please try to replicate?