CRAN Package Check Results for Package tidyprompt

Last updated on 2025-12-06 00:49:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 106.95 82.78 189.73 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 18.23 37.80 56.03 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 496.00 -147.25 348.75 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 480.00 -138.88 341.12 OK
r-devel-windows-x86_64 0.3.0 16.00 134.00 150.00 OK
r-patched-linux-x86_64 0.3.0 109.90 70.58 180.48 OK
r-release-linux-x86_64 0.2.0 105.95 64.95 170.90 OK
r-release-macos-arm64 0.3.0 2.00 26.00 28.00 OK
r-release-macos-x86_64 0.3.0 16.00 139.00 155.00 OK
r-release-windows-x86_64 0.3.0 15.00 133.00 148.00 OK
r-oldrel-macos-arm64 0.3.0 2.00 30.00 32.00 OK
r-oldrel-macos-x86_64 0.3.0 17.00 114.00 131.00 OK
r-oldrel-windows-x86_64 0.3.0 26.00 146.00 172.00 ERROR

Check Details

Version: 0.3.0
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'skimr', 'jsonvalidate', 'ellmer', 'mcptools' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘tidyprompt-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: answer_as_json > ### Title: Make LLM answer as JSON (with optional schema; structured > ### output) > ### Aliases: answer_as_json > > ### ** Examples > > base_prompt <- "How can I solve 8x + 7 = -23?" > > # This example will show how to enforce JSON format in the response, > # with and without a schema, using the `answer_as_json()` prompt wrap. > > # If you use type = 'auto', the function will automatically detect the > # best way to enforce JSON based on the LLM provider you are using. > > # `answer_as_json()` supports two ways of supplying a schema for structured output: > # - 1) an 'ellmer' definition (e.g., `ellmer::type_object()`; > # see https://ellmer.tidyverse.org/articles/structured-data.html) > # - 2) a R list object representing a JSON schema > # `answer_as_json()` will convert the schema type which you supply to any > # LLM provider; so, whether you use an ellmer LLM provider or another type, > # you can supply either a R list object or an ellmer definition, and don't > # have to worry about compatibility > # Supplying a schema as an ellmer definition is likely the easiest > > # Below, we will show: > # - 1) enforcing JSON with a schema; 'ellmer' definition > # - 2) enforcing JSON with a schema; R list object > # - 3) enforcing JSON without a schema > > #### Enforcing JSON with a schema (ellmer definition): #### > > # Make an ellmer definition of structured output > # For instance, a persona: > ellmer_schema <- ellmer::type_object( + name = ellmer::type_string(), + age = ellmer::type_integer(), + hobbies = ellmer::type_array(ellmer::type_string()) + ) Error in loadNamespace(x) : there is no package called ‘ellmer’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'creating_prompt_wraps.Rmd' using rmarkdown --- finished re-building 'creating_prompt_wraps.Rmd' --- re-building 'getting_started.Rmd' using rmarkdown File ../man/figures/answer_using_r1-1.png not found in resource path Error: processing vignette 'getting_started.Rmd' failed with diagnostics: pandoc document conversion failed with error 99 --- failed re-building 'getting_started.Rmd' --- re-building 'sentiment_analysis.Rmd' using rmarkdown File ../man/figures/plot_sentiment_analysis-1.png not found in resource path Error: processing vignette 'sentiment_analysis.Rmd' failed with diagnostics: pandoc document conversion failed with error 99 --- failed re-building 'sentiment_analysis.Rmd' --- re-building 'streaming_shiny_ipc.Rmd' using rmarkdown --- finished re-building 'streaming_shiny_ipc.Rmd' SUMMARY: processing the following files failed: 'getting_started.Rmd' 'sentiment_analysis.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-oldrel-windows-x86_64