CRAN Package Check Results for Package sarp.snowprofile

Last updated on 2025-12-12 23:51:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.2 8.01 53.96 61.97 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.2 4.81 39.27 44.08 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.2 12.00 88.81 100.81 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.2 11.00 96.39 107.39 ERROR
r-devel-windows-x86_64 1.3.2 9.00 77.00 86.00 ERROR
r-patched-linux-x86_64 1.3.2 8.41 56.34 64.75 OK
r-release-linux-x86_64 1.3.2 7.54 55.89 63.43 OK
r-release-macos-arm64 1.3.2 OK
r-release-macos-x86_64 1.3.2 5.00 64.00 69.00 OK
r-release-windows-x86_64 1.3.2 8.00 80.00 88.00 OK
r-oldrel-macos-arm64 1.3.2 OK
r-oldrel-macos-x86_64 1.3.2 5.00 49.00 54.00 OK
r-oldrel-windows-x86_64 1.3.2 11.00 97.00 108.00 OK

Check Details

Version: 1.3.2
Check: examples
Result: ERROR Running examples in ‘sarp.snowprofile-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: export.snowprofileCsv > ### Title: Export or write a snowprofile object to a CSV table > ### Aliases: export.snowprofileCsv > > ### ** Examples > > > ## export an entire snowprofile object: > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = TRUE) > > > ## export only the layer properties of a snowprofile object, > # and change the column order with few column names: > # All layer variables will be exported, but the three ones provided in 'variables' > # will be the first three columns of the csv table, and their column names will be changed > # accordingly. > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = 'Layers', + variables = list(height = 'height_top', hardness = 'hardness', + gtype = 'gt1')) > > > ## export all layer properties of a snowprofile object plus the station ID: > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = 'Layers', variables = list(station_id = 'station_id')) > > ## check the content of the exported csv file: > csv_content <- read.csv(file.path(tempdir(), 'file.csv')) > head(csv_content) station_id depth thickness height hardness gtype gsize_avg gsize_max lwc 1 niviz_station 250 10 10 5 MFcr 1.5 1.5 D 2 niviz_station 230 20 30 3 FC 2.0 2.0 D 3 niviz_station 220 10 40 5 MFcr 1.5 1.5 D 4 niviz_station 157 63 103 4 RG 0.3 0.3 D 5 niviz_station 155 5 105 2 SH 5.0 5.0 D 6 niviz_station 95 60 165 4 RG 0.3 0.3 D gtype_sec ddate 1 <NA> <NA> 2 <NA> <NA> 3 <NA> <NA> 4 <NA> <NA> 5 <NA> <NA> 6 <NA> <NA> > > ## or re-import the csv file as snowprofile object: > csv_snowprofile <- snowprofileCsv(file.path(tempdir(), 'file.csv')) Error in r[i1] - r[if (lag < (len <- length(r))) -len:-(len - lag + 1L) else i0] : non-numeric argument to binary operator Calls: snowprofileCsv ... format_snowprofileLayers -> snowprofileLayers -> diff -> diff.default Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.3.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘sarp.snowprofile.Rmd’ using rmarkdown Quitting from sarp.snowprofile.Rmd:45-47 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `r[i1] - r[if (lag < (len <- length(r))) -len:-(len - lag + 1L) else i0]`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─sarp.snowprofile::snowprofile(dropNAs = FALSE) 2. ├─base::colnames(layers) 3. │ └─base::is.data.frame(x) 4. └─sarp.snowprofile::snowprofileLayers(dropNAs = FALSE, validate = FALSE) 5. ├─base::diff(sapply(entries[!is.na(entries)], length)) 6. └─base::diff.default(sapply(entries[!is.na(entries)], length)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'sarp.snowprofile.Rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘sarp.snowprofile.Rmd’ SUMMARY: processing the following file failed: ‘sarp.snowprofile.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.3.2
Check: examples
Result: ERROR Running examples in ‘sarp.snowprofile-Ex.R’ failed The error most likely occurred in: > ### Name: export.snowprofileCsv > ### Title: Export or write a snowprofile object to a CSV table > ### Aliases: export.snowprofileCsv > > ### ** Examples > > > ## export an entire snowprofile object: > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = TRUE) > > > ## export only the layer properties of a snowprofile object, > # and change the column order with few column names: > # All layer variables will be exported, but the three ones provided in 'variables' > # will be the first three columns of the csv table, and their column names will be changed > # accordingly. > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = 'Layers', + variables = list(height = 'height_top', hardness = 'hardness', + gtype = 'gt1')) > > > ## export all layer properties of a snowprofile object plus the station ID: > > export.snowprofileCsv(SPpairs$A_manual, filename = file.path(tempdir(), 'file.csv'), + export.all = 'Layers', variables = list(station_id = 'station_id')) > > ## check the content of the exported csv file: > csv_content <- read.csv(file.path(tempdir(), 'file.csv')) > head(csv_content) station_id depth thickness height hardness gtype gsize_avg gsize_max lwc 1 niviz_station 250 10 10 5 MFcr 1.5 1.5 D 2 niviz_station 230 20 30 3 FC 2.0 2.0 D 3 niviz_station 220 10 40 5 MFcr 1.5 1.5 D 4 niviz_station 157 63 103 4 RG 0.3 0.3 D 5 niviz_station 155 5 105 2 SH 5.0 5.0 D 6 niviz_station 95 60 165 4 RG 0.3 0.3 D gtype_sec ddate 1 <NA> <NA> 2 <NA> <NA> 3 <NA> <NA> 4 <NA> <NA> 5 <NA> <NA> 6 <NA> <NA> > > ## or re-import the csv file as snowprofile object: > csv_snowprofile <- snowprofileCsv(file.path(tempdir(), 'file.csv')) Error in r[i1] - r[if (lag < (len <- length(r))) -len:-(len - lag + 1L) else i0] : non-numeric argument to binary operator Calls: snowprofileCsv ... format_snowprofileLayers -> snowprofileLayers -> diff -> diff.default Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.3.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘sarp.snowprofile.Rmd’ using rmarkdown Quitting from sarp.snowprofile.Rmd:45-47 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `r[i1] - r[if (lag < (len <- length(r))) -len:-(len - lag + 1L) else i0]`: ! non-numeric argument to binary operator --- Backtrace: ▆ 1. └─sarp.snowprofile::snowprofile(dropNAs = FALSE) 2. ├─base::colnames(layers) 3. │ └─base::is.data.frame(x) 4. └─sarp.snowprofile::snowprofileLayers(dropNAs = FALSE, validate = FALSE) 5. ├─base::diff(sapply(entries[!is.na(entries)], length)) 6. └─base::diff.default(sapply(entries[!is.na(entries)], length)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'sarp.snowprofile.Rmd' failed with diagnostics: non-numeric argument to binary operator --- failed re-building ‘sarp.snowprofile.Rmd’ SUMMARY: processing the following file failed: ‘sarp.snowprofile.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-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.
Health stats visible at Monitor.