Comments (8)
Hi @richardjtelford,
I did not know about Quarto, AMAZING! Thank you for pointing out this incredible initiative.
I have immediately added support to quarto documents. To my understanding, they have the same exact syntax as r-markdown documents, so all trackdown features (hide-code, rich-text) should already work properly.
However, I am new to Quarto so for the moment I have created a separate new branch quarto
with the required changes. Before merging into the master
, I prefer to properly check how Quarto works and add unit-test dedicated to Quarto.
You can already install the quarto
version running,
remotes::install_github("ClaudioZandonella/trackdown", ref = "quarto")
Regarding google drive authentication, the story is a little bit longer 😅.
Trackdown now uses its own app API credentials, but the app still needs to be verified by google. The process, unfortunately, is going slowly and actually, I am afraid that the app will not be accepted by google.
There are no security issues, trackdown works exactly the same as other r-packages (e.g., gooogledrive), so you can use trackdown without problems. The issue is that there are many requirements (e.g., display logo google and google drive) that need to be satisfied. It will be no problem on a GUI app, but impossible to do on the command line R interface.
Anyway, you can use trackdown on desktop application (Rstudio, R console) and authentication displays a warning message as discussed in #28 (comment). You need to accept and select all options.
Note that this does not work for oob (out-of-band) authentication done when working on browser for example when using R studio server, for example. Google verification is required for this.
You would need to create your own personal token for google drive API, but it is a quite long-complex process. I have been trying to solve this whole issue but I am still working on it.
Please let me know which specific google drive authentication issue you found.
from trackdown.
I took a qmd file for a round trip through google drive and everything seemed to work fine. Many thanks
I think the authentication problem may be because I had not clicked on the right button after the warning screens, I was getting a 403 error. I ran googledrive::drive_auth() and was able to go through the process again and everything was happy.
With trackdown::dowload_file() I ran into a curl error
gnutls_handshake() failed: An unexpected TLS packet was received.
This resolved itself after a few attempts so not sure what went wrong there
from trackdown.
NEWS.md
mentions Quarto is supported as of version 1.4.0?
from trackdown.
Quarto is now supported🎉
from trackdown.
Hi! I am having trouble using trackdown with quarto. My authentication worked easily, but when I run trackdown::upload_file(file = "manuscript.qmd", gfile = "manuscript")
, I get the error "Error: manuscript.qmd not supported file type (only .Rmd or .Rnw)".
Is quarto no longer supported, or am I doing something wrong?
Edited to add: I initially tried downloading the quarto dev branch as described above but it was no longer available, and since you later said that quarto was supported, I figured I'd go ahead and try it.
from trackdown.
Quarto is supported by the version of trackdown on github.
You can install the it with
remotes::install_github("claudiozandonella/trackdown", build_vignettes = TRUE)
from trackdown.
Thanks @richardjtelford! I downloaded the github version. Unfortunately, Google is now blocking me from authenticating the app. It says "This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access." I tried toggling on "allow less secure apps," but to no avail.
It's possible this is a feature of my school's google accounts, but I'm going to re-try and make sure that this authentication trouble is indeed a difference between the Github and non-Github versions.
from trackdown.
Apparently trackdown has reached the maximum number of users on its current credential (see https://claudiozandonella.github.io/trackdown/).
It is possible to set up your own google configuration. I've done this. It wasn't the most fun way to spend time, but I got it working - see https://claudiozandonella.github.io/trackdown/articles/oauth-client-configuration.html for instructions
from trackdown.
Related Issues (20)
- Feature request: Use version "tagging" on Google Docs HOT 1
- add R-universe installation instructions to README?
- Add/improve diagram to README
- use Markdown roxygen2 HOT 6
- use lifecycle to mark experimental arguments? HOT 1
- OAuth App Config. new msg from google HOT 4
- Small typo: donwloaded instead of downloaded HOT 1
- Warning: The `app` argument of `drive_auth_configure()` is deprecated as of googledrive 2.1.0. HOT 2
- Authentication Issues HOT 9
- Automate setup of access HOT 1
- Test roundtrip HOT 2
- Installation from Github Fails HOT 10
- Tracker V1.5.0 with GoogleDrive 2.0.0 refuses .qmd files HOT 4
- rename the default branch to "main"? HOT 2
- [BUG] trackdown wrongly highlights text in between inline chunks that have a `$` in them
- feature request
- [BUG] This app is blocked HOT 2
- Render code in google docs?
- Unable to download through github HOT 1
- `rm_gcomments = TRUE` causes error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trackdown.