Error in derive_pubkey(key) : RAW() can only be applied to a 'raw', not a 'character'

Issue #14 new
Former user created an issue

Hello,

I'm trying to use the decoder package. It is working in a clean environment with only decoder library attached. However when used in a shinyapp, with openssl in the namespace, it gives an error, see below:

library(decoder) as.keyvalue(c("car" = 1, "bike" = 2, "bus" = 3)) key value 1 1 car 2 2 bike 3 3 bus library(openssl) Linking to: OpenSSL 1.1.1g 21 Apr 2020 Warning message: package ‘openssl’ was built under R version 4.0.3 as.keyvalue(c("car" = 1, "bike" = 2, "bus" = 3)) Error in derive_pubkey(key) : RAW() can only be applied to a 'raw', not a 'character'

It looks like similar to an issue found in stackoverflow for another library (qdpap), see: https://stackoverflow.com/questions/45197158/how-to-avoid-class-name-conflict-with-a-package-loaded-via-a-namespace-and-not

Is there any fix available? Thanks and regards

Comments (0)

  1. Log in to comment