CRAN Package Check Results for Package activAnalyzer

Last updated on 2022-10-07 08:53:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 23.54 162.27 185.81 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.4 17.56 114.34 131.90 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.4 251.82 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.4 224.98 ERROR
r-devel-windows-x86_64 1.0.4 159.00 176.00 335.00 ERROR
r-patched-linux-x86_64 1.0.4 19.24 206.39 225.63 OK
r-release-linux-x86_64 1.0.4 15.40 214.77 230.17 OK
r-release-macos-arm64 1.0.4 71.00 NOTE
r-release-macos-x86_64 1.0.4 108.00 NOTE
r-release-windows-x86_64 1.0.4 97.00 243.00 340.00 OK
r-oldrel-macos-arm64 1.0.4 68.00 NOTE
r-oldrel-macos-x86_64 1.0.4 105.00 NOTE
r-oldrel-windows-ix86+x86_64 1.0.4 45.00 262.00 307.00 OK

Check Details

Version: 1.0.4
Check: examples
Result: ERROR
    Running examples in 'activAnalyzer-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: average_results
    > ### Title: Average results over valid days
    > ### Aliases: average_results
    >
    > ### ** Examples
    >
    > file <- system.file("extdata", "acc.agd", package = "activAnalyzer")
    > mydata <- prepare_dataset(data = file)
    > mydata_with_wear_marks <- mark_wear_time(
    + dataset = mydata,
    + TS = "TimeStamp",
    + to_epoch = 60,
    + cts = "vm",
    + frame = 90,
    + allowanceFrame = 2,
    + streamFrame = 30
    + )
    Warning: Expected 2 pieces. Missing pieces filled with `NA` in 5 rows [1081, 2521, 3961, 5401, 6841].
    frame is 90
    streamFrame is 30
    allowanceFrame is 2
    Error in as.POSIXlt.character(x, tz, ...) :
     character string is not in a standard unambiguous format
    Calls: mark_wear_time ... as.POSIXct.default -> as.POSIXct -> as.POSIXlt -> as.POSIXlt.character
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.0.4
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/0s]
     Running 'testthat.R' [32s/37s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(shinytest)
     shinytest requires PhantomJS to record and run tests.
     * To install it, run shinytest::installDependencies()
     * If it is installed, please check it is available on the PATH
     > library(activAnalyzer)
     >
     > test_check("activAnalyzer")
     You have computed BMR using the following inputs:
     age = 32
     weight = 67
     sex = male
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = female
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = undefined
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = undefined
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     This Font Awesome icon ('far fa-file-alt') does not exist:
     * if providing a custom `html_dependency` these `name` checks can
     be deactivated with `verify_fa = FALSE`
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error (test-create_fig_res_by_day.R:6:3): Create a figure with metrics for each day --
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     x
     1. +-activAnalyzer::mark_wear_time(...) at test-create_fig_res_by_day.R:6:2
     2. | +-... %>% ...
     3. | \-PhysicalActivity::wearingMarking(...)
     4. | \-PhysicalActivity::markingTime(...)
     5. | +-base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. | \-base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. | +-base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. | +-base::as.POSIXlt(x, tz, ...)
     9. | \-base::as.POSIXlt.character(x, tz, ...)
     10. \-dplyr::mutate(...)
     -- Error (test-create_flextable_summary.R:6:3): generate a flextable object ----
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     x
     1. +-activAnalyzer::mark_wear_time(...) at test-create_flextable_summary.R:6:2
     2. | +-... %>% ...
     3. | \-PhysicalActivity::wearingMarking(...)
     4. | \-PhysicalActivity::markingTime(...)
     5. | +-base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. | \-base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. | +-base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. | +-base::as.POSIXlt(x, tz, ...)
     9. | \-base::as.POSIXlt.character(x, tz, ...)
     10. \-dplyr::mutate(...)
     -- Error (test-mark_wear_time.R:4:3): Total wear time is correctly computed ----
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     x
     1. +-activAnalyzer::mark_wear_time(...) at test-mark_wear_time.R:4:2
     2. | +-... %>% ...
     3. | \-PhysicalActivity::wearingMarking(...)
     4. | \-PhysicalActivity::markingTime(...)
     5. | +-base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. | \-base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. | +-base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. | +-base::as.POSIXlt(x, tz, ...)
     9. | \-base::as.POSIXlt.character(x, tz, ...)
     10. \-dplyr::mutate(...)
     -- Error (test-plot_data.R:3:3): a plot with data marked for non wear time is obtained --
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     x
     1. +-prepare_dataset(data = file) %>% mark_wear_time() %>% ... at test-plot_data.R:3:2
     2. +-activAnalyzer::plot_data(.)
     3. | \-base::format(data$date, "%d-%m-%y")
     4. +-activAnalyzer::mark_wear_time(.)
     5. | +-... %>% ...
     6. | \-PhysicalActivity::wearingMarking(...)
     7. | \-PhysicalActivity::markingTime(...)
     8. | +-base::as.POSIXct(paste(day1, startTime), tz = tz)
     9. | \-base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     10. | +-base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     11. | +-base::as.POSIXlt(x, tz, ...)
     12. | \-base::as.POSIXlt.character(x, tz, ...)
     13. \-dplyr::mutate(...)
     -- Error (test-plot_data_with_intensity.R:3:3): a plot with data marked for intensity is obtained --
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     x
     1. +-... %>% plot_data_with_intensity() at test-plot_data_with_intensity.R:3:2
     2. +-activAnalyzer::plot_data_with_intensity(.)
     3. | \-base::format(data$date, "%d-%m-%y")
     4. +-activAnalyzer::mark_intensity(.)
     5. | \-base::as.factor(data$date)
     6. | \-base::is.factor(x)
     7. +-activAnalyzer::mark_wear_time(.)
     8. | +-... %>% ...
     9. | \-PhysicalActivity::wearingMarking(...)
     10. | \-PhysicalActivity::markingTime(...)
     11. | +-base::as.POSIXct(paste(day1, startTime), tz = tz)
     12. | \-base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     13. | +-base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     14. | +-base::as.POSIXlt(x, tz, ...)
     15. | \-base::as.POSIXlt.character(x, tz, ...)
     16. \-dplyr::mutate(...)
    
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.4
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building 'activAnalyzer.Rmd' using rmarkdown
    Quitting from lines 53-67 (activAnalyzer.Rmd)
    Error: processing vignette 'activAnalyzer.Rmd' failed with diagnostics:
    character string is not in a standard unambiguous format
    --- failed re-building 'activAnalyzer.Rmd'
    
    SUMMARY: processing the following file failed:
     'activAnalyzer.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.0.4
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [21s/34s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinytest)
     shinytest requires PhantomJS to record and run tests.
     • To install it, run shinytest::installDependencies()
     • If it is installed, please check it is available on the PATH
     > library(activAnalyzer)
     >
     > test_check("activAnalyzer")
     You have computed BMR using the following inputs:
     age = 32
     weight = 67
     sex = male
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = female
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = undefined
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = undefined
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     This Font Awesome icon ('far fa-file-alt') does not exist:
     * if providing a custom `html_dependency` these `name` checks can
     be deactivated with `verify_fa = FALSE`
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-create_fig_res_by_day.R:6:3): Create a figure with metrics for each day ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_fig_res_by_day.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-create_flextable_summary.R:6:3): generate a flextable object ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_flextable_summary.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-mark_wear_time.R:4:3): Total wear time is correctly computed ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-mark_wear_time.R:4:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-plot_data.R:3:3): a plot with data marked for non wear time is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─prepare_dataset(data = file) %>% mark_wear_time() %>% ... at test-plot_data.R:3:2
     2. ├─activAnalyzer::plot_data(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_wear_time(.)
     5. │ ├─... %>% ...
     6. │ └─PhysicalActivity::wearingMarking(...)
     7. │ └─PhysicalActivity::markingTime(...)
     8. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     9. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     10. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     11. │ ├─base::as.POSIXlt(x, tz, ...)
     12. │ └─base::as.POSIXlt.character(x, tz, ...)
     13. └─dplyr::mutate(...)
     ── Error (test-plot_data_with_intensity.R:3:3): a plot with data marked for intensity is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─... %>% plot_data_with_intensity() at test-plot_data_with_intensity.R:3:2
     2. ├─activAnalyzer::plot_data_with_intensity(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_intensity(.)
     5. │ └─base::as.factor(data$date)
     6. │ └─base::is.factor(x)
     7. ├─activAnalyzer::mark_wear_time(.)
     8. │ ├─... %>% ...
     9. │ └─PhysicalActivity::wearingMarking(...)
     10. │ └─PhysicalActivity::markingTime(...)
     11. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     12. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     13. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     14. │ ├─base::as.POSIXlt(x, tz, ...)
     15. │ └─base::as.POSIXlt.character(x, tz, ...)
     16. └─dplyr::mutate(...)
    
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.4
Check: package dependencies
Result: NOTE
    Imports includes 24 non-default packages.
    Importing from so many packages makes the package vulnerable to any of
    them becoming unavailable. Move as many as possible to Suggests and
    use conditionally.
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.4
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘patchwork’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0.4
Check: examples
Result: ERROR
    Running examples in ‘activAnalyzer-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: average_results
    > ### Title: Average results over valid days
    > ### Aliases: average_results
    >
    > ### ** Examples
    >
    > file <- system.file("extdata", "acc.agd", package = "activAnalyzer")
    > mydata <- prepare_dataset(data = file)
    > mydata_with_wear_marks <- mark_wear_time(
    + dataset = mydata,
    + TS = "TimeStamp",
    + to_epoch = 60,
    + cts = "vm",
    + frame = 90,
    + allowanceFrame = 2,
    + streamFrame = 30
    + )
    Warning: Expected 2 pieces. Missing pieces filled with `NA` in 5 rows [1081, 2521, 3961, 5401, 6841].
    frame is 90
    streamFrame is 30
    allowanceFrame is 2
    Error in as.POSIXlt.character(x, tz, ...) :
     character string is not in a standard unambiguous format
    Calls: mark_wear_time ... as.POSIXct.default -> as.POSIXct -> as.POSIXlt -> as.POSIXlt.character
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 1.0.4
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [39s/92s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinytest)
     shinytest requires PhantomJS to record and run tests.
     • To install it, run shinytest::installDependencies()
     • If it is installed, please check it is available on the PATH
     > library(activAnalyzer)
     >
     > test_check("activAnalyzer")
     You have computed BMR using the following inputs:
     age = 32
     weight = 67
     sex = male
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = female
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = undefined
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = undefined
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     This Font Awesome icon ('far fa-file-alt') does not exist:
     * if providing a custom `html_dependency` these `name` checks can
     be deactivated with `verify_fa = FALSE`
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-create_fig_res_by_day.R:6:3): Create a figure with metrics for each day ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_fig_res_by_day.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-create_flextable_summary.R:6:3): generate a flextable object ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_flextable_summary.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-mark_wear_time.R:4:3): Total wear time is correctly computed ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-mark_wear_time.R:4:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-plot_data.R:3:3): a plot with data marked for non wear time is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─prepare_dataset(data = file) %>% mark_wear_time() %>% ... at test-plot_data.R:3:2
     2. ├─activAnalyzer::plot_data(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_wear_time(.)
     5. │ ├─... %>% ...
     6. │ └─PhysicalActivity::wearingMarking(...)
     7. │ └─PhysicalActivity::markingTime(...)
     8. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     9. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     10. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     11. │ ├─base::as.POSIXlt(x, tz, ...)
     12. │ └─base::as.POSIXlt.character(x, tz, ...)
     13. └─dplyr::mutate(...)
     ── Error (test-plot_data_with_intensity.R:3:3): a plot with data marked for intensity is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─... %>% plot_data_with_intensity() at test-plot_data_with_intensity.R:3:2
     2. ├─activAnalyzer::plot_data_with_intensity(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_intensity(.)
     5. │ └─base::as.factor(data$date)
     6. │ └─base::is.factor(x)
     7. ├─activAnalyzer::mark_wear_time(.)
     8. │ ├─... %>% ...
     9. │ └─PhysicalActivity::wearingMarking(...)
     10. │ └─PhysicalActivity::markingTime(...)
     11. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     12. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     13. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     14. │ ├─base::as.POSIXlt(x, tz, ...)
     15. │ └─base::as.POSIXlt.character(x, tz, ...)
     16. └─dplyr::mutate(...)
    
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.4
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘activAnalyzer.Rmd’ using rmarkdown
    Quitting from lines 53-67 (activAnalyzer.Rmd)
    Error: processing vignette 'activAnalyzer.Rmd' failed with diagnostics:
    character string is not in a standard unambiguous format
    --- failed re-building ‘activAnalyzer.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘activAnalyzer.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

Version: 1.0.4
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [37s/45s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(shinytest)
     shinytest requires PhantomJS to record and run tests.
     • To install it, run shinytest::installDependencies()
     • If it is installed, please check it is available on the PATH
     > library(activAnalyzer)
     >
     > test_check("activAnalyzer")
     You have computed BMR using the following inputs:
     age = 32
     weight = 67
     sex = male
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = female
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = undefined
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = undefined
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     This Font Awesome icon ('far fa-file-alt') does not exist:
     * if providing a custom `html_dependency` these `name` checks can
     be deactivated with `verify_fa = FALSE`
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-create_fig_res_by_day.R:6:3): Create a figure with metrics for each day ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_fig_res_by_day.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-create_flextable_summary.R:6:3): generate a flextable object ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_flextable_summary.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-mark_wear_time.R:4:3): Total wear time is correctly computed ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-mark_wear_time.R:4:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-plot_data.R:3:3): a plot with data marked for non wear time is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─prepare_dataset(data = file) %>% mark_wear_time() %>% ... at test-plot_data.R:3:2
     2. ├─activAnalyzer::plot_data(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_wear_time(.)
     5. │ ├─... %>% ...
     6. │ └─PhysicalActivity::wearingMarking(...)
     7. │ └─PhysicalActivity::markingTime(...)
     8. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     9. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     10. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     11. │ ├─base::as.POSIXlt(x, tz, ...)
     12. │ └─base::as.POSIXlt.character(x, tz, ...)
     13. └─dplyr::mutate(...)
     ── Error (test-plot_data_with_intensity.R:3:3): a plot with data marked for intensity is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─... %>% plot_data_with_intensity() at test-plot_data_with_intensity.R:3:2
     2. ├─activAnalyzer::plot_data_with_intensity(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_intensity(.)
     5. │ └─base::as.factor(data$date)
     6. │ └─base::is.factor(x)
     7. ├─activAnalyzer::mark_wear_time(.)
     8. │ ├─... %>% ...
     9. │ └─PhysicalActivity::wearingMarking(...)
     10. │ └─PhysicalActivity::markingTime(...)
     11. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     12. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     13. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     14. │ ├─base::as.POSIXlt(x, tz, ...)
     15. │ └─base::as.POSIXlt.character(x, tz, ...)
     16. └─dplyr::mutate(...)
    
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.4
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [28s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(shinytest)
     > library(activAnalyzer)
     >
     > test_check("activAnalyzer")
     You have computed BMR using the following inputs:
     age = 32
     weight = 67
     sex = male
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = female
     You have computed BMR using the following inputs:
     age = 65
     weight = 58
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Older adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = male
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = female
     You have computed METs using the following inputs:
     equation = Santos-Lozano et al. (2013) [Adults]
     weight = 67
     sex = undefined
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Sasaki et al. (2011) [Adults]
     weight = 70
     sex = undefined
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = male
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = female
     You have computed METs using the following inputs:
     equation = Freedson et al. (1998) [Adults]
     weight = 70
     sex = undefined
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     This Font Awesome icon ('far fa-file-alt') does not exist:
     * if providing a custom `html_dependency` these `name` checks can
     be deactivated with `verify_fa = FALSE`
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     frame is 90
     streamFrame is 30
     allowanceFrame is 2
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-create_fig_res_by_day.R:6:3): Create a figure with metrics for each day ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_fig_res_by_day.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-create_flextable_summary.R:6:3): generate a flextable object ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-create_flextable_summary.R:6:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-mark_wear_time.R:4:3): Total wear time is correctly computed ────
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─activAnalyzer::mark_wear_time(...) at test-mark_wear_time.R:4:2
     2. │ ├─... %>% ...
     3. │ └─PhysicalActivity::wearingMarking(...)
     4. │ └─PhysicalActivity::markingTime(...)
     5. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     6. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     7. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     8. │ ├─base::as.POSIXlt(x, tz, ...)
     9. │ └─base::as.POSIXlt.character(x, tz, ...)
     10. └─dplyr::mutate(...)
     ── Error (test-plot_data.R:3:3): a plot with data marked for non wear time is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─prepare_dataset(data = file) %>% mark_wear_time() %>% ... at test-plot_data.R:3:2
     2. ├─activAnalyzer::plot_data(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_wear_time(.)
     5. │ ├─... %>% ...
     6. │ └─PhysicalActivity::wearingMarking(...)
     7. │ └─PhysicalActivity::markingTime(...)
     8. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     9. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     10. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     11. │ ├─base::as.POSIXlt(x, tz, ...)
     12. │ └─base::as.POSIXlt.character(x, tz, ...)
     13. └─dplyr::mutate(...)
     ── Error (test-plot_data_with_intensity.R:3:3): a plot with data marked for intensity is obtained ──
     Error in `as.POSIXlt.character(x, tz, ...)`: character string is not in a standard unambiguous format
     Backtrace:
     ▆
     1. ├─... %>% plot_data_with_intensity() at test-plot_data_with_intensity.R:3:2
     2. ├─activAnalyzer::plot_data_with_intensity(.)
     3. │ └─base::format(data$date, "%d-%m-%y")
     4. ├─activAnalyzer::mark_intensity(.)
     5. │ └─base::as.factor(data$date)
     6. │ └─base::is.factor(x)
     7. ├─activAnalyzer::mark_wear_time(.)
     8. │ ├─... %>% ...
     9. │ └─PhysicalActivity::wearingMarking(...)
     10. │ └─PhysicalActivity::markingTime(...)
     11. │ ├─base::as.POSIXct(paste(day1, startTime), tz = tz)
     12. │ └─base::as.POSIXct.default(paste(day1, startTime), tz = tz)
     13. │ ├─base::as.POSIXct(as.POSIXlt(x, tz, ...), tz, ...)
     14. │ ├─base::as.POSIXlt(x, tz, ...)
     15. │ └─base::as.POSIXlt.character(x, tz, ...)
     16. └─dplyr::mutate(...)
    
     [ FAIL 5 | WARN 5 | SKIP 1 | PASS 131 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64