diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 5a5e247d..db835cfa 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -2,7 +2,7 @@ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: [main, master] + branches: [main, master, dev] pull_request: branches: [main, master] diff --git a/DESCRIPTION b/DESCRIPTION index 5d841145..53d0a073 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: RcppCGAL Type: Package Title: 'Rcpp' Integration for 'CGAL' -Version: 6.0 -Date: 2024-12-09 +Version: 6.0.0.9000 +Date: 2024-01-08 Authors@R: c( person(given = "Eric", family = "Dunipace", @@ -22,10 +22,8 @@ Description: Creates a header only package to link to the 'CGAL' see the 'CGAL' documentation at . Currently downloads version 6.0.1 of the 'CGAL' header files. License: GPL-3 -Imports: Rcpp, utils +Imports: Rcpp, utils, knitr, rmarkdown Suggests: - knitr, - rmarkdown, spelling, testthat (>= 3.0.0) BugReports: https://github.com/ericdunipace/RcppCGAL/issues diff --git a/NEWS.md b/NEWS.md index 9de32cb7..24d971e3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,15 @@ # Package RcppCGAL +## Changes in 6.0.1 +### Minor improvements and Bug Fixes +* Fixing a bug where some builds of Fedora Linux wouldn't untar header files +* Moving `rmarkdown` to imports so package won't fail building if vignettes are built without suggests + +## Changes in 6.0 +* Updating header files to CGAL header files to 6.0.1. +* Note that CGAL 6.0 requires C++17 standard. +* Note that the compiler flag to disable GMP has changed in the 6.0 version of CGAL. As a work around, users can use both flags in their 'Makevars' file: "-DCGAL_NO_GMP=1 -DCGAL_DISABLE_GMP=1". CGAL_NO_GMP was the old flag and CGAL_DISABLE_GMP is the new one. + ## Changes in 5.6.4 ### Minor improvements and Bug Fixes diff --git a/RcppCGAL.Rproj b/RcppCGAL.Rproj index 1788e686..6de0b481 100644 --- a/RcppCGAL.Rproj +++ b/RcppCGAL.Rproj @@ -1,4 +1,5 @@ Version: 1.0 +ProjectId: c2792a15-3d91-43ba-a6b5-115f84a00e29 RestoreWorkspace: Default SaveWorkspace: Default diff --git a/revdep/README.md b/revdep/README.md index 358187d5..63aa42cf 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,33 +1,34 @@ # Platform -|field |value | -|:--------|:------------------------------------------| -|version |R version 4.4.2 (2024-10-31) | -|os |macOS Sequoia 15.1.1 | -|system |aarch64, darwin20 | -|ui |RStudio | -|language |(EN) | -|collate |en_US.UTF-8 | -|ctype |en_US.UTF-8 | -|tz |America/Los_Angeles | -|date |2024-12-09 | -|rstudio |2024.09.1+394 Cranberry Hibiscus (desktop) | -|pandoc |3.1.13 @ /opt/homebrew/bin/pandoc | +|field |value | +|:--------|:------------------------------------------------------------------------------------------------| +|version |R version 4.4.2 (2024-10-31) | +|os |macOS Sequoia 15.2 | +|system |aarch64, darwin20 | +|ui |RStudio | +|language |(EN) | +|collate |en_US.UTF-8 | +|ctype |en_US.UTF-8 | +|tz |America/Los_Angeles | +|date |2025-01-08 | +|rstudio |2024.12.0+467 Kousa Dogwood (desktop) | +|pandoc |3.2 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/aarch64/ (via rmarkdown) | # Dependencies -|package |old | new|Δ | -|:--------|:-----|---:|:--| -|RcppCGAL |5.6.4 | 6|* | +|package | old|new |Δ | +|:-----------|---:|:----------|:--| +|RcppCGAL | 6|6.0.0.9000 |* | +|fontawesome | NA|0.5.3 |* | +|xfun | NA|0.50 |* | # Revdeps -## Failed to check (4) +## Failed to check (3) -|package |version |error |warning |note | -|:----------------|:-------|:---------|:-------|:----| -|[approxOT](failures.md#approxot)|1.1 |__+1__ |-1 |-1 | -|[interpolation](failures.md#interpolation)|0.1.1 |__+1__ | | | -|[WeightedTreemaps](failures.md#weightedtreemaps)|0.1.3 |__+1__ | | | -|[WpProj](failures.md#wpproj)|0.2 |-1 __+1__ |-1 |-1 | +|package |version |error |warning |note | +|:-------------|:-------|:-----|:-------|:----| +|approxOT |1.1 |1 | | | +|interpolation |0.1.1 |1 | | | +|WpProj |0.2 |1 | | | diff --git a/revdep/cran.md b/revdep/cran.md index d6be5eb1..28f34b8d 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -3,13 +3,12 @@ We checked 10 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems - * We failed to check 4 packages + * We failed to check 3 packages Issues with CRAN packages are summarised below. ### Failed to check -* approxOT (NA) -* interpolation (NA) -* WeightedTreemaps (NA) -* WpProj (NA) +* approxOT (NA) +* interpolation (NA) +* WpProj (NA) diff --git a/revdep/failures.md b/revdep/failures.md index 74822cad..28ea6801 100644 --- a/revdep/failures.md +++ b/revdep/failures.md @@ -12,7 +12,7 @@ Run `revdepcheck::revdep_details(, "approxOT")` for more info -## Newly broken +## In both * checking whether package ‘approxOT’ can be installed ... ERROR ``` @@ -20,29 +20,6 @@ Run `revdepcheck::revdep_details(, "approxOT")` for more info See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/new/approxOT.Rcheck/00install.out’ for details. ``` -## Newly fixed - -* checking whether package ‘approxOT’ can be installed ... WARNING - ``` - Found the following significant warnings: - sort.cpp:87:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:109:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:133:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:158:32: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:223:36: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_hilbert.cpp:25:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_rank.cpp:29:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate.cpp:21:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:17:22: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:24:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/old/approxOT.Rcheck/00install.out’ for details. - ``` - -* checking C++ specification ... NOTE - ``` - Specified C++14: please drop specification unless essential - ``` - ## Installation ### Devel @@ -52,10 +29,10 @@ Run `revdepcheck::revdep_details(, "approxOT")` for more info ** package ‘approxOT’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++14 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ... @@ -79,23 +56,23 @@ ERROR: compilation failed for package ‘approxOT’ ** package ‘approxOT’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++14 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ... -** inst -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (approxOT) + 281 | class Input_rep> + | ^ +/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include/CGAL/IO/io.h:280:17: note: declared here + 280 | template + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +18 warnings and 20 errors generated. +make: *** [hilbert_cgal.o] Error 1 +ERROR: compilation failed for package ‘approxOT’ +* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/old/approxOT.Rcheck/approxOT’ ``` @@ -113,7 +90,7 @@ Run `revdepcheck::revdep_details(, "interpolation")` for more info -## Newly broken +## In both * checking whether package ‘interpolation’ can be installed ... ERROR ``` @@ -130,18 +107,18 @@ Run `revdepcheck::revdep_details(, "interpolation")` for more info ** package ‘interpolation’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++17 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from ./interpolation_types.h:5: ... - 119 | explicit BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR number(const V& v, typename std::enable_if< - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include/boost/multiprecision/number.hpp:126:44: note: candidate constructor [with V = long] - 126 | explicit BOOST_MP_FORCEINLINE constexpr number(const V& v, typename std::enable_if< - | ^ + 168 | return ceilLg(BigInt(a)); + | ^ +/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include/boost/multiprecision/fwd.hpp:106:17: note: forward declaration of 'boost::multiprecision::backends::gmp_int' + 106 | struct gmp_int; + | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [RcppExports.o] Error 1 @@ -157,101 +134,23 @@ ERROR: compilation failed for package ‘interpolation’ ** package ‘interpolation’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++17 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c interpolation.cpp -o interpolation.o -clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o interpolation.so RcppExports.o interpolation.o -L/opt/homebrew/Cellar/gmp/6.3.0/lib -lgmp -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation -... -** R -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (interpolation) - - -``` -# WeightedTreemaps - -
- -* Version: 0.1.3 -* GitHub: https://github.com/m-jahn/WeightedTreemaps -* Source code: https://github.com/cran/WeightedTreemaps -* Date/Publication: 2024-11-04 22:30:02 UTC -* Number of recursive dependencies: 60 - -Run `revdepcheck::revdep_details(, "WeightedTreemaps")` for more info - -
- -## Newly broken - -* checking whether package ‘WeightedTreemaps’ can be installed ... ERROR - ``` - Installation failed. - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WeightedTreemaps/new/WeightedTreemaps.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘WeightedTreemaps’ ... -** package ‘WeightedTreemaps’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c voronoiDiagram.cpp -o voronoiDiagram.o -In file included from voronoiDiagram.cpp:13: +In file included from RcppExports.cpp:4: +In file included from ./interpolation_types.h:5: ... - 119 | explicit BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR number(const V& v, typename std::enable_if< - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include/boost/multiprecision/number.hpp:126:44: note: candidate constructor [with V = long] - 126 | explicit BOOST_MP_FORCEINLINE constexpr number(const V& v, typename std::enable_if< - | ^ + 168 | return ceilLg(BigInt(a)); + | ^ +/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include/boost/multiprecision/fwd.hpp:106:17: note: forward declaration of 'boost::multiprecision::backends::gmp_int' + 106 | struct gmp_int; + | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] -1 warning and 20 errors generated. -make: *** [voronoiDiagram.o] Error 1 -ERROR: compilation failed for package ‘WeightedTreemaps’ -* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WeightedTreemaps/new/WeightedTreemaps.Rcheck/WeightedTreemaps’ - - -``` -### CRAN - -``` -* installing *source* package ‘WeightedTreemaps’ ... -** package ‘WeightedTreemaps’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c voronoiDiagram.cpp -o voronoiDiagram.o -In file included from voronoiDiagram.cpp:13: -... -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** installing vignettes -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (WeightedTreemaps) +20 errors generated. +make: *** [RcppExports.o] Error 1 +ERROR: compilation failed for package ‘interpolation’ +* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/interpolation/old/interpolation.Rcheck/interpolation’ ``` @@ -269,7 +168,7 @@ Run `revdepcheck::revdep_details(, "WpProj")` for more info -## Newly broken +## In both * checking whether package ‘WpProj’ can be installed ... ERROR ``` @@ -277,56 +176,6 @@ Run `revdepcheck::revdep_details(, "WpProj")` for more info See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/new/WpProj.Rcheck/00install.out’ for details. ``` -## Newly fixed - -* checking tests ... - ``` - Running ‘spelling.R’ - Running ‘testthat.R’ - ERROR - Running the tests in ‘tests/testthat.R’ failed. - Last 13 lines of output: - 9. └─value[[3L]](cond) - ── Error ('test-WInftyL1.R:234:5'): WInfL1 changes penalty appropriately for net penalties ── - Error in `beta[g_index] <- x[g_index] * thresh`: replacement has length zero - Backtrace: - ▆ - ... - 1. └─WpProj:::WInfL1(...) at test-WInftyL1.R:234:5 - 2. ├─base::do.call("GroupLambda", GL_args) - 3. └─WpProj:::GroupLambda(...) - 4. └─WpProj:::lp_norm(...) - 5. └─WpProj:::lp_solve(...) - 6. └─WpProj:::group_threshold(...) - - [ FAIL 3 | WARN 3 | SKIP 17 | PASS 869 ] - Error: Test failures - Execution halted - ``` - -* checking whether package ‘WpProj’ can be installed ... WARNING - ``` - Found the following significant warnings: - SufficientStatistics.cpp:115:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - SufficientStatistics.cpp:116:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:87:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:109:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:133:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:158:32: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:223:36: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_hilbert.cpp:25:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_rank.cpp:29:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate.cpp:21:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:17:22: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:24:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/old/WpProj.Rcheck/00install.out’ for details. - ``` - -* checking C++ specification ... NOTE - ``` - Specified C++14: please drop specification unless essential - ``` - ## Installation ### Devel @@ -336,10 +185,10 @@ Run `revdepcheck::revdep_details(, "WpProj")` for more info ** package ‘WpProj’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++14 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppProgress/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RSpectra/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ... @@ -363,23 +212,23 @@ ERROR: compilation failed for package ‘WpProj’ ** package ‘WpProj’ successfully unpacked and MD5 sums checked ** using staged installation ** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ +using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ +using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.6)’ using C++14 -using SDK: ‘MacOSX15.1.sdk’ +using SDK: ‘MacOSX15.2.sdk’ clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppProgress/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RSpectra/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ... -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -*** copying figures -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (WpProj) + 281 | class Input_rep> + | ^ +/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include/CGAL/IO/io.h:280:17: note: declared here + 280 | template + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +23 warnings and 20 errors generated. +make: *** [SufficientStatistics.o] Error 1 +ERROR: compilation failed for package ‘WpProj’ +* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/old/WpProj.Rcheck/WpProj’ ``` diff --git a/revdep/problems.md b/revdep/problems.md index 74822cad..9a207363 100644 --- a/revdep/problems.md +++ b/revdep/problems.md @@ -1,385 +1 @@ -# approxOT - -
- -* Version: 1.1 -* GitHub: https://github.com/ericdunipace/approxOT -* Source code: https://github.com/cran/approxOT -* Date/Publication: 2024-01-16 11:50:02 UTC -* Number of recursive dependencies: 30 - -Run `revdepcheck::revdep_details(, "approxOT")` for more info - -
- -## Newly broken - -* checking whether package ‘approxOT’ can be installed ... ERROR - ``` - Installation failed. - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/new/approxOT.Rcheck/00install.out’ for details. - ``` - -## Newly fixed - -* checking whether package ‘approxOT’ can be installed ... WARNING - ``` - Found the following significant warnings: - sort.cpp:87:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:109:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:133:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:158:32: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:223:36: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_hilbert.cpp:25:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_rank.cpp:29:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate.cpp:21:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:17:22: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:24:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/old/approxOT.Rcheck/00install.out’ for details. - ``` - -* checking C++ specification ... NOTE - ``` - Specified C++14: please drop specification unless essential - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘approxOT’ ... -** package ‘approxOT’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++14 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o -In file included from RcppExports.cpp:4: -... - 281 | class Input_rep> - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include/CGAL/IO/io.h:280:17: note: declared here - 280 | template - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -18 warnings and 20 errors generated. -make: *** [hilbert_cgal.o] Error 1 -ERROR: compilation failed for package ‘approxOT’ -* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/approxOT/new/approxOT.Rcheck/approxOT’ - - -``` -### CRAN - -``` -* installing *source* package ‘approxOT’ ... -** package ‘approxOT’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++14 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/approxOT/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o -In file included from RcppExports.cpp:4: -... -** inst -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (approxOT) - - -``` -# interpolation - -
- -* Version: 0.1.1 -* GitHub: https://github.com/stla/interpolation -* Source code: https://github.com/cran/interpolation -* Date/Publication: 2023-12-20 09:20:02 UTC -* Number of recursive dependencies: 3 - -Run `revdepcheck::revdep_details(, "interpolation")` for more info - -
- -## Newly broken - -* checking whether package ‘interpolation’ can be installed ... ERROR - ``` - Installation failed. - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/interpolation/new/interpolation.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘interpolation’ ... -** package ‘interpolation’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -In file included from RcppExports.cpp:4: -In file included from ./interpolation_types.h:5: -... - 119 | explicit BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR number(const V& v, typename std::enable_if< - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include/boost/multiprecision/number.hpp:126:44: note: candidate constructor [with V = long] - 126 | explicit BOOST_MP_FORCEINLINE constexpr number(const V& v, typename std::enable_if< - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make: *** [RcppExports.o] Error 1 -ERROR: compilation failed for package ‘interpolation’ -* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/interpolation/new/interpolation.Rcheck/interpolation’ - - -``` -### CRAN - -``` -* installing *source* package ‘interpolation’ ... -** package ‘interpolation’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/interpolation/BH/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -I/opt/homebrew/Cellar/gmp/6.3.0/include -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c interpolation.cpp -o interpolation.o -clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o interpolation.so RcppExports.o interpolation.o -L/opt/homebrew/Cellar/gmp/6.3.0/lib -lgmp -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation -... -** R -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (interpolation) - - -``` -# WeightedTreemaps - -
- -* Version: 0.1.3 -* GitHub: https://github.com/m-jahn/WeightedTreemaps -* Source code: https://github.com/cran/WeightedTreemaps -* Date/Publication: 2024-11-04 22:30:02 UTC -* Number of recursive dependencies: 60 - -Run `revdepcheck::revdep_details(, "WeightedTreemaps")` for more info - -
- -## Newly broken - -* checking whether package ‘WeightedTreemaps’ can be installed ... ERROR - ``` - Installation failed. - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WeightedTreemaps/new/WeightedTreemaps.Rcheck/00install.out’ for details. - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘WeightedTreemaps’ ... -** package ‘WeightedTreemaps’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c voronoiDiagram.cpp -o voronoiDiagram.o -In file included from voronoiDiagram.cpp:13: -... - 119 | explicit BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR number(const V& v, typename std::enable_if< - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include/boost/multiprecision/number.hpp:126:44: note: candidate constructor [with V = long] - 126 | explicit BOOST_MP_FORCEINLINE constexpr number(const V& v, typename std::enable_if< - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -1 warning and 20 errors generated. -make: *** [voronoiDiagram.o] Error 1 -ERROR: compilation failed for package ‘WeightedTreemaps’ -* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WeightedTreemaps/new/WeightedTreemaps.Rcheck/WeightedTreemaps’ - - -``` -### CRAN - -``` -* installing *source* package ‘WeightedTreemaps’ ... -** package ‘WeightedTreemaps’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++17 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c RcppExports.cpp -o RcppExports.o -clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WeightedTreemaps/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I/opt/R/arm64/include -DCGAL_HEADER_ONLY=1 -DCGAL_NO_GMP=1 -DBOOST_NO_AUTO_PTR -fPIC -g -O3 -mtune=native -arch arm64 -ftemplate-depth-256 -DSTAN_THREADS -c voronoiDiagram.cpp -o voronoiDiagram.o -In file included from voronoiDiagram.cpp:13: -... -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -** building package indices -** installing vignettes -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (WeightedTreemaps) - - -``` -# WpProj - -
- -* Version: 0.2 -* GitHub: NA -* Source code: https://github.com/cran/WpProj -* Date/Publication: 2024-01-22 17:12:47 UTC -* Number of recursive dependencies: 99 - -Run `revdepcheck::revdep_details(, "WpProj")` for more info - -
- -## Newly broken - -* checking whether package ‘WpProj’ can be installed ... ERROR - ``` - Installation failed. - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/new/WpProj.Rcheck/00install.out’ for details. - ``` - -## Newly fixed - -* checking tests ... - ``` - Running ‘spelling.R’ - Running ‘testthat.R’ - ERROR - Running the tests in ‘tests/testthat.R’ failed. - Last 13 lines of output: - 9. └─value[[3L]](cond) - ── Error ('test-WInftyL1.R:234:5'): WInfL1 changes penalty appropriately for net penalties ── - Error in `beta[g_index] <- x[g_index] * thresh`: replacement has length zero - Backtrace: - ▆ - ... - 1. └─WpProj:::WInfL1(...) at test-WInftyL1.R:234:5 - 2. ├─base::do.call("GroupLambda", GL_args) - 3. └─WpProj:::GroupLambda(...) - 4. └─WpProj:::lp_norm(...) - 5. └─WpProj:::lp_solve(...) - 6. └─WpProj:::group_threshold(...) - - [ FAIL 3 | WARN 3 | SKIP 17 | PASS 869 ] - Error: Test failures - Execution halted - ``` - -* checking whether package ‘WpProj’ can be installed ... WARNING - ``` - Found the following significant warnings: - SufficientStatistics.cpp:115:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - SufficientStatistics.cpp:116:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:87:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:109:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:133:35: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:158:32: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - sort.cpp:223:36: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_hilbert.cpp:25:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_rank.cpp:29:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate.cpp:21:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:17:22: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - trans_univariate_approx_pwr.cpp:24:25: warning: 'LinSpaced' is deprecated [-Wdeprecated-declarations] - See ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/old/WpProj.Rcheck/00install.out’ for details. - ``` - -* checking C++ specification ... NOTE - ``` - Specified C++14: please drop specification unless essential - ``` - -## Installation - -### Devel - -``` -* installing *source* package ‘WpProj’ ... -** package ‘WpProj’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++14 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppProgress/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RSpectra/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o -In file included from RcppExports.cpp:4: -... - 281 | class Input_rep> - | ^ -/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/new/RcppCGAL/include/CGAL/IO/io.h:280:17: note: declared here - 280 | template - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -23 warnings and 20 errors generated. -make: *** [SufficientStatistics.o] Error 1 -ERROR: compilation failed for package ‘WpProj’ -* removing ‘/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/checks.noindex/WpProj/new/WpProj.Rcheck/WpProj’ - - -``` -### CRAN - -``` -* installing *source* package ‘WpProj’ ... -** package ‘WpProj’ successfully unpacked and MD5 sums checked -** using staged installation -** libs -using C compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++ compiler: ‘Apple clang version 16.0.0 (clang-1600.0.26.4)’ -using C++14 -using SDK: ‘MacOSX15.1.sdk’ -clang++ -arch arm64 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/BH/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/Rcpp/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppEigen/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RcppProgress/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/RcppCGAL/old/RcppCGAL/include' -I'/Users/eifer/GoogleDrive/R/RcppCGAL/revdep/library.noindex/WpProj/RSpectra/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o -In file included from RcppExports.cpp:4: -... -** byte-compile and prepare package for lazy loading -** help -*** installing help indices -*** copying figures -** building package indices -** testing if installed package can be loaded from temporary location -** checking absolute paths in shared objects and dynamic libraries -** testing if installed package can be loaded from final location -** testing if installed package keeps a record of temporary installation path -* DONE (WpProj) - - -``` +*Wow, no problems at all. :)* \ No newline at end of file diff --git a/tools/config/downloader_functions.R b/tools/config/downloader_functions.R index 6699b4bc..5b031cfc 100644 --- a/tools/config/downloader_functions.R +++ b/tools/config/downloader_functions.R @@ -89,6 +89,30 @@ download_tarball <- function(dest_folder, cgal_path, pkg_path, overwrite = FALSE } +untar_with_fallback <- function(tarfile, exdir = ".", tar = Sys.getenv("TAR"), ...) { + # Try using system tar first + try_system_tar <- try({ + utils::untar(tarfile, exdir = exdir, tar = tar...) + return(TRUE) + }, silent = TRUE) + + # If system tar fails, fall back to R's internal tar + if (inherits(try_system_tar, "try-error")) { + message("System tar failed. Falling back to internal tar.") + try_internal_tar <- try({ + utils::untar(tarfile, exdir = exdir, tar = "internal", ...) + return(TRUE) + }, silent = TRUE) + + # Check if internal tar also fails + if (inherits(try_internal_tar, "try-error")) { + stop("Both system tar and internal tar failed to extract the archive.") + } + } + + message("Extraction completed successfully.") +} + untar_tarball <- function(temp_file, dest_folder, own = FALSE) { # message(" Unzipping the CGAL file\n") if (!file.exists(dest_folder)) { @@ -96,6 +120,7 @@ untar_tarball <- function(temp_file, dest_folder, own = FALSE) { } target_file <- file.path(dest_folder, "CGAL") + if (!file.exists(temp_file)) stop("Error! Can't find the tar file!") # tmp_dir_ <- file.path(tempdir(), "uz_tmp_90") # dir.create(tmp_dir_) @@ -107,7 +132,7 @@ untar_tarball <- function(temp_file, dest_folder, own = FALSE) { } else { Sys.getenv("TAR") } - utils::untar(tarfile = temp_file, exdir = tmp_dir_, tar = whichtar) + untar_with_fallback(tarfile = temp_file, exdir = tmp_dir_, tar = whichtar) # using system TAR causes windwos server builds to hang # utils::untar(tarfile = temp_file, exdir = tmp_dir_) @@ -123,7 +148,7 @@ untar_tarball <- function(temp_file, dest_folder, own = FALSE) { # message(" Moving CGAL folder to its final location\n") # Move good file into final position # if (!file.exists(target_file)) dir.create(target_file) - if (length(source_file) == 0 || !file.exists(source_file)) stop("Error! The headerfiles were not decompressed properly!") + if (length(source_file) == 0 || !file.exists(source_file)) stop(sprintf("Error! The headerfiles were not decompressed properly! unzip file = '%s', temp file = '%s'", temp_file, tmp_dir_ )) file.rename(source_file, target_file) # Delete temp files