* using log directory 'd:/Rcompile/CRANpkg/local/4.6/Luminescence.Rcheck' * using R Under development (unstable) (2025-09-03 r88788 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'Luminescence/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Luminescence' version '1.1.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Luminescence' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking C++ specification ... OK * checking installed package size ... INFO installed size is 5.9Mb sub-directories of 1Mb or more: R 1.8Mb help 1.2Mb libs 1.1Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [55s] OK * checking Rd files ... [6s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [20s] ERROR Running examples in 'Luminescence-Ex.R' failed The error most likely occurred in: > ### Name: calc_MaxDose > ### Title: Apply the maximum age model to a given De distribution > ### Aliases: calc_MaxDose > > ### ** Examples > > > ## load example data > data(ExampleData.DeValues, envir = environment()) > > # apply the maximum dose model > calc_MaxDose(ExampleData.DeValues$CA1, sigmab = 0.2, par = 3) Error in UseMethod("logLik") : no applicable method for 'logLik' applied to an object of class "mle2" Calls: calc_MaxDose -> calc_MinDose -> BIC -> BIC.default -> ll Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [30s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(Luminescence) Welcome to the R package Luminescence version 1.1.0 [Built: 2025-09-04 02:24:46 UTC] The NSA: 'O'zapft is.' > > test_check("Luminescence") [ FAIL 1 | WARN 0 | SKIP 339 | PASS 27 ] ══ Skipped tests (339) ═════════════════════════════════════════════════════════ • On CRAN (339): 'test_Analyse_SAROSLdata.R:2:3', 'test_RLum.Analysis-class.R:27:3', 'test_RLum.Analysis-class.R:65:3', 'test_RLum.Analysis-class.R:133:3', 'test_RLum.Analysis-class.R:202:3', 'test_RLum.Analysis-class.R:282:3', 'test_RLum.Data.Curve.R:2:3', 'test_RLum.Data.Image.R:2:3', 'test_RLum.Data.Spectrum.R:2:3', 'test_RLum.Results-class.R:7:3', 'test_RLum.Results-class.R:28:3', 'test_RLum.Results-class.R:36:3', 'test_Risoe.BINfileData-class.R:6:3', 'test_Risoe.BINfileData-class.R:52:3', 'test_Risoe.BINfileData2RLum.Analysis.R:5:3', 'test_Risoe.BINfileData2RLum.Analysis.R:27:3', 'test_Risoe.BINfileData2RLum.Data.Curve.R:2:3', 'test_analyse_Al2O3C_CrossTalk.R:5:3', 'test_analyse_Al2O3C_CrossTalk.R:37:3', 'test_analyse_Al2O3C_ITC.R:5:3', 'test_analyse_Al2O3C_ITC.R:28:3', 'test_analyse_Al2O3C_Measurement.R:5:3', 'test_analyse_Al2O3C_Measurement.R:40:3', 'test_analyse_Al2O3C_Measurement.R:85:3', 'test_analyse_FadingMeasurement.R:6:3', 'test_analyse_FadingMeasurement.R:42:3', 'test_analyse_FadingMeasurement.R:84:3', 'test_analyse_FadingMeasurement.R:187:3', 'test_analyse_FadingMeasurement.R:244:3', 'test_analyse_FadingMeasurement.R:258:3', 'test_analyse_IRSAR.RF.R:5:3', 'test_analyse_IRSAR.RF.R:114:3', 'test_analyse_IRSAR.RF.R:166:3', 'test_analyse_IRSAR.RF.R:178:3', 'test_analyse_IRSAR.RF.R:196:3', 'test_analyse_IRSAR.RF.R:290:3', 'test_analyse_SAR.CWOSL.R:18:3', 'test_analyse_SAR.CWOSL.R:89:3', 'test_analyse_SAR.CWOSL.R:462:3', 'test_analyse_SAR.CWOSL.R:689:3', 'test_analyse_SAR.TL.R:8:3', 'test_analyse_SAR.TL.R:50:3', 'test_analyse_SAR.TL.R:113:3', 'test_analyse_ThermochronometryData.R:6:3', 'test_analyse_ThermochronometryData.R:23:3', 'test_analyse_baSAR.R:7:3', 'test_analyse_baSAR.R:199:3', 'test_analyse_baSAR.R:423:3', 'test_analyse_pIRIRSequence.R:228:5', 'test_analyse_pIRIRSequence.R:240:3', 'test_analyse_pIRIRSequence.R:259:3', 'test_analyse_portableOSL.R:16:5', 'test_analyse_portableOSL.R:99:5', 'test_analyse_portableOSL.R:188:3', 'test_analyse_portableOSL.R:200:3', 'test_apply_CosmicRayRemoval.R:5:3', 'test_apply_CosmicRayRemoval.R:18:3', 'test_apply_Crosstalk.R:6:3', 'test_apply_Crosstalk.R:15:3', 'test_apply_EfficiencyCorrection.R:2:3', 'test_as_latex_table.R:2:3', 'test_as_latex_table.R:24:3', 'test_bin_RLumData.R:5:3', 'test_bin_RLumData.R:12:3', 'test_calc_AliquotSize.R:2:3', 'test_calc_AliquotSize.R:30:3', 'test_calc_AliquotSize.R:78:3', 'test_calc_AverageDose.R:5:3', 'test_calc_AverageDose.R:41:3', 'test_calc_CentralDose.R:14:3', 'test_calc_CentralDose.R:35:3', 'test_calc_CobbleDoseRate.R:6:3', 'test_calc_CobbleDoseRate.R:23:3', 'test_calc_CobbleDoseRate.R:38:3', 'test_calc_CommonDose.R:5:3', 'test_calc_CommonDose.R:20:3', 'test_calc_CommonDose.R:45:3', 'test_calc_CosmicDoseRate.R:2:3', 'test_calc_CosmicDoseRate.R:57:3', 'test_calc_CosmicDoseRate.R:89:3', 'test_calc_EED_Model.R:5:3', 'test_calc_EED_Model.R:29:3', 'test_calc_FadingCorr.R:2:3', 'test_calc_FadingCorr.R:37:3', 'test_calc_FadingCorr.R:84:3', 'test_calc_FadingCorr.R:114:3', 'test_calc_FastRatio.R:5:3', 'test_calc_FastRatio.R:81:3', 'test_calc_FastRatio.R:136:3', 'test_calc_FiniteMixture.R:5:3', 'test_calc_FiniteMixture.R:31:3', 'test_calc_FiniteMixture.R:98:3', 'test_calc_FuchsLang2001.R:5:3', 'test_calc_FuchsLang2001.R:15:3', 'test_calc_HomogeneityTest.R:10:3', 'test_calc_HomogeneityTest.R:19:3', 'test_calc_Huntley2006.R:25:3', 'test_calc_Huntley2006.R:107:3', 'test_calc_Huntley2006.R:136:3', 'test_calc_Huntley2006.R:308:3', 'test_calc_IEU.R:5:3', 'test_calc_IEU.R:25:3', 'test_calc_IEU.R:49:3', 'test_calc_IEU.R:74:3', 'test_calc_IEU.R:96:3', 'test_calc_Lamothe2003.R:2:3', 'test_calc_Lamothe2003.R:66:3', 'test_calc_MaxDose.R:5:3', 'test_calc_MaxDose.R:16:3', 'test_calc_MoransI.R:6:3', 'test_calc_MoransI.R:39:3', 'test_calc_MoransI.R:67:3', 'test_calc_OSLLxTxDecomposed.R:6:3', 'test_calc_OSLLxTxDecomposed.R:36:3', 'test_calc_OSLLxTxRatio.R:5:3', 'test_calc_OSLLxTxRatio.R:37:3', 'test_calc_OSLLxTxRatio.R:83:3', 'test_calc_OSLLxTxRatio.R:168:3', 'test_calc_OSLLxTxRatio.R:208:3', 'test_calc_OSLLxTxRatio.R:269:3', 'test_calc_SourceDoseRate.R:2:3', 'test_calc_SourceDoseRate.R:17:3', 'test_calc_SourceDoseRate.R:46:3', 'test_calc_Statistics.R:5:3', 'test_calc_Statistics.R:26:3', 'test_calc_Statistics.R:44:3', 'test_calc_TLLxTxRatio.R:2:3', 'test_calc_ThermalLifetime.R:2:3', 'test_calc_ThermalLifetime.R:46:3', 'test_calc_WodaFuchs2008.R:4:3', 'test_calc_WodaFuchs2008.R:16:3', 'test_calc_gSGC.R:6:3', 'test_calc_gSGC.R:19:3', 'test_calc_gSGC.R:45:3', 'test_calc_gSGC_feldspar.R:2:3', 'test_combine_De_Dr.R:2:3', 'test_convert_Activity2Concentration.R:15:3', 'test_convert_Activity2Concentration.R:33:3', 'test_convert_Activity2Concentration.R:50:3', 'test_convert_BIN2CSV.R:5:3', 'test_convert_BIN2CSV.R:16:3', 'test_convert_CW2pX.R:10:3', 'test_convert_CW2pX.R:40:3', 'test_convert_CW2pX.R:64:3', 'test_convert_Concentration2DoseRate.R:8:3', 'test_convert_Concentration2DoseRate.R:38:3', 'test_convert_Daybreak2CSV.R:2:3', 'test_convert_Daybreak2CSV.R:16:3', 'test_convert_PSL2CSV.R:2:3', 'test_convert_PSL2CSV.R:11:3', 'test_convert_PSL2RisoeBINfiledata.R:2:3', 'test_convert_PSL2RisoeBINfiledata.R:15:3', 'test_convert_RLum2Risoe.BINfileData.R:5:3', 'test_convert_RLum2Risoe.BINfileData.R:14:3', 'test_convert_SG2MG.R:2:3', 'test_convert_SG2MG.R:13:3', 'test_convert_Second2Gray.R:10:3', 'test_convert_Second2Gray.R:34:3', 'test_convert_Wavelength2Energy.R:2:3', 'test_convert_Wavelength2Energy.R:15:3', 'test_convert_XSYG2CSV.R:2:3', 'test_convert_XSYG2CSV.R:21:3', 'test_extract_IrradiationTimes.R:5:3', 'test_extract_IrradiationTimes.R:33:3', 'test_extract_ROI.R:10:3', 'test_extract_ROI.R:30:3', 'test_fit_CWCurve.R:6:3', 'test_fit_CWCurve.R:31:3', 'test_fit_CWCurve.R:92:3', 'test_fit_DoseResponseCurve.R:5:3', 'test_fit_DoseResponseCurve.R:67:3', 'test_fit_DoseResponseCurve.R:156:3', 'test_fit_DoseResponseCurve.R:271:3', 'test_fit_DoseResponseCurve.R:654:3', 'test_fit_DoseResponseCurve.R:682:3', 'test_fit_EmissionSpectra.R:11:3', 'test_fit_EmissionSpectra.R:58:3', 'test_fit_EmissionSpectra.R:117:3', 'test_fit_IsothermalHolding.R:6:3', 'test_fit_IsothermalHolding.R:30:3', 'test_fit_LMCurve.R:5:3', 'test_fit_LMCurve.R:41:3', 'test_fit_LMCurve.R:118:3', 'test_fit_LMCurve.R:133:3', 'test_fit_OSLLifeTimes.R:6:3', 'test_fit_OSLLifeTimes.R:75:3', 'test_fit_SurfaceExposure.R:9:3', 'test_fit_SurfaceExposure.R:34:3', 'test_fit_SurfaceExposure.R:61:3', 'test_fit_SurfaceExposure.R:74:3', 'test_fit_SurfaceExposure.R:90:3', 'test_fit_SurfaceExposure.R:120:3', 'test_fit_SurfaceExposure.R:132:3', 'test_fit_SurfaceExposure.R:165:3', 'test_fit_ThermalQuenching.R:10:3', 'test_fit_ThermalQuenching.R:21:3', 'test_fit_ThermalQuenching.R:50:3', 'test_get_Layout.R:2:3', 'test_get_RLum.R:11:3', 'test_get_RLum.R:25:3', 'test_github.R:9:3', 'test_github.R:27:3', 'test_github.R:50:3', 'test_import_Data.R:2:3', 'test_import_Data.R:11:3', 'test_internals.R:2:3', 'test_internals_Thermochronometry.R:7:3', 'test_internals_Thermochronometry.R:20:3', 'test_merge_RLum.Analysis.R:2:3', 'test_merge_RLum.Data.Curve.R:19:3', 'test_merge_RLum.Data.Curve.R:48:3', 'test_merge_RLum.Data.Curve.R:60:3', 'test_merge_RLum.Data.Spectrum.R:13:3', 'test_merge_RLum.Data.Spectrum.R:49:3', 'test_merge_RLum.R:2:3', 'test_merge_RLum.Results.R:6:3', 'test_merge_RLum.Results.R:27:3', 'test_merge_Risoe.BINfileData.R:2:3', 'test_metadata.R:10:3', 'test_metadata.R:76:3', 'test_metadata.R:115:3', 'test_metadata.R:152:3', 'test_methods_DRAC.R:3:3', 'test_methods_S3.R:2:3', 'test_names_RLum.R:2:3', 'test_plot_AbanicoPlot.R:6:3', 'test_plot_AbanicoPlot.R:69:3', 'test_plot_AbanicoPlot.R:227:3', 'test_plot_AbanicoPlot.R:328:3', 'test_plot_DRCSummary.R:15:3', 'test_plot_DRCSummary.R:30:3', 'test_plot_DRTResults.R:8:3', 'test_plot_DRTResults.R:45:3', 'test_plot_DRTResults.R:88:3', 'test_plot_DRTResults.R:105:3', 'test_plot_DetPlot.R:6:3', 'test_plot_DetPlot.R:27:3', 'test_plot_DoseResponseCurve.R:7:3', 'test_plot_DoseResponseCurve.R:25:3', 'test_plot_DoseResponseCurve.R:43:3', 'test_plot_FilterCombinations.R:8:3', 'test_plot_FilterCombinations.R:22:3', 'test_plot_FilterCombinations.R:35:3', 'test_plot_GrowthCurve.R:5:3', 'test_plot_GrowthCurve.R:85:3', 'test_plot_GrowthCurve.R:124:3', 'test_plot_Histogram.R:6:3', 'test_plot_Histogram.R:31:3', 'test_plot_Histogram.R:61:3', 'test_plot_Histogram.R:78:3', 'test_plot_KDE.R:6:3', 'test_plot_KDE.R:35:3', 'test_plot_KDE.R:84:3', 'test_plot_MoranScatterplot.R:6:3', 'test_plot_MoranScatterplot.R:21:3', 'test_plot_MoranScatterplot.R:52:3', 'test_plot_NRt.R:8:3', 'test_plot_NRt.R:41:3', 'test_plot_OSLAgeSummary.R:2:3', 'test_plot_OSLAgeSummary.R:17:3', 'test_plot_RLum.Analysis.R:13:3', 'test_plot_RLum.Analysis.R:58:3', 'test_plot_RLum.Analysis.R:177:3', 'test_plot_RLum.Data.Curve.R:6:3', 'test_plot_RLum.Data.Curve.R:22:3', 'test_plot_RLum.Data.Image.R:5:3', 'test_plot_RLum.Data.Image.R:16:3', 'test_plot_RLum.Data.Spectrum.R:7:3', 'test_plot_RLum.Data.Spectrum.R:34:3', 'test_plot_RLum.Data.Spectrum.R:331:3', 'test_plot_RLum.Data.Spectrum.R:368:3', 'test_plot_RLum.R:2:3', 'test_plot_RLum.Results.R:5:3', 'test_plot_RLum.Results.R:15:3', 'test_plot_ROI.R:6:3', 'test_plot_ROI.R:20:3', 'test_plot_ROI.R:49:3', 'test_plot_RadialPlot.R:10:3', 'test_plot_RadialPlot.R:49:3', 'test_plot_RadialPlot.R:149:3', 'test_plot_Risoe.BINfileData.R:5:3', 'test_plot_Risoe.BINfileData.R:15:3', 'test_plot_SingleGrainDisc.R:6:3', 'test_plot_SingleGrainDisc.R:38:3', 'test_plot_SingleGrainDisc.R:62:3', 'test_plot_ViolinPlot.R:6:3', 'test_plot_ViolinPlot.R:40:3', 'test_plot_ViolinPlot.R:54:3', 'test_read_BIN2R.R:2:3', 'test_read_BIN2R.R:79:3', 'test_read_BIN2R.R:193:3', 'test_read_Daybreak2R.R:2:3', 'test_read_Daybreak2R.R:35:3', 'test_read_HeliosOSL2R.R:2:3', 'test_read_HeliosOSL2R.R:17:3', 'test_read_PSL2R.R:4:3', 'test_read_PSL2R.R:22:3', 'test_read_RF2R.R:2:3', 'test_read_RF2R.R:17:3', 'test_read_SPE2R.R:20:3', 'test_read_SPE2R.R:43:3', 'test_read_SPE2R.R:55:3', 'test_read_TIFF2R.R:2:3', 'test_read_TIFF2R.R:14:3', 'test_read_XSYG2R.R:8:3', 'test_read_XSYG2R.R:28:3', 'test_remove_SignalBackground.R:18:3', 'test_remove_SignalBackground.R:43:3', 'test_replicate_RLum.R:2:3', 'test_report_RLum.R:5:3', 'test_scale_GammaDose.R:6:3', 'test_scale_GammaDose.R:70:3', 'test_scale_GammaDose.R:100:3', 'test_smooth_RLum.R:13:3', 'test_smooth_RLum.R:32:2', 'test_structure_RLum.R:2:3', 'test_subset_RLum.R:3:3', 'test_subset_SingleGrainData.R:2:3', 'test_template_DRAC.R:3:3', 'test_trim_RLum.Data.R:6:3', 'test_trim_RLum.Data.R:18:3', 'test_trim_RLum.Data.R:87:3', 'test_trim_RLum.Data.R:106:3', 'test_trim_RLum.Data.R:121:3', 'test_use_DRAC.R:2:3', 'test_use_DRAC.R:41:3', 'test_utils_DRAC.R:2:3', 'test_verify_SingleGrainData.R:7:3', 'test_verify_SingleGrainData.R:26:3', 'test_verify_SingleGrainData.R:110:3', 'test_view.R:7:3', 'test_view.R:14:3', 'test_write_R2BIN.R:22:3', 'test_write_R2BIN.R:85:3', 'test_write_R2TIFF.R:6:3', 'test_write_R2TIFF.R:19:3', 'test_write_RLum2CSV.R:5:3', 'test_write_RLum2CSV.R:18:3', 'test_zzz.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calc_MinDose.R:3:1'): (code run outside of `test_that()`) ────── Error in `UseMethod("logLik")`: no applicable method for 'logLik' applied to an object of class "mle2" Backtrace: ▆ 1. └─Luminescence::calc_MinDose(...) at test_calc_MinDose.R:3:1 2. ├─stats::BIC(ests) 3. └─stats:::BIC.default(ests) 4. └─stats (local) ll(object) [ FAIL 1 | WARN 0 | SKIP 339 | PASS 27 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [13s] OK * checking PDF version of manual ... [36s] OK * checking HTML version of manual ... [42s] OK * DONE Status: 2 ERRORs