harrelfe / rscripts Goto Github PK
View Code? Open in Web Editor NEWMiscellaneous R functions, R report templates, and complete example R analysis scripts in Quarto and RMarkdown
Miscellaneous R functions, R report templates, and complete example R analysis scripts in Quarto and RMarkdown
Section 3 of the R Workflow document references the Reproducible Research page which provides a download of reportTemplate.qmd
which (I'm getting there) has
require(Hmisc); getRs('kable.r', put='source')
which returns a 404
getRs('kable.r', put='source') Error in file(filename, "r", encoding = encoding) : cannot open the connection to 'https://github.com/harrelfe/rscripts/raw/master/kable.r' In addition: Warning message: In file(filename, "r", encoding = encoding) : cannot open URL 'https://github.com/harrelfe/rscripts/raw/master/kable.r': HTTP status was '404 Not Found'
Totally fabulous trove. All praise.
Hi,
I think a change in how Github makes its URLs is causing getRs() to not work. I'm getting 404 errors for any script I try to download.
> getRs('reptools.R')
Error in file(filename, "r", encoding = encoding) :
cannot open the connection to 'https://github.com/harrelfe/rscripts/raw/master/reptools.R'
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open URL 'https://github.com/harrelfe/rscripts/raw/master/reptools.R': HTTP status was '404 Not Found'
I've never done a pull request on Github, but it looks like the 'gdir' argument from these lines 17-21 in getRs.Rd code in the HMisc repository may need to be changed somehow.
\usage{
getRs(file=NULL, guser='harrelfe', grepo='rscripts', gdir='raw/master',
dir=NULL, browse=c('local', 'browser'), cats=FALSE,
put=c('source', 'rstudio'))
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.