Last updated on 2025-01-30 16:48:51 CET.
Package | ERROR | OK |
---|---|---|
srppp | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(srppp)
Loading required package: dm
Attaching package: 'dm'
The following object is masked from 'package:stats':
filter
>
> test_check("srppp")
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 3 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-srppp_xml.R:7:3'): We get a dm object with relational integrity ──
Error in `download.file(from, path)`: cannot open URL 'https://www.blv.admin.ch/dam/blv/de/dokumente/zulassung-pflanzenschutzmittel/pflanzenschutzmittelverzeichnis/daten-pflanzenschutzmittelverzeichnis.zip.download.zip/Daten%20Pflanzenschutzmittelverzeichnis.zip'
Backtrace:
▆
1. └─srppp::srppp_dm() at test-srppp_xml.R:7:3
2. ├─srppp::srppp_xml_get(from)
3. └─srppp:::srppp_xml_get.character(from)
4. └─utils::download.file(from, path)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 3 ]
Flavor: r-release-linux-x86_64
Version: 1.0.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘srppp.rmd’ using rmarkdown
trying URL 'https://www.blv.admin.ch/dam/blv/de/dokumente/zulassung-pflanzenschutzmittel/pflanzenschutzmittelverzeichnis/daten-pflanzenschutzmittelverzeichnis.zip.download.zip/Daten%20Pflanzenschutzmittelverzeichnis.zip'
Quitting from lines 42-44 [unnamed-chunk-1] (srppp.rmd)
Error: processing vignette 'srppp.rmd' failed with diagnostics:
cannot open URL 'https://www.blv.admin.ch/dam/blv/de/dokumente/zulassung-pflanzenschutzmittel/pflanzenschutzmittelverzeichnis/daten-pflanzenschutzmittelverzeichnis.zip.download.zip/Daten%20Pflanzenschutzmittelverzeichnis.zip'
--- failed re-building ‘srppp.rmd’
--- re-building ‘srppp_products_with_MO.rmd’ using rmarkdown
trying URL 'https://www.blv.admin.ch/dam/blv/de/dokumente/zulassung-pflanzenschutzmittel/pflanzenschutzmittelverzeichnis/daten-pflanzenschutzmittelverzeichnis.zip.download.zip/Daten%20Pflanzenschutzmittelverzeichnis.zip'
Quitting from lines 24-25 [srppp] (srppp_products_with_MO.rmd)
Error: processing vignette 'srppp_products_with_MO.rmd' failed with diagnostics:
cannot open URL 'https://www.blv.admin.ch/dam/blv/de/dokumente/zulassung-pflanzenschutzmittel/pflanzenschutzmittelverzeichnis/daten-pflanzenschutzmittelverzeichnis.zip.download.zip/Daten%20Pflanzenschutzmittelverzeichnis.zip'
--- failed re-building ‘srppp_products_with_MO.rmd’
SUMMARY: processing the following files failed:
‘srppp.rmd’ ‘srppp_products_with_MO.rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-linux-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.