Last updated on 2022-05-24 01:50:01 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.0 | 6.30 | 78.30 | 84.60 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.0 | 4.17 | 58.05 | 62.22 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.0 | 98.24 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.0 | 95.96 | OK | |||
r-devel-windows-x86_64 | 1.0.0 | 148.00 | 174.00 | 322.00 | OK | |
r-patched-linux-x86_64 | 1.0.0 | 4.41 | 74.57 | 78.98 | OK | |
r-release-linux-x86_64 | 1.0.0 | OK | ||||
r-release-macos-arm64 | 1.0.0 | 73.00 | OK | |||
r-release-macos-x86_64 | 1.0.0 | 102.00 | OK | |||
r-release-windows-x86_64 | 1.0.0 | 161.00 | 338.00 | 499.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.0 | 78.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.0 | 93.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 1.0.0 | 16.00 | 138.00 | 154.00 | OK |
Version: 1.0.0
Check: tests
Result: ERROR
Running ‘test-all.R’ [7s/171s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
> # Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
> library(testthat)
> library(REDCapR)
>
> # source("R/helpers-testing.R")
> testthat::test_check("REDCapR")
The REDCapR read/export operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
The REDCapR read/export operation was not successful. The error message was:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
The REDCapR metadata export operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
5 records and 25 columns were read from REDCap in 0.4 seconds. The http status code was 200.
Starting to read 5 records at 2022-05-22 17:06:37.
Reading batch 1 of 1, with subjects 1 through 5 (ie, 5 unique subject records).
5 records and 25 columns were read from REDCap in 0.3 seconds. The http status code was 200.
-- Column specification --------------------------------------------------------
cols(
.default = col_double(),
name_first = col_character(),
name_last = col_character(),
address = col_character(),
telephone = col_character(),
email = col_character(),
dob = col_date(format = ""),
comments = col_character(),
mugshot = col_character()
)
i Use `spec()` for the full column specifications.
Starting to update 32 records to be written at 2022-05-22 17:07:04.
Writing batch 1 of 1, with indices 1 through 32.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Starting to update 32 records to be written at 2022-05-22 17:07:05.
Writing batch 1 of 4, with indices 1 through 10.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Writing batch 1 of 1, with indices 1 through 32.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Starting to update 32 records to be written at 2022-05-22 17:07:48.
Writing batch 1 of 4, with indices 1 through 10.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Writing batch 2 of 4, with indices 11 through 20.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Writing batch 3 of 4, with indices 21 through 30.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Writing batch 4 of 4, with indices 31 through 32.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
[ FAIL 8 | WARN 0 | SKIP 109 | PASS 164 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (109)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-read-errors.R:57:3): Batch: Bad Uri -Not HTTPS ────────────────
returned_object$status_code %in% c(411L, 501L) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure (test-read-errors.R:60:3): Batch: Bad Uri -Not HTTPS ────────────────
returned_object\$outcome_messages does not match "The initial call failed with the code: (411|501).".
Actual value: "The initial call failed with the code: 500\."
Backtrace:
▆
1. └─testthat::expect_match(returned_object$outcome_messages, expected_outcome_message) at test-read-errors.R:60:2
2. └─testthat:::expect_match_(...)
── Failure (test-write-error.R:23:3): One Shot: writing with read-only privileges ──
result$status_code (`actual`) not equal to 403L (`expected`).
`actual`: 500
`expected`: 403
── Failure (test-write-error.R:24:3): One Shot: writing with read-only privileges ──
result$outcome_message (`actual`) not equal to `expected_message` (`expected`).
lines(actual) vs lines(expected)
"The REDCapR write/import operation was not successful. The error message was:"
- " <div style=\"font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;\">"
- " <div style=\"font-weight:bold;font-size:15px;padding-bottom:5px;\">"
- " CRITICAL ERROR: REDCap server is offline!"
- " </div>"
- " <div>"
- " For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your"
- " local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this"
- " <a href=\"javascript:;\" style=\"color:#000066;\" onclick=\"document.getElementById('db_error_msg').style.display='block';\">additional information</a>."
- " We are sorry for any inconvenience."
+ "ERROR: You do not have API Import/Update privileges"
and 7 more ...
── Failure (test-write-error.R:27:3): One Shot: writing with read-only privileges ──
result$raw_text (`actual`) not equal to `expected_text` (`expected`).
lines(actual) vs lines(expected)
- " <div style=\"font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;\">"
- " <div style=\"font-weight:bold;font-size:15px;padding-bottom:5px;\">"
- " CRITICAL ERROR: REDCap server is offline!"
- " </div>"
- " <div>"
- " For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your"
- " local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this"
- " <a href=\"javascript:;\" style=\"color:#000066;\" onclick=\"document.getElementById('db_error_msg').style.display='block';\">additional information</a>."
- " We are sorry for any inconvenience."
- " </div>"
+ "ERROR: You do not have API Import/Update privileges"
and 6 more ...
── Failure (test-write-error.R:80:3): Single Batch: writing with read-only privileges --contiue on error ──
result$status_code (`actual`) not equal to "403" (`expected`).
`actual`: "500"
`expected`: "403"
── Failure (test-write-error.R:81:3): Single Batch: writing with read-only privileges --contiue on error ──
result$outcome_message (`actual`) not equal to `expected_message` (`expected`).
lines(actual) vs lines(expected)
"The REDCapR write/import operation was not successful. The error message was:"
- " <div style=\"font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;\">"
- " <div style=\"font-weight:bold;font-size:15px;padding-bottom:5px;\">"
- " CRITICAL ERROR: REDCap server is offline!"
- " </div>"
- " <div>"
- " For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your"
- " local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this"
- " <a href=\"javascript:;\" style=\"color:#000066;\" onclick=\"document.getElementById('db_error_msg').style.display='block';\">additional information</a>."
- " We are sorry for any inconvenience."
+ "ERROR: You do not have API Import/Update privileges"
and 7 more ...
── Failure (test-write-error.R:101:3): Many Batches: writing with read-only privileges --contiue on error ──
result$status_code (`actual`) not equal to "403; 403; 403; 403" (`expected`).
`actual`: "500; 500; 403; 403"
`expected`: "403; 403; 403; 403"
[ FAIL 8 | WARN 0 | SKIP 109 | PASS 164 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘BasicREDCapROperations.Rmd’ using rmarkdown
Quitting from lines 86-103 (BasicREDCapROperations.Rmd)
Error: processing vignette ‘BasicREDCapROperations.Rmd’ failed with diagnostics:
The `redcap_read()` call failed on iteration 1.
--- failed re-building ‘BasicREDCapROperations.Rmd’
--- re-building ‘SecurityDatabase.Rmd’ using rmarkdown
--- finished re-building ‘SecurityDatabase.Rmd’
--- re-building ‘TroubleshootingApiCalls.Rmd’ using rmarkdown
--- finished re-building ‘TroubleshootingApiCalls.Rmd’
--- re-building ‘advanced-redcapr-operations.Rmd’ using rmarkdown
--- finished re-building ‘advanced-redcapr-operations.Rmd’
--- re-building ‘workflow-read.Rmd’ using rmarkdown
--- finished re-building ‘workflow-read.Rmd’
SUMMARY: processing the following file failed:
‘BasicREDCapROperations.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: tests
Result: ERROR
Running 'test-all.R' [103s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
> # Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
> library(testthat)
> library(REDCapR)
>
> # source("R/helpers-testing.R")
> testthat::test_check("REDCapR")
The REDCapR read/export operation was not successful. The error message was:
<?xml version="1.0" encoding="UTF-8" ?><hash><error>The requested method is not implemented.</error></hash>
The REDCapR read/export operation was not successful. The error message was:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>404 - File or directory not found.</title>
<style type="text/css">
<!--
body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
fieldset{padding:0 15px 10px 15px;}
h1{font-size:2.4em;margin:0;color:#FFF;}
h2{font-size:1.7em;margin:0;color:#CC0000;}
h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
background-color:#555555;}
#content{margin:0 0 0 2%;position:relative;}
.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}
-->
</style>
</head>
<body>
<div id="header"><h1>Server Error</h1></div>
<div id="content">
<div class="content-container"><fieldset>
<h2>404 - File or directory not found.</h2>
<h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
</fieldset></div>
</div>
</body>
</html>
The REDCapR metadata export operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
5 records and 25 columns were read from REDCap in 0.3 seconds. The http status code was 200.
Starting to read 5 records at 2022-05-19 10:54:28.
Reading batch 1 of 1, with subjects 1 through 5 (ie, 5 unique subject records).
The REDCapR read/export operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Starting to update 32 records to be written at 2022-05-19 10:54:53.
Writing batch 1 of 1, with indices 1 through 32.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Starting to update 32 records to be written at 2022-05-19 10:55:15.
Writing batch 1 of 4, with indices 1 through 10.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Writing batch 1 of 1, with indices 1 through 32.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Starting to update 32 records to be written at 2022-05-19 10:55:17.
Writing batch 1 of 4, with indices 1 through 10.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Writing batch 2 of 4, with indices 11 through 20.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
Writing batch 3 of 4, with indices 21 through 30.
The REDCapR write/import operation was not successful. The error message was:
<div style="font: normal 12px Verdana, Arial;padding:20px;border: 1px solid red;color: #800000;max-width: 600px;background: #FFE1E1;">
<div style="font-weight:bold;font-size:15px;padding-bottom:5px;">
CRITICAL ERROR: REDCap server is offline!
</div>
<div>
For unknown reasons, REDCap cannot communicate with its database server, which may be offline. Please contact your
local REDCap administrator to inform them of this issue immediately. If you are a REDCap administrator, then please see this
<a href="javascript:;" style="color:#000066;" onclick="document.getElementById('db_error_msg').style.display='block';">additional information</a>.
We are sorry for any inconvenience.
</div>
<div id="db_error_msg" style="display:none;color:#333;background:#fff;padding:5px 10px 10px;margin:20px 0;border:1px solid #bbb;">
<b>Message for REDCap administrators:</b><br/>Your REDCap database connection file [C:\inetpub\wwwroot\redcap/database.php] could not connect to the database server.
Please check the connection values in that file ($hostname, $db, $username, $password)
because they may be incorrect. </div>
</div>
Writing batch 4 of 4, with indices 31 through 32.
The REDCapR write/import operation was not successful. The error message was:
ERROR: You do not have API Import/Update privileges
[ FAIL 2 | WARN 0 | SKIP 109 | PASS 170 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (109)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-read-errors.R:96:3): guess_max deprecated -warn ─────────────────
Error in `redcap_read(redcap_uri = credential$redcap_uri, token = credential$token,
guess_max = 100)`: The `redcap_read()` call failed on iteration 1.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-read-errors.R:96:2
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─REDCapR::redcap_read(...)
── Failure (test-write-error.R:101:3): Many Batches: writing with read-only privileges --contiue on error ──
result$status_code (`actual`) not equal to "403; 403; 403; 403" (`expected`).
`actual`: "403; 403; 500; 403"
`expected`: "403; 403; 403; 403"
[ FAIL 2 | WARN 0 | SKIP 109 | PASS 170 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'BasicREDCapROperations.Rmd' using rmarkdown
Quitting from lines 73-76 (BasicREDCapROperations.Rmd)
Error: processing vignette 'BasicREDCapROperations.Rmd' failed with diagnostics:
The `redcap_read()` call failed on iteration 1.
--- failed re-building 'BasicREDCapROperations.Rmd'
--- re-building 'SecurityDatabase.Rmd' using rmarkdown
--- finished re-building 'SecurityDatabase.Rmd'
--- re-building 'TroubleshootingApiCalls.Rmd' using rmarkdown
--- finished re-building 'TroubleshootingApiCalls.Rmd'
--- re-building 'advanced-redcapr-operations.Rmd' using rmarkdown
--- finished re-building 'advanced-redcapr-operations.Rmd'
--- re-building 'workflow-read.Rmd' using rmarkdown
--- finished re-building 'workflow-read.Rmd'
SUMMARY: processing the following file failed:
'BasicREDCapROperations.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-x86_64