CRAN Package Check Results for Maintainer ‘Gjalt-Jorn Peters <preregr at opens.science>’

Last updated on 2024-05-22 02:50:59 CEST.

Package ERROR NOTE OK
preregr 2 7 3

Package preregr

Current CRAN status: ERROR: 2, NOTE: 7, OK: 3

Version: 0.2.9
Check: Rd files
Result: NOTE checkRd: (-1) prereg_initialize.Rd:20: Lost braces; missing escapes or markup? 20 | the (pre)registration form specification (in {preregr} format), see the | ^ checkRd: (-1) prereg_initialize.Rd:23: Lost braces; missing escapes or markup? 23 | specification, or a loaded or imported {preregr} (pre)registration form. | ^ checkRd: (-1) prereg_initialize.Rd:26: Lost braces; missing escapes or markup? 26 | For an introduction to working with {preregr} (pre)registrations, | ^ checkRd: (-1) rmd_templates.Rd:75: Lost braces; missing escapes or markup? 75 | This function creates an R Markdown template from a {preregr} | ^ checkRd: (-1) rmd_templates.Rd:77: Lost braces; missing escapes or markup? 77 | Sheet holding the (pre)registration form specification (in {preregr} | ^ checkRd: (-1) rmd_templates.Rd:81: Lost braces; missing escapes or markup? 81 | specification, or a loaded or imported {preregr} (pre)registration form. | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-windows-x86_64

Version: 0.2.9
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/68s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > > testthat::test_check("preregr"); Loading required package: preregr Attaching package: 'preregr' The following object is masked from 'package:base': source The value you passed as `x` (https://docs.google.com/spreadsheets/d/1l3N0bWnKlRvXuHO-JFg3XHdWzgJWLNli90bnUUa5op4) matched the regular expression for extracting a Google Sheet identifier (^https://docs\.google\.com/spreadsheets/d/([a-zA-Z0-9_-]*)(/.*)?$), so proceeding to extract that. You set `exportGoogleSheet=TRUE`, so I will export the spreadsheet as an xlsx file which I will store as a temporary file and then import. trying URL 'https://docs.google.com/spreadsheets/d/1l3N0bWnKlRvXuHO-JFg3XHdWzgJWLNli90bnUUa5op4/export?format=xlsx' downloaded 207 KB Succesfully downloaded the file. The extension of the file is `xlsx`, and you specified {readxl and writexl} as the package to use to read Excel files, so starting to read the data with those parameters. Succesfully imported spreadsheet. Returning result. The value you passed as `x` (https://docs.google.com/spreadsheets/d/1bHDzpCu4CwEa5_3_q_9vH2691XPhCS3e4Aj_HLhw_U8) matched the regular expression for extracting a Google Sheet identifier (^https://docs\.google\.com/spreadsheets/d/([a-zA-Z0-9_-]*)(/.*)?$), so proceeding to extract that. You set `exportGoogleSheet=TRUE`, so I will export the spreadsheet as an xlsx file which I will store as a temporary file and then import. trying URL 'https://docs.google.com/spreadsheets/d/1bHDzpCu4CwEa5_3_q_9vH2691XPhCS3e4Aj_HLhw_U8/export?format=xlsx' The value you passed as `x` (/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/preregr/extdata/preregr-form_inclSysRev_v0_92.xlsx) refers to a file that exists on your hard drive. Proceeding to import the data from that file. The extension of the file is `xlsx`, and you specified {readxl and writexl} as the package to use to read Excel files, so starting to read the data with those parameters. Succesfully imported spreadsheet. Returning result. The value you passed as `x` (/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/preregr/extdata/preregr-form_inclSysRev_v0_92.xlsx) refers to a file that exists on your hard drive. Proceeding to import the data from that file. The extension of the file is `xlsx`, and you specified {readxl and writexl} as the package to use to read Excel files, so starting to read the data with those parameters. Succesfully imported spreadsheet. Returning result. -- Specifying content for (pre)registration items ------------------------------ ! You specified content for item 'nonExistent_item', but this item does not exist in the prereg form specification that you initialized (Inclusive Systematic Review Registration Form). Ignoring these items. v Content specified for item Title passed validation! v Specified content for Title [title] v Content specified for item Author(s) / contributor(s) passed validation! v Specified content for Author(s) / contributor(s) [authors] -- Specifying content for (pre)registration items ------------------------------ ! You specified content for item 'nonExistent_item', but this item does not exist in the prereg form specification that you initialized (Inclusive Systematic Review Registration Form). Ignoring these items. v Content specified for item Title passed validation! v Specified content for Title [title] v Content specified for item Author(s) / contributor(s) passed validation! v Specified content for Author(s) / contributor(s) [authors] -- Specifying content for (pre)registration items ------------------------------ ! You specified content for item 'nonExistent_item', but this item does not exist in the prereg form specification that you initialized (Inclusive Systematic Review Registration Form). Ignoring these items. v Content specified for item Title passed validation! v Specified content for Title [title] v Content specified for item Author(s) / contributor(s) passed validation! v Specified content for Author(s) / contributor(s) [authors] -- Specifying content for (pre)registration items ------------------------------ ! You specified content for item 'nonExistent_item', but this item does not exist in the prereg form specification that you initialized (Inclusive Systematic Review Registration Form). Ignoring these items. v Content specified for item Title passed validation! v Specified content for Title [title] v Content specified for item Author(s) / contributor(s) passed validation! v Specified content for Author(s) / contributor(s) [authors] -- (Pre)registration form ------------------------------------------------------ i Title: Minimal form with only a few fields i Author: Stibbons, P. i Date: 2024-05-21 -- Instructions ---------------------------------------------------------------- -- Instructions -- This form is simple, so it doesn't require much instruction. Still, it's advisable to always RTFM, and in the case of (pre)registration forms, the instructions are the manual. So better read closely! -- Sections and items ---------------------------------------------------------- -- Section: Only Section -- i Study Title [study_title]: Think of a catchy title, preferably with a colon in the middle. Bonus points for pop culture references. i Registration type [registration_type]: Describe briefly why you are (pre)registering this study. For example, this might be a preregistration to allow others to know you're doing this study; or to make it clear you value transparency in science; or to remember your original plans later on. Or this might be a registration to update your plans after the data came in; or to document pragmatic changes in plans. Stored the (pre)registration form template in '/tmp/Rtmp41PILp/file112dad48e8abe4.Rmd'. Stored the (pre)registration form template in '/tmp/Rtmp41PILp/file112dad3485c8e6.Rmd'. [ FAIL 1 | WARN 1 | SKIP 0 | PASS 11 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-preregr.R:51:5'): writing a local backup for an exported google sheet works ── Error in `utils::download.file(url = gSheet_exportLink, destfile = fileToRead, quiet = silent, mode = "wb")`: cannot open URL 'https://docs.google.com/spreadsheets/d/1bHDzpCu4CwEa5_3_q_9vH2691XPhCS3e4Aj_HLhw_U8/export?format=xlsx' Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-preregr.R:31:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─preregr::read_spreadsheet(...) at test-preregr.R:51:5 5. └─utils::download.file(...) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 11 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.9
Check: data for non-ASCII characters
Result: NOTE Note: found 96 marked UTF-8 strings Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.9
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘creating_form_from_spreadsheet.Rmd’ using rmarkdown --- finished re-building ‘creating_form_from_spreadsheet.Rmd’ --- re-building ‘creating_prereg_form.Rmd’ using rmarkdown --- finished re-building ‘creating_prereg_form.Rmd’ --- re-building ‘form_OSFprereg_v1.Rmd’ using rmarkdown --- finished re-building ‘form_OSFprereg_v1.Rmd’ --- re-building ‘form_OSFqual1_v1.Rmd’ using rmarkdown --- finished re-building ‘form_OSFqual1_v1.Rmd’ --- re-building ‘form_genSysRev_v1.Rmd’ using rmarkdown --- finished re-building ‘form_genSysRev_v1.Rmd’ --- re-building ‘form_generalPurpose_v1.Rmd’ using rmarkdown --- finished re-building ‘form_generalPurpose_v1.Rmd’ --- re-building ‘form_generalPurpose_v1_1.Rmd’ using rmarkdown --- finished re-building ‘form_generalPurpose_v1_1.Rmd’ --- re-building ‘form_inclDivAddon_v0_1.Rmd’ using rmarkdown --- finished re-building ‘form_inclDivAddon_v0_1.Rmd’ --- re-building ‘form_inclSysRev_v0_92.Rmd’ using rmarkdown --- finished re-building ‘form_inclSysRev_v0_92.Rmd’ --- re-building ‘form_prereg2D_v1.Rmd’ using rmarkdown --- finished re-building ‘form_prereg2D_v1.Rmd’ --- re-building ‘form_preregQE_v0_93.Rmd’ using rmarkdown --- finished re-building ‘form_preregQE_v0_93.Rmd’ --- re-building ‘form_preregQE_v0_94.Rmd’ using rmarkdown --- finished re-building ‘form_preregQE_v0_94.Rmd’ --- re-building ‘form_preregQE_v0_95.Rmd’ using rmarkdown --- finished re-building ‘form_preregQE_v0_95.Rmd’ --- re-building ‘form_prpQuant_v1.Rmd’ using rmarkdown --- finished re-building ‘form_prpQuant_v1.Rmd’ --- re-building ‘importing_form_from_url.Rmd’ using rmarkdown Quitting from lines 20-24 [unnamed-chunk-2] (importing_form_from_url.Rmd) Error: processing vignette 'importing_form_from_url.Rmd' failed with diagnostics: Timeout was reached: [preregr.opens.science] Failed to connect to preregr.opens.science port 443 after 10009 ms: Timeout was reached --- failed re-building ‘importing_form_from_url.Rmd’ --- re-building ‘importing_pregistration_from_url.Rmd’ using rmarkdown --- finished re-building ‘importing_pregistration_from_url.Rmd’ --- re-building ‘preregr.Rmd’ using rmarkdown --- finished re-building ‘preregr.Rmd’ --- re-building ‘rmd_template_from_form.Rmd’ using rmarkdown --- finished re-building ‘rmd_template_from_form.Rmd’ --- re-building ‘specifying_prereg_content.Rmd’ using rmarkdown --- finished re-building ‘specifying_prereg_content.Rmd’ SUMMARY: processing the following file failed: ‘importing_form_from_url.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-macos-arm64