[R-pkg-devel] tools::checkReplaceFuns gives results I don't understand

2015-06-07 Thread Richard M. Heiberger
I think this is related to the difficulty I wrote about last week. This example is with last night's development build and uses only R-core provided code. I don't understand this Error message Error in get(f, envir = code_env) : object '[<-.ts' not found when I can display the object stats:::`[<

Re: [R-pkg-devel] Keeping secrets in R packages

2015-06-07 Thread Neal Fultz
Thanks everyone for the replies. Here's a brief overview of my current plan for what to do with the parts of the three way handshake : 1. Client id / secret can/should go in the package, unlike passwords 2. Authorization code is used immediately and discarded 3. Token is cached out to a dotfile,

Re: [R-pkg-devel] Keeping secrets in R packages

2015-06-07 Thread Greg Snow
If you just want to protect the secret from casual view (but don't need strong encryption), then you could just use a basic encryption/decryption algorithm, include the encrypted secret in the package and have the function decrypt it before sending. See the "petals" function in the TeachingDemos p