CRAN Package Check Results for Package T2DFitTailor

Last updated on 2024-05-12 21:48:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 4.65 42.96 47.61 ERROR
r-devel-linux-x86_64-debian-gcc 3.0.0 3.08 32.62 35.70 OK
r-devel-linux-x86_64-fedora-clang 3.0.0 61.74 OK
r-devel-linux-x86_64-fedora-gcc 3.0.0 78.82 OK
r-devel-windows-x86_64 3.0.0 6.00 117623.00 117629.00 OK
r-patched-linux-x86_64 3.0.0 4.91 40.46 45.37 OK
r-release-linux-x86_64 3.0.0 3.96 41.54 45.50 OK
r-release-macos-arm64 3.0.0 25.00 OK
r-release-macos-x86_64 3.0.0 56.00 OK
r-release-windows-x86_64 3.0.0 5.00 59.00 64.00 OK
r-oldrel-macos-arm64 3.0.0 29.00 OK
r-oldrel-macos-x86_64 3.0.0 44.00 OK
r-oldrel-windows-x86_64 3.0.0 7.00 62.00 69.00 OK

Check Details

Version: 3.0.0
Check: examples
Result: ERROR Running examples in ‘T2DFitTailor-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: VisualizeTailoredExercisePlan > ### Title: Tailor Exercise Plan for T2D Patients > ### Aliases: VisualizeTailoredExercisePlan > > ### ** Examples > > #Create a demo dataframe > set.seed(5) > df <- data.frame( + Age = sample(39:77, 8, replace = TRUE), + Sex = sample(0:1, 8, replace = TRUE), + BMI = sample(18:31, 8, replace = TRUE), + WHtR = sample(0.4:0.6, 8, replace = TRUE), + PCS = sample(27:54, 8, replace = TRUE), + Duration_T2D = sample(1:26, 8, replace = TRUE), + Total_cholesterol = sample(7.4:14.1, 8, replace = TRUE), + HDL = sample(1:1.7, 8, replace = TRUE), + LDL = sample(2.2:4.7, 8, replace = TRUE), + VO2_Max = sample(13:45, 8, replace = TRUE), + Lung_capacity = sample(1900:4600, 8, replace = TRUE), + Back_Scratch_Test = sample(-30:8, 8, replace = TRUE)) > > names(df) <- c('Age', 'Sex', 'BMI', 'WHtR', 'PCS', 'Duration_T2D (year)', + 'Total cholesterol (mmol/L)', 'HDL (mmol/L)', 'LDL (mmol/L)', + 'VO2_Max (ml/kg/min)', 'Lung_capacity (ml)', 'Back_Scratch_Test (cm)') > rownames(df) <- c('Sample1', 'Sample2', 'Sample3', 'Sample4', + 'Sample5', 'Sample6', 'Sample7', 'Sample8') > > # Run the TailorExercisePlan function > demo_result <- TailorExercisePlan(df) Note: Sample_ID and the rownames of input data correspond on a one-to-one basis. Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [106.54.44.39:5002] Failed to connect to 106.54.44.39 port 5002 after 10002 ms: Timeout was reached Calls: TailorExercisePlan ... request_fetch -> request_fetch.write_memory -> <Anonymous> Execution halted Flavor: r-devel-linux-x86_64-debian-clang