- Fix compatibility with
googledrive
version2.1.0
.googledrive
andgargle
packages changed underlying functions and arguments for managing Google api authentication. Nowtrackdown
is aligned with the changes. See Issue #57 #59 #62. - Add lifecycle badges. See Issue #52.
- Fix unwanted removed lines at download. See Issue #61
new feature open
by @maelle
- allow to open the created document in a browser
-
Trackdown now supports Quarto
-
Allow custom Client API credentials. Developed from initial input by @maelle in PR #38
- Review auth process for google APIs using trackdown_* functions (see trackdown_auth.R)
- When changing trackdown app oauth force googledrive to use the same app credentials
- Client APIs are checked in the following order:
- TRACKDOWN_APP environment variabel indicating the the path to the JSON file with the own app credentials
- Own app credentials specified via httr::oauth_app()
- Use internal default trackdown app credentials
Highlight citation tags and equations when using rich_text
Fix issue indented code. Now it is correctly recognized.
Update privacy policy Trackdown R Package client API required scopes.
Fix default gfile
name in render_file()
pull request #30 (by @mone27)
Introduce the rich_text
feature and uses its own API credentials (see Issue #28)
rich_text
. Upload rich documents to Google Docs where important text that should not be changed is automatically highlighted (e.g., placeholders hiding the code, header of the document, code chunks, and in-line code). See rich-text feature details.- API Credentials. Now,
trackdown
uses its own Goole API credentials (OAuth client ID and secret). See details on privacy policy atvignette("trackdown-privacy-policy")
and issue comment.
Corrige output message pull request #29 (by @chainsawriot)
Introduce the force
argument allowing users to skip confirm checks about overwriting documents (see Issue #27).
Fix issue encoding in Windows. Now trackdown does not assume "UTF-8"
encoding but it relies on "native.enc"
.
New features:
- Introduce (experimental) argument
rm_gcomments
indownload_file()
to automatically remove Google comments when downloading the file (See issue #25). - Introduce support for child
.Rmd
and.Rnw
files (documents without headers).
Argument hide_code = TRUE
can now be used regardless of whether the file contains header code and/or chunks or not. This fixed the issues #22 and #24.
Fix issue #21
Initial CRAN release
Minor changes to fix cran checks:
googledrive
dependency set to (> 1.0.1) andcli
(>= 3.0.0)- use relative path to specify
fixture
andvcr_files
folders in unit-tests
Following the release of googledrive
version 2.0.0 (link), on which trackdown
is based to interact with Google Drive, we updated the internal functions. In particular:
- Set googledrive (>= 2.0.0) in the
Imports
field of theDESCRIPTION
file. - Substitute
team_drive_\*()
deprecated functions andteam_drive =
deprecated arguments with the newshared_drive_*()
functions andshared_drive =
argument in all thegoogledrive
functions used internally bytrackdown
. - Remove
verbose =
deprecated argument from thegoogledrive
functions used internally bytrackdown
. Instead, the functiongoogledrive::local_drive_quiet()
is used. - Update unit-tests
Stable version after the full revision of the package previously named rmdrive
The workflow follows the same idea as before, but there are several new features and changes. The main ones are:
- File Supported: Both
.Rmd
and.Rnw
documents are supported - Hide Code: Code in the header of the document (YAML header or LaTeX preamble) and code chunks can be removed from the document when uploading to Google Drive and will be automatically restored during download. This prevents collaborators from inadvertently making changes to the code which might corrupt the file and allows them to focus on the narrative text.
- Upload Output: The actual output document (i.e., the rendered file) can be uploaded to Google Drive in conjunction with the
.Rmd
(or.Rnw
) document. This helps collaborators to evaluate the overall layout (including figures and tables) and allows them to add comments to suggest and discuss changes. - API Speed: Now the upload to and download from Google Drive is faster.
- Documentation: Rich e detailed documentation is available at https://ekothe.github.io/trackdown/