Last updated on 2024-11-14 06:50:08 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.1 | 11.02 | 148.87 | 159.89 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.2 | 7.96 | 101.75 | 109.71 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.2 | 267.93 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.2 | 279.99 | OK | |||
r-devel-windows-x86_64 | 0.1.2 | 13.00 | 163.00 | 176.00 | OK | |
r-patched-linux-x86_64 | 0.1.2 | 12.02 | 139.26 | 151.28 | ERROR | |
r-release-linux-x86_64 | 0.1.2 | 10.65 | 140.84 | 151.49 | ERROR | |
r-release-macos-arm64 | 0.1.2 | 82.00 | OK | |||
r-release-macos-x86_64 | 0.1.2 | 135.00 | OK | |||
r-release-windows-x86_64 | 0.1.2 | 17.00 | 181.00 | 198.00 | OK | |
r-oldrel-macos-arm64 | 0.1.2 | 90.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.2 | 149.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.2 | 16.00 | 201.00 | 217.00 | OK |
Version: 0.1.1
Check: examples
Result: ERROR
Running examples in ‘PvSTATEM-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generate_plate_report
> ### Title: Generate a report for a plate.
> ### Aliases: generate_plate_report
>
> ### ** Examples
>
>
> plate_file <- system.file("extdata", "CovidOISExPONTENT_CO_reduced.csv", package = "PvSTATEM")
> # a plate file with reduced number of analytes to speed up the computation
> layout_file <- system.file("extdata", "CovidOISExPONTENT_CO_layout.xlsx", package = "PvSTATEM")
> note <- "This is a test report.\n**Author**: Jane Doe \n**Tester**: John Doe"
>
> plate <- read_luminex_data(plate_file, layout_file, verbose = FALSE)
> example_dir <- tempdir(check = TRUE) # a temporary directory
> generate_plate_report(plate,
+ output_dir = example_dir,
+ counts_lower_threshold = 40,
+ counts_higher_threshold = 50,
+ additional_notes = note
+ )
Generating report...This will take approximately 30 seconds.
Error in file(con, "w") : cannot open the connection
Calls: generate_plate_report ... <Anonymous> -> <Anonymous> -> write_utf8 -> writeLines -> file
In addition: Warning message:
In file(con, "w") :
cannot open file 'plate_report_template.knit.md': Read-only file system
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [49s/64s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # 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
>
> require(testthat)
Loading required package: testthat
> require(PvSTATEM)
Loading required package: PvSTATEM
>
> test_check("PvSTATEM")
Creating the output directory: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output'
(<1b>[31mWARNING<1b>[39m)
Using less than five samples to fit the logistic model. For now, using the basic nplr method to fit the logistic model - should be modified in the futureInstance of the Model class fitted for analyte ' Spike_6P_IPP ':
- fitted with 2 parameters
- using 2 samples
- using log residuals (mfi): TRUE
- using log dilution: TRUE
- top asymptote: 100
- bottom asymptote: 50
- goodness of fit: 1
- weighted goodness of fit: 1
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/external/Chul_IgG3_1.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/external/Chul_TotalIgG_2.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_14_20140513_082522.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_6_20160309_174224.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/external/pone.0187901.s001.csv"
[1] "Parsing successful"
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
Fitting the models and predicting RAU for each analyte
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/RtmpFw3Jqc/output.csv'
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 215 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-generate_report.R:33:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:34:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir, filename = "test_report.html")` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:36:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:38:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:43:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:53:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(list(plate), output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:54:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 215 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘PvSTATEM-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generate_plate_report
> ### Title: Generate a report for a plate.
> ### Aliases: generate_plate_report
>
> ### ** Examples
>
>
> plate_file <- system.file("extdata", "CovidOISExPONTENT_CO_reduced.csv", package = "PvSTATEM")
> # a plate file with reduced number of analytes to speed up the computation
> layout_file <- system.file("extdata", "CovidOISExPONTENT_CO_layout.xlsx", package = "PvSTATEM")
> note <- "This is a test report.\n**Author**: Jane Doe \n**Tester**: John Doe"
>
> plate <- read_luminex_data(plate_file, layout_file, verbose = FALSE)
> example_dir <- tempdir(check = TRUE) # a temporary directory
> generate_plate_report(plate,
+ output_dir = example_dir,
+ counts_lower_threshold = 40,
+ counts_higher_threshold = 50,
+ additional_notes = note
+ )
Generating report...This will take approximately 30 seconds.
Error in file(con, "w") : cannot open the connection
Calls: generate_plate_report ... <Anonymous> -> <Anonymous> -> write_utf8 -> writeLines -> file
In addition: Warning message:
In file(con, "w") :
cannot open file 'plate_report_template.knit.md': Read-only file system
Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [31s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # 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
>
> require(testthat)
Loading required package: testthat
> require(PvSTATEM)
Loading required package: PvSTATEM
>
> test_check("PvSTATEM")
Creating the output directory: '/tmp/RtmpKUx44E/output'
(<1b>[31mWARNING<1b>[39m)
Using less than five samples to fit the logistic model. For now, using the basic nplr method to fit the logistic model - should be modified in the futureInstance of the Model class fitted for analyte ' Spike_6P_IPP ':
- fitted with 2 parameters
- using 2 samples
- using log residuals (mfi): TRUE
- using log dilution: TRUE
- top asymptote: 100
- bottom asymptote: 50
- goodness of fit: 1
- weighted goodness of fit: 1
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_IgG3_1.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_TotalIgG_2.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_14_20140513_082522.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_6_20160309_174224.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/external/pone.0187901.s001.csv"
[1] "Parsing successful"
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
Fitting the models and predicting RAU for each analyte
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Saving the computed nMFI values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/tmp/RtmpKUx44E/output.csv'
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-generate_report.R:33:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:34:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir, filename = "test_report.html")` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:36:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:38:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:43:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:53:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(list(plate), output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:54:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [46s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # 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
>
> require(testthat)
Loading required package: testthat
> require(PvSTATEM)
Loading required package: PvSTATEM
>
> test_check("PvSTATEM")
Creating the output directory: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output'
(<1b>[31mWARNING<1b>[39m)
Using less than five samples to fit the logistic model. For now, using the basic nplr method to fit the logistic model - should be modified in the futureInstance of the Model class fitted for analyte ' Spike_6P_IPP ':
- fitted with 2 parameters
- using 2 samples
- using log residuals (mfi): TRUE
- using log dilution: TRUE
- top asymptote: 100
- bottom asymptote: 50
- goodness of fit: 1
- weighted goodness of fit: 1
[1] "Parsing file/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_IgG3_1.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_TotalIgG_2.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_14_20140513_082522.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_6_20160309_174224.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/external/pone.0187901.s001.csv"
[1] "Parsing successful"
Reading Luminex data from: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
Fitting the models and predicting RAU for each analyte
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmp8IWpjU/output.csv'
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-generate_report.R:33:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:34:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir, filename = "test_report.html")` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:36:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:38:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:43:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:53:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(list(plate), output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:54:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [46s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # 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
>
> require(testthat)
Loading required package: testthat
> require(PvSTATEM)
Loading required package: PvSTATEM
>
> test_check("PvSTATEM")
Creating the output directory: '/home/hornik/tmp/scratch/Rtmpo5FauY/output'
(<1b>[31mWARNING<1b>[39m)
Using less than five samples to fit the logistic model. For now, using the basic nplr method to fit the logistic model - should be modified in the futureInstance of the Model class fitted for analyte ' Spike_6P_IPP ':
- fitted with 2 parameters
- using 2 samples
- using log residuals (mfi): TRUE
- using log dilution: TRUE
- top asymptote: 100
- bottom asymptote: 50
- goodness of fit: 1
- weighted goodness of fit: 1
[1] "Parsing file/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_IgG3_1.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/external/Chul_TotalIgG_2.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_14_20140513_082522.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/external/New_Batch_6_20160309_174224.csv"
[1] "Parsing successful"
[1] "Parsing file/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/external/pone.0187901.s001.csv"
[1] "Parsing successful"
Reading Luminex data from: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Reading Luminex data from: /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/PvSTATEM/extdata/CovidOISExPONTENT_CO.csv
using format xPONENT
(<1b>[31mWARNING<1b>[39m)
Number of layout fields is higher than the number of samples. Please check the layout file. Using only first 49 dilutions from the layout file.
<1b>[32m
New plate object has been created with name: CovidOISExPONTENT_CO!
<1b>[39m
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
Fitting the models and predicting RAU for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed RAU values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
Fitting the models and predicting RAU for each analyte
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
Computing nMFI values for each analyte
Adding the raw MFI values to the output dataframe
Saving the computed nMFI values to a CSV file located in: '/home/hornik/tmp/scratch/Rtmpo5FauY/output.csv'
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-generate_report.R:33:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:34:3'): Test generate_plate_report function ──
Expected `generate_plate_report(plate, output_dir = tmp_dir, filename = "test_report.html")` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:36:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:38:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:43:3'): Test generate_plate_report function ──
Expected `generate_plate_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:53:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(list(plate), output_dir = tmp_dir)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
── Failure ('test-generate_report.R:54:3'): Test generate_levey_jennings_report function ──
Expected `generate_levey_jennings_report(...)` to run without any errors.
ℹ Actually got a <simpleError> with text:
cannot open the connection
[ FAIL 7 | WARN 12 | SKIP 0 | PASS 218 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64