Skip to content
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

add base64.R #324

Merged
merged 3 commits into from
Jul 9, 2012
Merged

add base64.R #324

merged 3 commits into from
Jul 9, 2012

Conversation

wush978
Copy link
Contributor

@wush978 wush978 commented Jul 9, 2012

I rename the function names to let the naming style consist your naming style.

Therefore, the usage becomes

opts_knit$set(upload.fun = knitr:::base64_encode )
knit("test.Rmd","test.md")

wush978 added 3 commits July 9, 2012 20:14
… select them as base64 encoder in C.

2. If none of them are installed, use R to do the base64 encoding
3. Add or remove candidate of base64 encoder such as markdown and RCurl via base64_encoder.candidate
@yihui
Copy link
Owner

yihui commented Jul 9, 2012

This looks good. I may tweak your code later, though. Thanks a lot!

yihui added a commit that referenced this pull request Jul 9, 2012
@yihui yihui merged commit 2e01335 into yihui:master Jul 9, 2012
yihui added a commit that referenced this pull request Jul 9, 2012
yihui added a commit to yihui/xfun that referenced this pull request Jun 20, 2020
clrpackages pushed a commit to clearlinux-pkgs/R-xfun that referenced this pull request Jun 25, 2020
Wush Wu (1):
      add a new function base64_encode() implemented in C (#27)

Yihui Xie (11):
      start the next version
      another (internal) function to return the release dates of packages
      add a tree() function to change the output of str() into a tree diagram
      make sure a CRAN repo is set up for install.packages(), to avoid the error:
      add a timeout argument to rev_check() to terminate a `R CMD check` process if it takes too long (by default, 15 minutes)
      ignore .o and .so files
      fix #25: do not recognize ```--> as the code block fence
      no longer need the base64enc package after #27 has been merged
      add a new function base64_uri() to generate the data URI for a file (https://en.wikipedia.org/wiki/Data_URI_scheme)
      move the R implementation of base64 encoding from knitr (yihui/knitr#324) to xfun
      CRAN release v0.15
wush978 pushed a commit to wush978/xfun that referenced this pull request Jul 22, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants