I am very new to R and Leaflet so this may be an easy fix. I am able to create fully functioning maps but people are requesting that they are also able to print the maps without having to use print screen. It appears that easyPrint would be the best solution but I am unable to get it loaded into Rstudio.
I have tried to load it in multiple ways and encounter different errors along the way
install.packages("easyPrint")
Warning in install.packages :
package ‘easyPrint’ is not available (for R version 3.5.2)
(For this I saved it in my documents like it appeared to want me to)
install("leaflet-easyPrint-gh-pages")
Error: Could not find package root.
install_git("https://github.com/rowanwins/leaflet-easyPrint")
install_git("https://github.com/rowanwins/leaflet-easyPrint")
Downloading git repo https://github.com/rowanwins/leaflet-easyPrint
Error: Does not appear to be an R package (no DESCRIPTION)
devtools::install_github("rowanwins/leaflet-easyPrint")
Error: HTTP error 404.
No commit found for the ref master
Rate limit remaining: 59/60
Rate limit reset at: 2019-04-04 19:57:05 UTC
Thanks for any help!
Looking at the package, there is indeed no "master" : branches are called "v2", "gh-pages", ...
You may thus try:
devtools::install_github("rowanwins/leaflet-easyPrint", ref="v2")
Related
I have two .mdb files with one being a copy of the other. When there are made changes to the original mdb i want to merge them into my copy, which itself may have changed meanwhile.
As I require to use access 2002 Version Theres a lack of helpful plugins but Id be fine with Just using SaveAsText and LoadFromText Methods.
The Problem is - when i change the file i generated with SaveAsText, the checksum at the top of the file does Not Match the Content anymore and Access throws an Error 3011 when I Try to do LoadFromText.
Does anyone know about a way to work around this issue?
I just installed Pharo5.0 and attempting to go through
"Pharo by Example".
When I get to the BouncingAtomsMorph I apply the "Gofer it"
fetch provided by MartinW at Error Unknown variable:BouncingAtomsMorph openInWorld please correct or cancel
This results in a MessageNotUnderstood: FileList class>>registerFileReader:
AnimatedImageMorph class initialize [:cl | cl registerFileReader: self ]
BlockClosure cull:
SystemDicdtionary(Dictionary) at:ifPresent:
AnimatedImageMorph class initialize
MCMethodDefinition postloadOver:
MCPackageLoader basicLoadDefinitions ....
This list can't be copied by swiping with a mouse, so please excuse typos. (Is there any way to get this list in text format?)
Is Pharo5.0 a stable release? I didn't notice any install problems.
My system is CentOS Linux release 7.2.1511
Pharo 5 is a stable release, but the MorphExamplesAndDemos package is no longer updated for the use in Pharo 5.
On the bright side, the error you report is not related to BouncingAtomsMorph but to another example in the package. If the debugger window appears, you can click on Abandon and still use the BouncingAtomMorph by doing:
BouncingAtomsMorph new openInWorld
Probably someone should fix the package, or we should stop mentioning it in Pharo documentation..
Hi I'm using a Confluence macro called 'PockketQuery'(PQ). I have connected to a server located at my client's base through PostgreSQL. I run PQ to fetch results from the db into my confluence page. However, it's fecthing an extra unwanted word "Hallo" along with every result. I m unable to figure out where this string maybe coming from and getting attached to my results like this. Please help me get rid of it.
For example I run a PQ on the db which is supposed to fetch me result "Jack London", so the result that I see is "hallo Jack London".
Note: I use VPN to connect to my client's server and Confluence.
Are you using the latest version from the Marketplace 1.14.6? This issue shouldn't exist in the latest version.
I got an upgrade to version 1.14.6 of Confluence's PocketQuery macro. The issue that I had is resolved, the unwanted string in the result is there no more. The bad part is they don't mention it anywhere on the macro's bug fixes. There are no release notes attached to this fix.Thank you Felix for your help.
I use EA API to get all latest changes form Version Control.
I loop on model packages that do not checked-out and get latest for each using checkedOutPackage.VersionControlGetLatest(false);
I get strange errors during runtime, such as:
10999
Can't find matching ID
11030
Can't find matching ID and so on...
Did someone encounter such error? What that means?
The error usually means that EA can't find an element matching to the given ID.
Operations that return this type of error are EA.Repository.getElementByID(), EA.Repository.getPackageByID() etc.
Often this is due to data integrity issues in the repository. Do a Project Integrity Check... (Ctrl-shift-F9), let EA fix the errors and try again.
If that doesn't help then you'll have to debug your code to figure out what exactly is happening.
Is there a REST API endpoint to get a collection of changes that are pending for a build in TeamCity?
We have the build set to manual and it is triggered outside TeamCity and would like to show a bullet point list of commits that'd be in that build.
In the user interface you can see this under the "Pending Changes (X)" tab.
I can't find any examples of doing this and the closest I've found is:
http://<server>/httpAuth/app/rest/changes/buildType:<build type id>
This seems to return the last change though.
Anyone done this before?
I just found a working solution thanks to this question. I'll show it here in case other people are looking for a full solution :
You need to know the buildTypeId of the build on which you want to get the pending changes. In this case lets say buildTypeId=bt85
1
http://<server>/httpAuth/app/rest/buildTypes/id:bt85/builds/
// Get the last build from the XML returned.
// Lets say last build id = 14000
2
http://<server>/httpAuth/app/rest/changes?build=id:14000
// The newest change returned is the one you need.
// Lets say newest change id = 15000
3
http://<server>/httpAuth/app/rest/changes?buildType=id:bt85&sinceChange=15000
// You're now looking at the pending changes list of the buildType bt85
My eventual solution in a work around kind of way is to:
Find the latest change ID from my database of builds outside of TeamCity (I guess you could query the TeamCity API to find the last successful build and pull it from there)
Then call:
http://<server>/httpAuth/app/rest/changes?buildId=id:<build id>&sinceChange=id:<last change id>
Then fetch each individual change from that list.
A bit of a workaround but I couldn't see anyway otherwise to get the list of pending changes.