How to install different Swirl courses in R - r

I am able to successfully load the SwirlDev/swirl_courses. However, I cannot figure out how to load a course from a different repository.
The repository I am trying to use is:
https://github.com/DataScienceUWL/UW_Stat_Methods
I've cloned it into local desktop GitHub, and have tried both:
install_course(course_name = "UW_Stat_Methods") - error is no internet connection
install_from_swirl("UW_Stat_Methods") - error is course not found (which makes sense)
I've tried setting the work directly to the local GitHub repo, but makes no difference.
I've googled this for over an hour, but nothing seems to help.
Any tips?

The answer is
install_course_github('DataScienceUWL','UW_Stat_Methods')
Thanks for the assist!

Related

Get "Error: Access denied" when I click on commit on RStudio

I'm pretty new to using Github and Git in general. But this error is driving me crazy because I can't find anyone with a similar problem..
In short. Whenever I try to commit a saved file to a repository in Github I get the following error:
enter image description here
I tried reinstalling RStudio and changing the project to a different folder because I thought maybe there was an issue with writing rights, so I don't think that is the problem. I find it interesting that the message inside the Error warning is in Spanish. I remember that RStudio was initially like with Colombian formatting or something like that, that I had to change to install and use packages. But I don't really remember that well what that was. However, I don't think it has anything to do with this.
Thanks in advance for your help.

Cannot get onto sqlitestudio.pl to install sqlite studio, got error: err: database or disk is full

I am trying to install sqlite studio and from what I have researched I have seen that I need to go to sqlitestudio.pl. However, once I navigate to the website I get an error saying: err: database or disk is full
I have downloaded the sqlite3tools and have done nothing at all with them. I have tried searching up the error to see if anyone else had the same issue as me but I have not found anything like I am experiencing. Usually, others have gotten this error using the database but as I mentioned above I have only just downloaded the tools from the sqlite official website. Does anyone know what could be the issue at hand here and could help me? I do not necessarily need sqlite studio but the GUI will be very helpful. Thank you so much ahead of time.
EDIT : So I just decided to download another tool, DBeaver as it supports SQLite and other RDB's as well so it will suit my needs. Will not mark this as solved yet just in case someone does know why this is happening and could help someone else.
The hosting server was indeed full. It is resolved now. Regardless of that, you can always reach binaries to download at GitHub releases: https://github.com/pawelsalawa/sqlitestudio/releases

Anyone able to make numtel:pg package working with Meteor 1.8?

I've been using numtel:pg package for several projects in Meteor. Since Meteor version 1.8 the package isn't working correctly anymore. Anyone can point me to a solution?
The package seems to be abandoned, since there is no update in 4 years(!).
Trying to fix a package that is this outdated is usually not worth the effort. Your best options in this case are
find an alternative package for postgreSQL integration
find a fork of the package, that has fixed the compatibility issues
fork the package yourself and update the NPM versions or transform the package to run without hard wiring to a specific NPM version.
Resources to achieve that:
https://guide.meteor.com/writing-atmosphere-packages.html#peer-npm-dependencies
https://github.com/tmeasday/check-npm-versions
General Readings:
https://guide.meteor.com/atmosphere-vs-npm.html
https://guide.meteor.com/writing-atmosphere-packages.html
What to do if none of this applies to you, because
The alternatives require a lot of refactoring or even changes in the app architecture
There is no fork that keeps the package maintained
You are not skilled enough to fork and update the package yourself
First you should definitely open an issue on the repo and describe your problem as detailed as possible:
Meteor version, postgre version
Meteor version, postgre version where everything worked
What errors do you exactly get? Best is adding a stacktrace, if possible.
if the "error" is rather undesired behavior (not reacting, things disappear etc.) you need a very detailed description of what you did, what you expected, what (not) happened
Add screenshots if possible
Create a minimal repository that reproduces the error/issue and upload it to github; link it to your issue description
Note, that the points above also apply on Stackoverflow as criteria for a "good question". If the repo owner does not respond after a week you may trigger her attention by using #nameOfOwner in the comments.
More resources can be found here:
https://stackoverflow.com/help/how-to-ask
https://stackoverflow.com/help/mcve
By doing all these efforts you raise the chance of some community members to pick up your error (because there is less effort to reproduce when the error is documented well) and fix the issue or fork the repo.
Last but not least the golden way would be to deal with the issue, read about the package and how it works, check the code and try to fix it. Write some tests, document the fix and finally open a pull request in order to share the improvements with all the other package users.

Is there a quick way to debug an external meteor package?

You just installed a meteor package, and for some reason it isn't working. You suspect that it's the package itself that has a bug. You want to investigate that. How do you do that?
Optimally, you'd be able to run a command that forks the original package repository with the right version and replaces the original in your meteor application, ready for you to debug it and, once fixed, possibly generate a pull request.
I don't expect something like this to exist as a single command, but is there a workflow that you follow to do exactly that? Or do you approach the problem in a different way?
Do a git clone of the package into your local packages folder. Fix any bugs you need to. Commit them. And make a pull request. Once the pull request is accepted, you can remove the local package and use the regular package.
From when I've asked in the past, there isn't really an easier way to do this it seems. But to be honest, this approach isn't too much work.
Also, if you just want to debug, you can step through the package code while it's running without cloning the repo locally. (Assuming it's running in development mode and hasn't been minified by Meteor).

How to fork/mirror my openshift application source code to a github repo

i have created an open shift wordpress application some times back and i have really a pretty much amount of data in it. I just want to pull the whole source into my github so that i can work on few weird part. Is it possible now to download the source code? i googled and got no luck.
Check this info on the Openshift Forum - https://www.openshift.com/forums/openshift/how-to-keep-a-github-repository-and-an-openshift-repository-in-sync
Add your GitHub repo as another remote and push to there.

Resources