R Under development (unstable) (2025-05-23 r88232 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(jpinfect) jpinfect package loaded successfully. Timezone set to Asia/Tokyo. Note: Data accuracy depends on the original source. Data sourced from the Japan Institute for Health Security (JIHS). Usage is subject to their open data policy (Government Standard Terms of Use v1.0). Details: https://id-info.jihs.go.jp/usage-contract.html This library is independently developed and is not affiliated with any government entity. > > test_check("jpinfect") All requested weeks have been processed successfully. trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2024/01/zensu01.csv' Content type 'text/csv' length 21828 bytes (21 KB) ================================================== downloaded 21 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/jpinfect_get_bullet_test/2024_01_zensu_en.csv All requested weeks have been processed. All requested weeks have been processed successfully. trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/01/zensu01.csv' Content type 'text/csv' length 21831 bytes (21 KB) ================================================== downloaded 21 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_get_bullet/2025_01_zensu_en.csv All requested weeks have been processed. All requested weeks have been processed successfully. trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/rapid/2025/1/2025-01-zensu.csv' Content type 'text/csv' length 19784 bytes (19 KB) ================================================== downloaded 19 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_get_bullet/2025_01_zensu_jp.csv All requested weeks have been processed. All requested weeks have been processed successfully. All requested weeks have been processed. All requested weeks have been processed successfully. trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/01/zensu01.csv' Content type 'text/csv' length 21831 bytes (21 KB) ================================================== downloaded 21 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_get_bullet/2025_01_zensu_en.csv All requested weeks have been processed. All requested weeks have been processed successfully. All requested weeks have been processed. Downloading: https://idsc.niid.go.jp/idwr/CDROM/Kako/H11/Syuukei/Syu_11.xls trying URL 'https://idsc.niid.go.jp/idwr/CDROM/Kako/H11/Syuukei/Syu_11.xls' Content type 'application/vnd.ms-excel' length 2050560 bytes (2.0 MB) ================================================== downloaded 2.0 MB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_data/1999_Syu_11.xls File already exists: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_data/1999_Syu_11.xls File already exists: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_data/1999_Syu_11.xls All requested weeks have been processed successfully. Downloading data for week 1 from URL: https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/01/zensu01.csv trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/01/zensu01.csv' Content type 'text/csv' length 21831 bytes (21 KB) ================================================== downloaded 21 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/jpinfect_read_bullet_test/2025_01_zensu_en.csv Downloading data for week 2 from URL: https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/02/zensu02.csv trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/en/rapid/2025/02/zensu02.csv' Content type 'text/csv' length 21892 bytes (21 KB) ================================================== downloaded 21 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/jpinfect_read_bullet_test/2025_02_zensu_en.csv All requested weeks have been processed. All requested weeks have been processed successfully. Downloading data for week 1 from URL: https://id-info.jihs.go.jp/surveillance/idwr/rapid/2025/1/2025-01-zensu.csv trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/rapid/2025/1/2025-01-zensu.csv' Content type 'text/csv' length 19784 bytes (19 KB) ================================================== downloaded 19 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/jpinfect_read_bullet_test/2025_01_zensu_jp.csv Downloading data for week 2 from URL: https://id-info.jihs.go.jp/surveillance/idwr/rapid/2025/2/2025-02-zensu.csv trying URL 'https://id-info.jihs.go.jp/surveillance/idwr/rapid/2025/2/2025-02-zensu.csv' Content type 'text/csv' length 19844 bytes (19 KB) ================================================== downloaded 19 KB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/jpinfect_read_bullet_test/2025_02_zensu_jp.csv All requested weeks have been processed. Files to process: [1] "D:\\temp\\2025_05_26_11_55_17_22180\\RtmpCwP7RM/jpinfect_read_bullet_test/2025_01_zensu_en.csv" [2] "D:\\temp\\2025_05_26_11_55_17_22180\\RtmpCwP7RM/jpinfect_read_bullet_test/2025_02_zensu_en.csv" Files to process: [1] "D:\\temp\\2025_05_26_11_55_17_22180\\RtmpCwP7RM/jpinfect_read_bullet_test/2025_01_zensu_jp.csv" [2] "D:\\temp\\2025_05_26_11_55_17_22180\\RtmpCwP7RM/jpinfect_read_bullet_test/2025_02_zensu_jp.csv" Downloading: https://id-info.jihs.go.jp/niid/images/idwr/ydata/2014/Syuukei/Syu_01_1.xlsx trying URL 'https://id-info.jihs.go.jp/niid/images/idwr/ydata/2014/Syuukei/Syu_01_1.xlsx' Content type 'application/vnd.openxmlformats' length 2385688 bytes (2.3 MB) ================================================== downloaded 2.3 MB Download completed: D:\temp\2025_05_26_11_55_17_22180\RtmpCwP7RM/test_jpinfect_data/2014_Syu_01_1.xlsx Processing...[ FAIL 0 | WARN 0 | SKIP 4 | PASS 79 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-jpinfect_get_confirmed.R:12:3', 'test-jpinfect_read_confirmed.R:57:3', 'test-jpinfect_read_confirmed.R:67:3', 'test-jpinfect_read_confirmed.R:87:3' [ FAIL 0 | WARN 0 | SKIP 4 | PASS 79 ] > > proc.time() user system elapsed 13.89 2.90 80.92