-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up skeleton API package #1
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiny things, then let's get this merged
@@ -0,0 +1,14 @@ | |||
# Generated by porcelain: do not edit by hand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you set up .gitattributes
with
R/porcelain.R linguist-generated=true
then this will not render in the diff view by default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 792b3e7
R/util.R
Outdated
as.character(utils::packageVersion(name)) | ||
} | ||
|
||
uglify <- function(code) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This and prepare_code can be dropped I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in 9e12b17 - wasn't sure whether these would be needed later so kept them initially
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were for uglifying js code returned from odin, but we removed the implementation in the end as it was hard to get it working as expected so I think I left it in as an empty skeleton and then forgot about it...
Your queries:
this is now fixed 🎉
that's fine, roxygen is just a tool for us to generate the interface for now
this can be changed now, and you can also set up a jameel-institute one to pull daedalus itself in (now or later as you prefer)
I never block on notes, because of notes like the "more than 5mb of compiled C++" one that blocks just about everything using Rcpp/cpp11 |
Co-authored-by: Rich FitzJohn <rich.fitzjohn@gmail.com>
I guess this can be left for now as {daedalus} is pulled direct from GH anyway as the remote is listed. I think the more recent commits fix the other issues. |
this is fine until we hit rate limits, as we can't get the token safely into the builder. if/once we hit that the fix is easy and by then we'll probably have the universe set up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fabulous, thanks
I set it up yesterday/the day before - works alright. I can add the R-universe to the Dockerfile. |
This PR sets up {daedalus.api} with some skeleton API code taken from {odin.api}:
.lintr
file to conform to modern {lintr} and tweak exclusions for;Rprofile.site
to be use P3M.Some outstanding points/issues:
rocker/r-ver:4.4.1
as {R6} and {jsonlite} aren't installing which blocks {porcelain};mrc-ide/drat
as a repo, I can change this once we set up an R-universe;NOTE
s to pass - this because {daedalus} is imported but not used (this will likely change?)