R Under development (unstable) (2023-11-12 r85514 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > install.packages("testthat", repos = "http://cran.us.r-project.org") Installing package into 'D:/temp/RtmpeISgny/RLIBS_13d1059e329e9' (as 'lib' is unspecified) trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.4/testthat_3.2.0.zip' Content type 'application/zip' length 2228443 bytes (2.1 MB) ================================================== downloaded 2.1 MB package 'testthat' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\RtmpqolcF9\downloaded_packages > install.packages("ggplot2", repos = "http://cran.us.r-project.org") Installing package into 'D:/temp/RtmpeISgny/RLIBS_13d1059e329e9' (as 'lib' is unspecified) trying URL 'http://cran.us.r-project.org/bin/windows/contrib/4.4/ggplot2_3.4.4.zip' Content type 'application/zip' length 4311725 bytes (4.1 MB) ================================================== downloaded 4.1 MB package 'ggplot2' successfully unpacked and MD5 sums checked The downloaded binary packages are in D:\temp\RtmpqolcF9\downloaded_packages > library(ggplot2) > library(testthat) > library(miLAG) Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Warning message: replacing previous import 'dplyr::matches' by 'testthat::matches' when loading 'miLAG' > > test_check("miLAG") [ FAIL 0 | WARN 0 | SKIP 0 | PASS 15 ] > > proc.time() user system elapsed 6.21 1.00 13.75