Skip to content

peermodels

Client-Side R API Wrapper for Peer Models Network Model Repository

v0.10.3 · Feb 25, 2022 · GPL-3

Description

Enables direct cloud access to health care decision models hosted on the PRISM server of the Peer Models Network.

Downloads

287

Last 30 days

14430th

742

Last 90 days

2.8K

Last year

Trend: +23.2% (30d vs prior 30d)

CRAN Check Status

10 ERROR
4 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang ERROR
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc ERROR
r-devel-macos-arm64 ERROR
r-devel-windows-x86_64 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 ERROR
r-release-linux-x86_64 ERROR
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 ERROR
Check details (10 non-OK)
ERROR r-devel-linux-x86_64-debian-clang

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-macos-arm64

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-windows-x86_64

examples

Running examples in 'peermodels-Ex.R' failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'peermodels-Ex.R' failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-patched-linux-x86_64

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-release-linux-x86_64

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-release-windows-x86_64

examples

Running examples in 'peermodels-Ex.R' failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error in `resp_body_json()`:
! Unexpected content type "text/html".
• Expecting type "application/json" or suffix "json".
Backtrace:
    ▆
 1. ├─peermodels::handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted

Additional Issues

M1mac Details →

Check History

ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 27, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: han
...[truncated]...
handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

whether package can be installed

Installation failed.
See ‘/data/gannet/ripley/R/packages/tests-clang/peermodels.Rcheck/00install.out’ for details.
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘peermodels-Ex.R’ failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error
...[truncated]...
handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
ERROR r-devel-windows-x86_64

examples

Running examples in 'peermodels-Ex.R' failed
The error most likely occurred in:

> ### Name: handshake
> ### Title: checks to see if a model is available on the cloud server
> ### Aliases: handshake
> 
> ### ** Examples
> 
> handshake("accept")
Error
...[truncated]...
handshake("accept")
 2. │ └─res %>% resp_body_json()
 3. └─httr2::resp_body_json(.)
 4.   └─httr2::resp_check_content_type(...)
 5.     └─httr2:::check_content_type(...)
 6.       └─cli::cli_abort(...)
 7.         └─rlang::abort(...)
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies jsonlite httr curl httr2 stringr peermodels

Version History

new 0.10.3 Mar 10, 2026
updated 0.10.3 ← 0.10.2 diff Feb 24, 2022
new 0.10.2 Sep 5, 2021